clovaai / deep-text-recognition-benchmark

Text recognition (optical character recognition) with deep learning methods, ICCV 2019
Apache License 2.0
3.72k stars 1.09k forks source link

How do we make the files required for running our custom model? #349

Open sameearif88 opened 2 years ago

sameearif88 commented 2 years ago

The EasyOCR ReadME states that the following three files are required to use a custom model: custom_model.pth, custom_model.yaml, and custom_model.py.

How are we supposed to create the custom_model.yaml and custom_model.py files?

Are we supposed to copy functions / classes from modules.py? If so, TPS and Attention are not present in that file, so where can we find these?

Thank you

SardarArslan commented 1 year ago

Did you find the solution?

brodwix commented 1 year ago

@sameearif88 You can get these files from this link https://github.com/JaidedAI/EasyOCR/blob/master/custom_model.md just download "custom_example.zip" and follow the instructions.