Open isilayy opened 1 year ago
lr_img = cv2.resize(hr_img, (shape[1] / scale, shape[0] / scale)) cv2.error: OpenCV(4.8.0) :-1: error: (-5:Bad argument) in function 'resize'
Overload resolution failed: Can't parse 'dsize'. Sequence item with index 0 has a wrong type
Overload resolution failed:
what is the solution for this error?
lr_img = cv2.resize(hr_img, (shape[1] / scale, shape[0] / scale)) cv2.error: OpenCV(4.8.0) :-1: error: (-5:Bad argument) in function 'resize'
what is the solution for this error?