InternVL icon indicating copy to clipboard operation
InternVL copied to clipboard

TypeError: chat() got an unexpected keyword argument 'num_patches_list'

Open liuao743 opened this issue 1 year ago • 3 comments

When I use the script in huggingface https://huggingface.co/OpenGVLab/InternVL2-26B to test video data, It give me the error: TypeError: chat() got an unexpected keyword argument 'num_patches_list'

liuao743 avatar Jul 05 '24 07:07 liuao743

您好,感谢您的反馈。能否提供更详细的报错信息?因为chat函数中是有num_patches_list这个参数的,我运行hf readme中的示例代码是可以正常运行的。

https://huggingface.co/OpenGVLab/InternVL2-26B/blob/main/modeling_internvl_chat.py#L248

image

czczup avatar Aug 20 '24 05:08 czczup