Tfjs: Will you support the CTC loss function?

Created on 26 Oct 2018  路  8Comments  路  Source: tensorflow/tfjs

Is the CTC loss function already supported by tfjs-converte ?

converter core awaiting response

Most helpful comment

I need to train Speech Recognition and CTC work as loss function.

I hope to see this implemented in Tensorflow.js

All 8 comments

Hi, are you referring to this one: https://www.tensorflow.org/api_docs/python/tf/nn/ctc_loss ? We first need to add it to core. Happy to take contributions, but since we are prioritizing by use-cases, can you share your use-case and model that needs this loss?

Thanks!

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!

Hi, I want to train speech recognition feature with tensorflow.js. and CTC loss function is key for that.
I hope there are some more people interested in CTC loss...

I need to train Speech Recognition and CTC work as loss function.

I hope to see this implemented in Tensorflow.js

Hi everyone, this is a great issue for an external contribution. I'm happy to provide guidance.

@dsmilkov i would like to add support for ctc in tfjs, but i am clueless and do not know where to start.

I wonder if c++ non parallel implementation should be compilable to wasm and be usable from tfjs, rather than writing a js implementation. Nonetheless, i dont mind writing an implementation in js but not sure how to go on about that.

Thanks

And I need ctc loss for OCR. I doubt I can help with that as I don't really understand the https://www.tensorflow.org/api_docs/python/tf/nn/ctc_loss's source code nor can I implement it by the original paper, unfortunately.

Are there any progress on this?

Was this page helpful?
0 / 5 - 0 ratings