Skip to content

加载internvl模型报错 #351

Description

@tanjjjjrr

报错如下所示:
[rank0]: Traceback (most recent call last):
[rank0]: File "/home/zzj/tjr/vlm/vlm-r1/src/open-r1-multimodal/src/open_r1/grpo_jsonl.py", line 1073, in
[rank0]: main(script_args, training_args, model_args)
[rank0]: File "/home/zzj/tjr/vlm/vlm-r1/src/open-r1-multimodal/src/open_r1/grpo_jsonl.py", line 1040, in main
[rank0]: trainer = trainer_cls(
[rank0]: ^^^^^^^^^^^^
[rank0]: File "/home/zzj/tjr/vlm/vlm-r1/src/open-r1-multimodal/src/open_r1/vlm_modules/internvl_module.py", line 45, in post_model_init
[rank2]: AttributeError: 'NoneType' object has no attribute 'img_context_token_id'
请问这是模型没有加载成功吗,怎么解决该问题呢?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions