mbzuai-oryx / Video-ChatGPT

[ACL 2024 🔥] Video-ChatGPT is a video conversation model capable of generating meaningful conversation about videos. It combines the capabilities of LLMs with a pretrained visual encoder adapted for spatiotemporal video representation. We also introduce a rigorous 'Quantitative Evaluation Benchmarking' for video-based conversational models.
https://mbzuai-oryx.github.io/Video-ChatGPT
Creative Commons Attribution 4.0 International
1.17k stars 102 forks source link

Why does "No module named 'video chatgpt'" appear? What should I do next? #109

Closed woc66666 closed 3 months ago

woc66666 commented 3 months ago

I followed the steps in the README file to create an environment with conda and install FlashAttention for training. Then, I followed the steps in docs/offline demo.md to "Download Video-ChatGPT weights" and "Prepare LLaVA weights". And download the sample video, and finally run the demo script there is a problem, you can help to see why?

![Uploading PixPin_2024-06-04_19-29-32.jpg…]()

woc66666 commented 3 months ago

PixPin_2024-06-04_19-29-32

biphobe commented 3 months ago

@woc66666 Try python -m video_chatgpt.demo.video_demo instead of python video_chatgpt/demo/video_demo.py as seen here.

mmaaz60 commented 3 months ago

Hi @woc66666,

I appreciate your interest in our work. If the solution suggested by @biphobe is not working, try adding the current directory into your Python path as export PYTHONPATH="./:$PYTHONPATH". I hope it will solve the issue. Thank You.