Skip to content

Visualization and training error with Real world Dataset in huggingface #50

Description

@LaFeuilleMorte

Hi, I followed your guidance in REALBOT_PIPELINE_GUIDE.md, and downloaded the arrow format dataset. But when I setup everything and run the following scripts:

python3 scripts/data_visualize.py --config configs/config_holobrain_qwen_common.py

it gave me the following error:

  File "/home/wqh/Project/RoboOrchardLab/robo_orchard_lab/dataset/horizon_manipulation/agilex_ro_dataset.py", line 159, in __call__
    data.update(self.get_instruction(data))
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/wqh/Project/RoboOrchardLab/robo_orchard_lab/dataset/horizon_manipulation/agilex_ro_dataset.py", line 77, in get_instruction
    text = data["instruction"].json_content["description"]
           ~~~~^^^^^^^^^^^^^^^
KeyError: 'instruction'

The same happened when I launched the training script. After checking the dataset_info.json of the arrow format dataset. I found it had no instruction field but instruction_index. The dataset_info.json was here: dataset_info.json

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