Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

InternVideo2-Stage1-1B-224p-K400 missing processor/config for Hugging Face transformers

未关闭
#305 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
python

调研方向

首先重现针对 OpenGVLab/InternVideo2-Stage1-1B-224p-K400 的 AutoImageProcessor.from_pretrained 调用,并检查模型仓库内容和 README.md。将现有的 .pth 文件与 transformers 预期的处理器和模型元数据进行比较。当模型具备适当的配置文件,或具备用于加载视频并提取视频特征的明确预处理指导时,即视为完成。

由索引模型根据 Issue 内容生成。

描述

Hello,

I am trying to use the Hugging Face model OpenGVLab/InternVideo2-Stage1-1B-224p-K400 with the transformers library for video feature extraction.

When I call:

from transformers import AutoImageProcessor
processor = AutoImageProcessor.from_pretrained("OpenGVLab/InternVideo2-Stage1-1B-224p-K400")

I get the error:

OSError: Can't load image processor for 'OpenGVLab/InternVideo2-Stage1-1B-224p-K400'.
... no preprocessor_config.json file

Looking at the repo, it only contains:

.gitattributes
1B_ft_k710_ft_k400_f16.pth
1B_ft_k710_ft_k400_f8.pth
README.md

There is no config.json or preprocessor_config.json.

This makes it incompatible with AutoImageProcessor / AutoVideoProcessor.

Request

Could you add the appropriate processor/config files (e.g. preprocessor_config.json, config.json) so the model can be loaded via transformers?

Or provide guidance on the recommended way to preprocess inputs for this model when using Hugging Face.

Thanks a lot for releasing this model!

主要语言
Python
星标
2.4k
派生
160
PR 合并指标
30 天内没有已合并 PR

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

OpenGVLab/InternVideo 的其他 Issue

查看 OpenGVLab/InternVideo 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。