wangyuxin87 / ContourNet

A PyTorch implementation of "ContourNet: Taking a Further Step toward Accurate Arbitrary-shaped Scene Text Detection" (CVPR2020)
Other
227 stars 46 forks source link

TypeError: 'NoneType' object is not subscriptable #36

Open zaghdoud2019 opened 2 years ago

zaghdoud2019 commented 2 years ago

what can i do for this mistake: File "ContourNet/maskrcnn_benchmark/data/datasets/evaluation/word/word_eval.py", line 470, in prepare_for_boundary_segmentation im_write = cv2.imread('datasets/ic15/ic15_test_images' + im_w_name)[:, :, ::-1] TypeError: 'NoneType' object is not subscriptable

wangyuxin87 commented 2 years ago

Please check the path of image. Maybe the absolute path will work.

Yrefrain commented 2 years ago

Change the path to ''datasets/ic15/ic15_test_images/' + im_w_name'