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.23k stars 108 forks source link

Error when running the demo. #64

Closed oximi123 closed 1 year ago

oximi123 commented 1 year ago

Hi, I encouter the following error when running the demo in the website:

2023-11-01 14:03:15 | INFO | gradio_web_server | add_text. ip:. len: 51 2023-11-01 14:03:17 | ERROR | stderr | Traceback (most recent call last): 2023-11-01 14:03:17 | ERROR | stderr | File "/home/user/anaconda3/envs/video_chatgpt/lib/python3.10/site-packages/gradio/routes.py", line 394, in run_predict 2023-11-01 14:03:17 | ERROR | stderr | output = await app.get_blocks().process_api( 2023-11-01 14:03:17 | ERROR | stderr | File "/home/user/anaconda3/envs/video_chatgpt/lib/python3.10/site-packages/gradio/blocks.py", line 1075, in process_api 2023-11-01 14:03:17 | ERROR | stderr | result = await self.call_function( 2023-11-01 14:03:17 | ERROR | stderr | File "/home/user/anaconda3/envs/video_chatgpt/lib/python3.10/site-packages/gradio/blocks.py", line 898, in call_function 2023-11-01 14:03:17 | ERROR | stderr | prediction = await anyio.to_thread.run_sync( 2023-11-01 14:03:17 | ERROR | stderr | File "/home/user/anaconda3/envs/video_chatgpt/lib/python3.10/site-packages/anyio/to_thread.py", line 33, in run_sync 2023-11-01 14:03:17 | ERROR | stderr | return await get_asynclib().run_sync_in_worker_thread( 2023-11-01 14:03:17 | ERROR | stderr | File "/home/user/anaconda3/envs/video_chatgpt/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread 2023-11-01 14:03:17 | ERROR | stderr | return await future 2023-11-01 14:03:17 | ERROR | stderr | File "/home/user/anaconda3/envs/video_chatgpt/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 807, in run 2023-11-01 14:03:17 | ERROR | stderr | result = context.run(func, *args) 2023-11-01 14:03:17 | ERROR | stderr | File "/home/user/anaconda3/envs/video_chatgpt/lib/python3.10/site-packages/gradio/utils.py", line 549, in async_iteration 2023-11-01 14:03:17 | ERROR | stderr | return next(iterator) 2023-11-01 14:03:17 | ERROR | stderr | File "/home/user/botao/video-chatgpt/video_chatgpt/demo/chat.py", line 105, in answer 2023-11-01 14:03:17 | ERROR | stderr | image_tensor = img_list[0] 2023-11-01 14:03:17 | ERROR | stderr | TypeError: 'NoneType' object is not subscriptable