Skip to content

released hugingface weights and config does not compact with github source code #101

Description

@Lewis-Lu

name: 'Bug Report (English)'
about: Report a bug encountered while using or reproducing the Wall-X model
title: '[Bug] '
labels: 'bug, needs-triage'

Describe the bug
Download the release model card from https://huggingface.co/x-square-robot/wall-oss-0.5 and run ./script/fake_inference.py gives me the following configuration attribute error:

File "/mnt/data/lewis/wall_oss_ws/wall-x/./scripts/fake_inference.py", line 5, in
model = Qwen2_5_VLMoEForAction.from_pretrained(model_path)
File "/mnt/data/lewis/wall_oss_ws/wall-x/wall_x/model/qwen2_5_based/modeling_qwen2_5_vl_act.py", line 897, in from_pretrained
model = cls(model_config, processor=processor, **kwargs)
File "/mnt/data/lewis/wall_oss_ws/wall-x/wall_x/model/qwen2_5_based/modeling_qwen2_5_vl_act.py", line 975, in init
self.action_preprocessor = ActionProcessor(config)
File "/mnt/data/lewis/wall_oss_ws/wall-x/wall_x/model/action_head.py", line 541, in init
self.agent_pos_config = config.agent_pos_config
File "/mnt/data/lewis/miniforge3/envs/gr00t/lib/python3.10/site-packages/transformers/configuration_utils.py", line 210, in getattribute
return super().getattribute(key)
AttributeError: 'Qwen2_5_VLConfig' object has no attribute 'agent_pos_config'

Expected behavior
This init should be correctly executed. Some config fields are missed or not expected to be initialized in 0.5 version ?
I can see the agent_pos_config is listed in https://huggingface.co/x-square-robot/wall-oss-flow/blob/main/config.json
Logs & Screenshots
If applicable, add the complete error message (traceback) and screenshots to help explain your problem.

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