Skip to content

Connectionist Temporal Classification example #32

Description

@trungnt13

I found these lines in array_grad.py

# Edit Distance has no gradient (but can be used to eval seq2seq or CTC).
ops.NoGradient("EditDistance")

Is there any implementation of CTC cost function in tensorflow, or any example concern CTC ?

Activity

  1. ebrevdo commented on Nov 9, 2015

    @ebrevdo
    Contributor

    Thank you for inquiring. We are working on an implementation. It will be released if/when we are happy with its performance, API, and documentation.

  2. mschonwe commented on Nov 10, 2015

    @mschonwe

    Here's another request for a CTC layer / objective. I'm working on speech modeling, and CTC is pretty much essential to this.

  3. kdavis-mozilla commented on Nov 10, 2015

    @kdavis-mozilla
    Contributor

    Here here, I'm working on speech modeling too. A CTC implementation will help my effort greatly.

  4. ebrevdo commented on Dec 8, 2015

    @ebrevdo
    Contributor

    Just an update on timelines: we're getting closer but it won't happen before January sometime at the earliest.

  5. ekelsen commented on Jan 14, 2016

    @ekelsen
    Contributor

    Baidu has just released a fast open source implementation of CTC for CPUs and GPUs.
    https://github.com/baidu-research/warp-ctc

    It has a very simple C interface and it should hopefully be fairly easy to create Tensorflow bindings (we're happy to help). The release includes Torch bindings.

  6. tjacobs commented on Jan 15, 2016

    @tjacobs

    China is out silicon valleying silicon valley!

  7. wqingzex commented on Jan 15, 2016

    @wqingzex

    what's the timeline now @ebrevdo

  8. ebrevdo commented on Jan 15, 2016

    @ebrevdo
    Contributor

    We're closer. Still cleaning up code for release.
    On Jan 15, 2016 6:41 AM, "qingzew" [email protected] wrote:

    what's the timeline now @ebrevdo https://github.com/ebrevdo

    —
    Reply to this email directly or view it on GitHub
    #32 (comment)
    .

  9. drdozer commented on Jan 22, 2016

    @drdozer

    Hi Ebrevdo,

    A CTC implementation would be really useful to me for some genome analysis tasks that are handled poorly by HMM approaches.

    Matthew

  10. raindeer commented on Feb 3, 2016

    @raindeer

    @ebrevdo any progress? :)

  11. bmilde commented on Feb 22, 2016

    @bmilde

    Also highly interested in this and I hope that you can release your implementation soon! @ebrevdo

  12. ebrevdo commented on Feb 24, 2016

    @ebrevdo
    Contributor

    Coming very soon (I hope).
    On Feb 22, 2016 5:34 AM, "bmilde" [email protected] wrote:

    Also highly interested in this and I hope that you can release your
    implementation soon! @ebrevdo https://github.com/ebrevdo

    —
    Reply to this email directly or view it on GitHub
    #32 (comment)
    .

  13. ebrevdo commented on Feb 26, 2016

    @ebrevdo
    Contributor

    The CTC loss and two decoders (greedy & beam search for CTC) should be in the next push.

  14. ebrevdo commented on Feb 26, 2016

    @ebrevdo
    Contributor

    (it'll be accessible via tf.contrib.ctc.ctc_loss etc.)

  15. 14 remaining items

  16. added 3 commits that reference this issue on Apr 9, 2025
  17. added 4 commits that reference this issue on Apr 24, 2025
  18. added 2 commits that reference this issue on Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions