AstarLight / Lets_OCR

A repository for OCR, which inlcudes some classical OCR algorithms Pytorch implementation such as CTPN, EAST and CRNN.
MIT License
656 stars 327 forks source link

warning: img ./train_data/data_ready/MSRA_TD500/train_im/img_1756.jpg raise error! #76

Open stephonjou opened 5 years ago

stephonjou commented 5 years ago

大神您好,请问ctpn训练data_ready时出现这个问题,怎么解决?

ShangLe0607 commented 5 years ago

@stephonjou 你好,能不能指教一下,如果想识别自己的图片,ctpn训练的时候,那个data_ready应该怎么生成呢

stephonjou commented 5 years ago

@ShangLe0607 我也在问同样的问题?

zty8599 commented 4 years ago

请问您解决了吗,我也遇到这个问题了

ChuoQi commented 4 years ago

我也遇到了warning这个问题,请问解决了嘛?

knavezl commented 3 years ago

把train.py的 except : print("warning: img %s raise error!" % im) 改成 except Exception as e: print('Exception:', e) print("warning: img %s raise error!" % im) 就能看到错误在哪里了

liangtao123 commented 3 years ago

我也遇到了warning这个问题,请问解决了嘛?

很简单的问题,在tag_achor.py下面修改一下把cal_IOU修改为cal_IOU2即可