I tried running inference with a sample and I got the following error:
Traceback (most recent call last): File "/l/users/mohamed.imam/MovieChatV2/MovieChat/inference.py", line 363, in <module> cv2.imwrite(temp_frame_path, frame) cv2.error: OpenCV(4.7.0) /io/opencv/modules/imgcodecs/src/loadsave.cpp:783: error: (-215:Assertion failed) !_img.empty() in function 'imwrite'
I tried running inference with a sample and I got the following error:
Traceback (most recent call last): File "/l/users/mohamed.imam/MovieChatV2/MovieChat/inference.py", line 363, in <module> cv2.imwrite(temp_frame_path, frame) cv2.error: OpenCV(4.7.0) /io/opencv/modules/imgcodecs/src/loadsave.cpp:783: error: (-215:Assertion failed) !_img.empty() in function 'imwrite'