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
1条答案
按热度按时间zlwx9yxi1#
你遇到了这个错误问题吗?我也遇到了相同的问题。