Open sameearif88 opened 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
Did you find the solution?
@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.
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