Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsatisfying results #7

Open
omrishsu opened this issue Mar 25, 2018 · 2 comments
Open

Unsatisfying results #7

omrishsu opened this issue Mar 25, 2018 · 2 comments

Comments

@omrishsu
Copy link

Hi,
I'm trying to test ochre on the ICDAR 2017 dataset (English only). I'm not using the workflow but operating ochre myself:

  1. I took all the English monographs and periodical and clean it from special chars.
  2. I split the files into 2 folders (ocr and gs) and needed.
  3. I've created alignment files using Hirschberg's algorithm and write JSON files.
  4. I've called: create_data_division.py
  5. I've called: lstm_synced.py (bilstm, lower=false)
  6. then on each file I've called: lstm_synced_correct_ocr.py

And when using ocrevalUAtion I've calculated the CER and WER and got unsatisfying results. in most cases the results as less than the ocr itself.

Am I doing something wrong?
Did you get better results?

@jvdzwaan
Copy link
Collaborator

I had similar results (although I only trained for a single iteration, it was clear performance was not as good as for the other data I tried). My first guess was the ICDAR 2017 data was not as clean as this other data, and this is why I started working on analyzing what kinds of OCR errors occur in different datasets and what kinds of errors can and cannot be fixed by training lstms. However, due to other obligations, I have not finished this work. I plan to work on it in the near future.

@Mohit-soni-bhagwan
Copy link

Hi,
I'm trying to test ochre on the ICDAR 2017 dataset (English only). I'm not using the workflow but operating ochre myself:

  1. I took all the English monographs and periodical and clean it from special chars.
  2. I split the files into 2 folders (ocr and gs) and needed.
  3. I've created alignment files using Hirschberg's algorithm and write JSON files.
  4. I've called: create_data_division.py
  5. I've called: lstm_synced.py (bilstm, lower=false)
  6. then on each file I've called: lstm_synced_correct_ocr.py

And when using ocrevalUAtion I've calculated the CER and WER and got unsatisfying results. in most cases the results as less than the ocr itself.

Am I doing something wrong?
Did you get better results?

Can you tell how did you ran it without workflow, it would be very helpful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants