laura-wang / video-pace

code for our ECCV-2020 paper: Self-supervised Video Representation Learning by Pace Prediction
98 stars 12 forks source link

error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize' #14

Closed loovi7 closed 3 years ago

loovi7 commented 3 years ago

I got the error like this cv2.error: OpenCV(4.4.0) C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-6sxsq0tp\opencv\modules\imgproc\src\resize.cpp:3929: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize' and I dont know how to address it, could you help me?

RajArPatra commented 3 years ago

@loovi7 This is because there is a mismatch in the file path of the dataset class change it according to your dataset format and you are good to go.

wjun0830 commented 2 years ago

Can you provide any instructions about how to go through this issue?