OCR-D / ocrd_anybaseocr

DFKI Layout Detection for OCR-D
Apache License 2.0
48 stars 12 forks source link

tiseg will not work with default model #45

Closed VolkerHartmann closed 4 years ago

VolkerHartmann commented 4 years ago

I used this model: https://cloud.dfki.de/owncloud/index.php/s/Qxm8baqq9Zf8brQ/download and got the following error: ValueError: You are trying to load a weight file containing 99 layers into a model with 95 layers.

mahmed1995 commented 4 years ago

I ran the code again, its working without any errors on my side. Could you kindly check if you have latest code?

VolkerHartmann commented 4 years ago

You are right. I used the version from Feb 18. Now it works with one warning: UserWarning: No training configuration found in save file: the model was not compiled. Compile it manually. warnings.warn('No training configuration found in save file: '