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

module 'lib.nms' has no attribute 'cpu_nms' #85

Open Lie-huo opened 4 years ago

Lie-huo commented 4 years ago

编译后遇到这样的问题 Traceback (most recent call last): File "infer.py", line 356, in infer_one(url, net) File "infer.py", line 241, in infer_one nms_result = lib.nms.cpu_nms(for_nms, NMS_THRESH) AttributeError: module 'lib.nms' has no attribute 'cpu_nms'

maggie-c1523 commented 3 years ago

你编译有成功嘛?在Lib底下有生成nms.so的文件吗?