When I ran the detect.py, the error issued as
` img_w, img_h = img.shape[1], img.shape[0]
AttributeError: 'NoneType' object has no attribute 'shape'` in util.py
I think it might be the question of loading img, but when I debug darknet.py, I could get the result of img.
Anyone could help me solve the problem? Thanks a lot.
When I ran the detect.py, the error issued as
` img_w, img_h = img.shape[1], img.shape[0]
AttributeError: 'NoneType' object has no attribute 'shape'` in util.py I think it might be the question of loading img, but when I debug darknet.py, I could get the result of img.
Anyone could help me solve the problem? Thanks a lot.