Git Product home page Git Product logo

Comments (4)

CharlesSL avatar CharlesSL commented on May 28, 2024 1

感谢解惑,这个问题我暂时还没遇到,不过用tensorflow处理控制流变量的处理上倒是踩过很多坑,我采样了一些transducer的帧级别输出,以及辅助训练的ctc_dense网络的帧级输出,发现它们对齐后的误差并不大,我在考虑工程化方案中,分离encoder和decoder,将输出结果根据精度要求,采用transducer或ctc_dense+ctc_decode做infer,后者速度会提高很多。同时encoder在分离后可以并行处理,与不能并行的transducer分开处理,更适合生产环境

from tensorflowasr.

Z-yq avatar Z-yq commented on May 28, 2024

感谢指出,能看出这里有重复计算都是高手,给你点个赞!

这个地方这么写是为了配合 TF C 2.3.0版本的模型加载,因为不这样写C版本的推理会有问题,详见问题issue:

tensorflow/tensorflow#44428
至于issue中回复的方法有没有work我没有尝试过,好像是有的work有的不work

transducer_wrap_python.py中有正确的推理方法 XD

from tensorflowasr.

Z-yq avatar Z-yq commented on May 28, 2024

感谢分享嗷

今日更新的streaming结构是encoder和decoder分开了,其infer的速度还是非常可观的。

from tensorflowasr.

CharlesSL avatar CharlesSL commented on May 28, 2024

好的,后面再去研究一下,从项目里学到很多,感谢

from tensorflowasr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.