You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, the code provided to finetune the recognizer is not working anymore. When I open your example keras_ocr_born_digital_public.ipynb on Colab and run it, the fit_generator method crashes with the following message:
Hi, the code provided to finetune the recognizer is not working anymore. When I open your example keras_ocr_born_digital_public.ipynb on Colab and run it, the fit_generator method crashes with the following message:
Epoch 1/1000
ValueError Traceback (most recent call last)
in <cell line: 1>()
----> 1 recognizer.training_model.fit(
2 final_train_gen(training_gen),
3 batch_size=1,
4 steps_per_epoch=training_steps,
5 validation_steps=validation_steps,
1 frames
/usr/local/lib/python3.10/dist-packages/keras/engine/training.py in tf__train_function(iterator)
13 try:
14 do_return = True
---> 15 retval_ = ag__.converted_call(ag__.ld(step_function), (ag__.ld(self), ag__.ld(iterator)), None, fscope)
16 except:
17 do_return = False
ValueError: in user code:
The text was updated successfully, but these errors were encountered: