Closed zhongjiansheng closed 4 years ago
File "/home/stu/user/jszhong/Research/DABNet/dataset/cityscapes.py", line 64, in getitem label = cv2.resize(label, None, fx=f_scale, fy=f_scale, interpolation=cv2.INTER_NEAREST) cv2.error: OpenCV(4.1.2) /io/opencv/modules/imgproc/src/resize.cpp:3720: error: (-215:Assertion failed) !ssize.empty() in function 'resize'
Duplicate of #28 , please refer to this issus
File "/home/stu/user/jszhong/Research/DABNet/dataset/cityscapes.py", line 64, in getitem label = cv2.resize(label, None, fx=f_scale, fy=f_scale, interpolation=cv2.INTER_NEAREST) cv2.error: OpenCV(4.1.2) /io/opencv/modules/imgproc/src/resize.cpp:3720: error: (-215:Assertion failed) !ssize.empty() in function 'resize'