Comments (3)
Were you able to solve this? I'm getting the same issue.
from easyocr.
As far as I can understand, after looking at the times on these files, there are a few iter_xxxx.pth created BEFORE best_accuracy.pth and best_norm_ED.pth. I don't fully understand everything, but I suggest you try using one of these 2 files (rename them to yourmodel.pth) the follow the directions at the bottom of https://github.com/JaidedAI/EasyOCR/blob/master/custom_model.md
The later iter_xxxx.pth files (the ones created after best_accuracy.pth and best_norm_ED.pth) can also be used, as they are later iterations of the model creation, but not guaranteed to work better. It's possible that models from later iterations, despite having gone through more training, could start overfitting to the training data, leading to reduced performance on unseen data. The models saved earlier (best_accuracy.pth and best_norm_ED.pth) might have struck a better balance between learning and generalizing.
It's easy to test the various pth files once you have everything set up. Hope that helps..
The documentation really needs to be more clear.
from easyocr.
Thnks a lot Kip!
from easyocr.
Related Issues (20)
- cv2.error: OpenCV(4.5.3) opencv/modules/core/src/alloc.cpp:73: error: (-4:Insufficient memory) Failed to allocate 113641358175 bytes in function 'OutOfMemoryError'
- RuntimeError: CUDA error: the launch timed out and was terminated HOT 1
- EasyOCR Torch Attribute problem
- The punctuation mark recognition is not accurate
- Easyocr model not extract Urdu text from images ver well why ?
- EasyOCR model not extract urdu text 100% correct ?
- How to use EasyOCR with Node.js?
- cannot import name '_accumulate' from 'torch._utils' HOT 2
- Certain broken images result in instant memory leak
- Can you run EasyOCR using only text detection without running text recognition (dbnet18) HOT 1
- Rely on a common/proven/maintained models retrieval logic
- PIL.Image.ANTIALIAS has been replaced by LANCZOS in Pillow v10.0.0, so revision is needed, thanks
- Error when reading 0 and 1 with Seven Segments Font
- while running custom easyocr,This error is occured ,How to fix these
- CRAFT model Fine Tunning via custom data no improvements and {'precision': 0, 'recall': 0.0, 'hmean': 0} on validation data
- Error on Loading "Tamil" language HOT 1
- I can't solve the problem, it keeps giving me an OSError every time it's raised.
- Training Model Struggling with Character Recognition in Custom Sports Fonts HOT 5
- Not working on Windows
- Recognizing custom model result is bad compared to text predicted during training for Greek Language
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easyocr.