Skip to content

ideaplexus/ctc-ocr-pytorch

 
 

Repository files navigation

ctc-ocr-pytorch

This repo is based on pytorch-ocr and traines a Quantized as well as Full Precision BiLSTM with CTCLoss on squential mnist for OCR using pytorch. Visit the original repo for installation and other details. This is to be used with my LSTM-PYNQ fork.

Data

Quantized Training

Partially Quantized

python main.py -p q_params/p_W4A4.json

Fully Quantized Fine Tuning

python main.py -p q_params/f_W4A4.json --init_bn_fc_fusion --resume

Evaluate

python main.py --eval

Export Model

python main.py --export

Export test image

python main.py --export_image

Speacial Thanks to

About

BiLSTM+CTC on squential mnist for OCR

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%