Render Error : opencv can not read the input image
Ray-tju opened this issue · 1 comments
Ray-tju commented
Dear hongsukchoi,
File "evaluate.py", line 261, in
orig_height, orig_width = img.shape[:2]
AttributeError: 'NoneType' object has no attribute 'shape'
Thank you a lot.
hongsukchoi commented
Hi @leilimaster,
It obviously seems that cv2.imread()
has not read an image from the image path.
I recommend you to check whether the image is located in the image path.