MaokeAI / SRCNN-keras

94 stars 51 forks source link

Can't parse 'dsize'. Sequence item with index 0 has a wrong type #11

Open isilayy opened 1 year ago

isilayy commented 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

what is the solution for this error?