ContourNet icon indicating copy to clipboard operation
ContourNet copied to clipboard

TypeError: 'NoneType' object is not subscriptable

Open zaghdoud2019 opened this issue 3 years ago • 2 comments

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

zaghdoud2019 avatar Nov 16 '21 15:11 zaghdoud2019

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

wangyuxin87 avatar Nov 19 '21 08:11 wangyuxin87

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

Yrefrain avatar Mar 09 '22 08:03 Yrefrain