githubharald / SimpleHTR

Handwritten Text Recognition (HTR) system implemented with TensorFlow.
https://towardsdatascience.com/2326a3487cd5
MIT License
1.99k stars 893 forks source link

Migrated from tensorflow v1 to tensorflow v2 and updated requirements. #91

Closed n1snt closed 3 years ago

githubharald commented 3 years ago

Hi,

thanks for your contribution, making the code compatible with TF2 is a good idea. However, the script (python main.py ) crashes with your modifications because the method inferBatch must return a tuple of length 2 (second value is the probability).

Please correct this, then I will merge your changes.

Best Harald

n1snt commented 3 years ago

I have fixed the issue which was causing the above mentioned problem.

githubharald commented 3 years ago

merged it. thank you.