EasyOCR
EasyOCR copied to clipboard
Error while training detection (craft)
Hi, i am trying to train craft detection model, but ended in the below mentioned error, after completion of 1000 ittertations any suggestions would help a lot, thanks.
c:\users\user\pycharmprojects\easy_ocr_new\easyocr\trainer\craft\data\pseudo_label\make_charbox.py(36)crop_image_by_bbox()
35
---> 36 one_char_ratio = min(h, w) / (max(h, w) / len(word))
37
ipdb> one_char_ratio = min(h, w) / (max(h, w) / len(word))
*** ZeroDivisionError: float division by zero