Comments (5)
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.
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.
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.
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.
Thanks finally it worked for me thanks for the help.
from calamari.
Related Issues (20)
- Error when convert old trained model to latest version model HOT 1
- Got exception during training HOT 4
- calamari-ocr 2.2.2 on ubuntu 22.04 partial success, difficulty with GPU software
- Issue while using the model and json HOT 8
- setup.py on Ubuntu20.04: tensorflow is wrong version HOT 7
- Model very sensitive on PNG input HOT 3
- calamari/1.0: hold Tensorflow and Protobuf dependencies HOT 6
- What is the accuracy on Chinese/Japanese text? HOT 2
- Attention layer
- "No training configuration" for code that should not have one HOT 5
- Downgrading of models is not supported (5 to 2). Please upgrade your Calamari instance (currently installed: 1.0.6) HOT 4
- UnknownArgumentError HOT 7
- Release confusion HOT 4
- calmari/1.0: Fix 1.0.x models for Python 3.11 HOT 11
- allow SpatialDropout for Conv layers
- use annotated baseline instead of CenterNormalizer.measure
- network topology at CNN-RNN interface
- please release v1.0.7 off calamari/1.0 HOT 3
- ValueError: A KerasTensor cannot be used as input to a TensorFlow function. HOT 11
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 calamari.