OpenGVLab / Ask-Anything

[CVPR2024 Highlight][VideoChatGPT] ChatGPT with video understanding! And many more supported LMs such as miniGPT4, StableLM, and MOSS.
https://vchat.opengvlab.com/
MIT License
3k stars 247 forks source link

urgent problem #135

Closed robotNo201 closed 7 months ago

robotNo201 commented 7 months ago

language_module/Ask-Anything-main/Ask-Anything-main/video_chat/models/eva_vit.py", line 248, in init num_patches = (img_size[1] // patch_size[1]) * (img_size[0] // patch_size[0]) TypeError: unsupported operand type(s) for //: 'NoneType' and 'int'

First time it works, gradio works too, same code, after close the gradio and run the cell on colab again, it prints this error, but my comment is:

DONT WASTE UR TIME ON THIS B S

By the way, even python version can make different result.

Andy1621 commented 7 months ago

lol