deep-text-recognition-benchmark icon indicating copy to clipboard operation
deep-text-recognition-benchmark copied to clipboard

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

Open sameearif88 opened this issue 2 years ago • 2 comments

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

sameearif88 avatar Jun 20 '22 11:06 sameearif88

Did you find the solution?

SardarArslan avatar Sep 21 '22 13:09 SardarArslan

@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.

brodwix avatar Sep 26 '22 05:09 brodwix