Git Product home page Git Product logo

Comments (2)

georgesterpu avatar georgesterpu commented on July 27, 2024

Hello @rlawoqls7
I am not sure if using the CTC loss on the decoder outputs could work well.

We previously used the CTC loss with the encoder, complementing the decoder's cross-entropy loss, as on this diagram. It was a different task though, lipreading.

To add the CTC loss, you could first project the encoder outputs to a dimension equal to the vocabulary size plus one, and call tf.nn.ctc_loss with the projected encoder outputs as your inputs. Additionally, you may have to convert the labels tensor from the current format (a sequence of integers) to the tf.SparseTensor representation.

from avsr-tf1.

georgesterpu avatar georgesterpu commented on July 27, 2024

Please let us know in case you are still facing difficulties with the implementation.
Christian @saamc may be able to assist, as he has recently explored some ideas based on the CTC loss.

from avsr-tf1.

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.