emedvedev / attention-ocr

A Tensorflow model for text recognition (CNN + seq2seq with visual attention) available as a Python package and compatible with Google Cloud ML Engine.
MIT License
1.08k stars 256 forks source link

Converting to frozen graph #168

Closed themechanicalcoder closed 4 years ago

themechanicalcoder commented 4 years ago

I have downloaded and extracted the model from the original GitHub repository. Please explain how to convert it to a frozen graph format. Here is how the extracted directory looks like. image What are the changes that I need to make in the export code code to convert to frozen-graph?.

maxpaynestory commented 4 years ago

create a new folder exported-model

and run

aocr export --format=frozengraph ./exported-model