Coder Social home page Coder Social logo

rnn_ctc's Introduction

Connectionist Temporal Classification(CTC)

Files

configs.py(参数),data_make.py(产生数据),data_utils.py(处理数据),model.py(BiLSTM-CTC 模型),predict.py(测试)

Train Data

Test Result


CTC_LOSS

ctc_loss主要解决的序列模型输出对齐问题。在语音识别、文字识别中,常会出现序列模型(RNN)输出长度与标签长度不一致问题,而CTC可以解决这一问题。其核心是在标签中添加'blank'字符,改变原始的标签序列,运用动态规划算法算法寻找最佳路径。路径选择结果构成 ctc_loss。
通常情况下,RNN可以实现 N-N,N-1,0/1-N,但很难实现N-M(seq2seq用两个RNN实现了自适应长度)。带有ctc的RNN可以实现N-M(一般N>M),这使得RNN的应用场景更加广泛。

参考

[1] Connectionist Temporal Classification : Labelling Unsegmented Sequence Data with Recurrent Neural Networks.
[2] 博客1
[3] 博客2
[4] 参考代码

rnn_ctc's People

Contributors

sunsapience avatar

Watchers

 avatar

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.