/attention-ocr-toy-example

Primary LanguagePythonApache License 2.0Apache-2.0

Attention-ocr-toy-example

The goal of this project is to bring me to try and experiment with the seq2seq neural network architecture with attention mechanism and latest dynamic decode API of tensorflow. This is done by solving a toy example about optical character recognition. For simplicity purposes, vocabulary only include digits. But you can hack more bigger vocabulary by modify the code with little effort.

Update 2017-12-23

Fixed a bug

Update 2017-12-14

Add Joint CTC Attention

Tools

tensorflow 1.4

opencv

python3.6

Training processing

Reference

Attention-OCR

tf_examples