Giter Site home page Giter Site logo

Comments (3)

adwaitt-pandya avatar adwaitt-pandya commented on May 23, 2024

Were you able to solve this? I'm getting the same issue.

from easyocr.

kiprock avatar kiprock commented on May 23, 2024

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.

adwaitt-pandya avatar adwaitt-pandya commented on May 23, 2024

Thnks a lot Kip!

from easyocr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.