rese1f / MovieChat

[CVPR 2024] 🎬💭 chat with over 10K frames of video!
https://rese1f.github.io/MovieChat/
BSD 3-Clause "New" or "Revised" License
454 stars 37 forks source link

Inference fails #33

Closed fazlicodes closed 6 months ago

fazlicodes commented 6 months ago

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'

fazlicodes commented 6 months ago

Solved, video needs to be long enough