Comments (3)
Probably this encoding fix was only necessary for Python 2.7 (which I still use). Thank you!
from ochre.
The problem probably has to do with the fact that edlib expects a string instead of bytes. What version of Python are you using (edlib works best under Python 3). Also, ochre has the assumption that all input files are utf-8 encoded (this should be added to the documentation).
I thought you were interested in calculating performance, and not so much these experimental features of ochre.
Anyway, thank you for reporting the error. You are right that it should be changed :)
from ochre.
I'm using python 3.6.
I've fixed it by commenting the following lines:
t_output_str = output_str.encode('ASCII', 'replace')
t_input_str = input_str.encode('ASCII', 'replace')
Well, I found this project interesting and i'm testing all of the functionality :)
from ochre.
Related Issues (17)
- Make separate commands for the diffrent neural network architectures
- Error during preprocessing HOT 2
- About OCR_aligned and Lost or missing text HOT 3
- Permanent failure with VU recepie HOT 2
- Additional OCR Post correction datasets HOT 2
- Pretrained models HOT 1
- print error - ICDAR2017_shared_task_workflows.ipynb HOT 3
- /usr/bin/python: dateutil 2.5.0 is the minimum required version HOT 1
- Issues in testing HOT 3
- Is test and training data format different. HOT 3
- Update workflows for extracting datasets to accept zipfile as input
- Working without aligned file HOT 2
- Using ochre to evaluate synthetic ocr post processing dataset generation HOT 3
- All chars assumption HOT 2
- Unsatisfying results HOT 2
- Where to start? HOT 1
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 ochre.