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
File "D:\cvrd\PaddleOCR2Pytorch\pytorchocr\postprocess\db_postprocess.py", line 127, in box_score_fast
xmin = np.clip(np.floor(box[:, 0].min()).astype(np.int), 0, w - 1)
原因是:
numpy.int was deprecated in NumPy 1.20 and was removed in NumPy 1.24.
You can change it to numpy.int_, or just int. 原文出处
处理方式:将127行开始的4个np.int替换成int就行了
The text was updated successfully, but these errors were encountered:
File "D:\cvrd\PaddleOCR2Pytorch\pytorchocr\postprocess\db_postprocess.py", line 127, in box_score_fast
xmin = np.clip(np.floor(box[:, 0].min()).astype(np.int), 0, w - 1)
原因是:
numpy.int was deprecated in NumPy 1.20 and was removed in NumPy 1.24.
You can change it to numpy.int_, or just int.
原文出处
处理方式:将127行开始的4个np.int替换成int就行了
The text was updated successfully, but these errors were encountered: