Closed mikegerber closed 4 years ago
I suspect the problem to be here: https://github.com/Calamari-OCR/calamari/blob/master/calamari_ocr/ocr/backends/tensorflow_backend/tensorflow_model.py#L320 – Calculating of the callback parameter steps_per_epoch
is based on the validation set and I think that should be just the same value as 2 lines above. But please review for yourself, I might not understand the code correctly.
You are absolutely right, I already fixed this 5 days ago but forgot to push it (483740277324b8f598ab3c869f2978ebc9e6ce2d).
I am using Calamari 1.0.1:
I would expect early stopping to be checked every 0.25 epochs, however it actually happens roughly every 0.05 epochs now. This was not the case with Calamari 0.3.5.
Log excerpt: