OpenGVLab / OpenGVLab/InternVideo

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

Open
#239 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2.4k
Forks
160
PR merge metrics
No merged PRs in 30d

Description

我在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的代码了?)。
作者大大看下是不是真的代码上传错了。。。

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the downloaded model's chat() signature and available methods with the example calls model.chat(video_path=video_path, ...) and model.get_vision_tower(). The issue is resolved when the repository clarifies or corrects the model/example compatibility and provides a working video-chat invocation.

Written by the indexing model from the issue text.

Assessment

Tech stack
huggingface, python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.