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
EOF read where object expected
Unable to Load Checkpoint.
Traceback (most recent call last):
File "C:\Handwritten_OCR\Easter2-main\Easter2-main\src\predict_line.py", line 72, in <module>
print(infer_obj.predict(args.path)) ## change the image path with the file path you want
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Handwritten_OCR\Easter2-main\Easter2-main\src\predict_line.py", line 57, in predict
output = self.model.predict(img)
^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'predict'
I would appreciate if anyone can help.
The text was updated successfully, but these errors were encountered:
I tried running predict_line.py on command prompt
python predict_line.py --path C:/Handwritten_OCR/HTRPipeline-master/HTRPipeline-master/data1/eng_AF_004.jpg
but I am getting this error
I would appreciate if anyone can help.
The text was updated successfully, but these errors were encountered: