Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 352 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 352 Bytes

OCR-transformer

CNN + transformer model

Using colab

Preferences

Edit it hparams.py

Put the training images files in train/images/

Put the training text files in train/words/

Training

Run python ocr.py -r t

Prediction

Run python ocr.py