InternVideo icon indicating copy to clipboard operation
InternVideo copied to clipboard

InternVideo2_5_Chat_8B:TypeError: chat() got an unexpected keyword argument 'video_path'

Open ExploreUniverser opened this issue 11 months ago • 1 comments

我在hugging face上下载的模型与代码,但是按照示例代码运行时, model.chat(video_path=video_path,...)这一行代码报错,出现了TypeError: chat() got an unexpected keyword argument 'video_path'的错误; 并且我在使用image_processor = model.get_vision_tower().image_processor也会报错'InternVLChatModel' object has no attribute 'get_vision_tower'。我想是不是该模型的部分代码是不是上传错误了(例如上传成InternVL2.5的代码了?)。 作者大大看下是不是真的代码上传错了。。。

ExploreUniverser avatar Feb 10 '25 06:02 ExploreUniverser

+1,不愧是上海人工智能实验室,非常的严谨

AMAG-AB avatar Feb 12 '25 05:02 AMAG-AB