You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You get this error because image have problem. Please check a path to your image. In Windows,character like "/" must be convert to "//". Ex: "./DB/train/" => ".//DB//train//".
img = cv2.resize(img,(self.img_w, self.img_h),None)
cv2.error: OpenCV(3.4.4) /io/opencv/modules/imgproc/src/resize.cpp:3784: error: (-215:Assertion failed) !ssize.empty() in function 'resize'
I keep getting the above error inspite of resizing my images to 128x64 and I am not able to train the model because of this.
The text was updated successfully, but these errors were encountered: