No module named 'models.videochat2_it'
(videochat2) root@58df28cdb848:/tf/Ask-Anything/video_chat2# python demo/demo.py
Traceback (most recent call last):
File "/tf/Ask-Anything/video_chat2/demo/demo.py", line 17, in
have you resolved it ?
have you resolved it ?
No
@seymaakorkmaz @Graysonicc Hi. Sorry for the late reply. We have changed the organization form of the code, you can refer to https://github.com/OpenGVLab/Ask-Anything/blob/main/video_chat2/demo/demo_mistral_hd.ipynb .
In demo/demo.py you should change from models.videochat2_it import VideoChat2_it to from model import VideoChat2_it_vicuna
demo.ipynb is OK. When i ran demo.py,i met the same problem—video no style
you can add these two lines: import sys sys.path.append('../Ask-Anything/video_chat2')[your path]
demo.ipynb is OK. When i ran demo.py,i met the same problem—video no style
@Graysonicc This could be due to a version issue with gradio where you need to downgrade your version of gradio or remove style-related code from demo.py
Hi, we will close this issue.
Feel free to contact us if you have other questions.