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

errors when using the global mode #44

Closed tianguang2525 closed 3 months ago

tianguang2525 commented 3 months ago

when using the global mode, how to set the parameter? I set: "--cfg-path", "eval_configs/MovieChat.yaml", "--gpu-id", "0", "--num-beams", "1" , "--temperature", "1.0" , "--text-query", "Summarize the video" , "--video-path", "/home/develop/fyy/MovieChat-main/src/examples/11.mp4" , "--fragment-video-path", "src/video_fragment/output.mp4" , "--cur-min", "0" , "--cur-sec", "0" , "--middle-video", "0" but 微信图片_20240308214844

tianguang2525 commented 3 months ago

should fragment-video-path=NULL?

Espere-1119-Song commented 3 months ago

fragment-video-path no need to be NULL. Can u print the video_path in line 240 and check if the video_path exists? Or do u have the root to access the video_path?

tianguang2525 commented 3 months ago

fragment-video-path no need to be NULL. Can u print the video_path in line 240 and check if the video_path exists? Or do u have the root to access the video_path?

In line 240, video_path='/home/develop/fyy/MovieChat-main/src/examples/11.mp4'

Espere-1119-Song commented 3 months ago

'ffprobe' is just a setting for calculating video duration and it has no relations with 'path'.

tianguang2525 commented 3 months ago

已解决,我没有安装ffprobe,感谢!