Coder Social home page Coder Social logo

Comments (5)

andbue avatar andbue commented on August 17, 2024

It seems you're using an experimental version, the default calamari saves its models as .ckpt.json and .ckpt.h5. Please have a look at the docs (https://calamari-ocr.readthedocs.io/en/latest/doc.command-line-usage.html#calamari-predict) and try providing the /path/to/the/model/without/pb/ending/model.ckpt!

from calamari.

rajban94 avatar rajban94 commented on August 17, 2024

Yes i was using an experimental version but now i am using .ckpt.h5 and .ckpt.json but i don't want to use (https://calamari-ocr.readthedocs.io/en/latest/doc.command-line-usage.html#calamari-predict)
Is there any way to predict the data and instead of writting it in the .txt file it will show as a string i have already tried the predict_raw from the documentation. If i will get the code that will be helpful.

from calamari.

andbue avatar andbue commented on August 17, 2024

You can find some documentation for the Predictor object in the docs (https://calamari-ocr.readthedocs.io/en/latest/doc.predicting.html#python-api) and also, as mentioned there, in https://github.com/Calamari-OCR/calamari/blob/master/calamari_ocr/test/test_prediction.py.

from calamari.

rajban94 avatar rajban94 commented on August 17, 2024

The first link already i have tried but getting error for tfaip loggings broken pipeline. I will test the second approach and will let you know. Thanks for your help.

from calamari.

rajban94 avatar rajban94 commented on August 17, 2024

Thanks finally it worked for me thanks for the help.

from calamari.

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.