技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
data-integration【数据与研究】Integrate LeRobot-format StarVLA datasets, modality schemas, robot DataConfig classes, mixtures, and registry discovery.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is to add, debug, or review StarVLA robot-action data sources: LeRobot-format datasets, meta/modality.json, robot DataConfig classes, dataset mixtures, embodiment tags, registry discovery, statistics caches, and safe custom-dataset templates.
meta/modality.json, LeRobot metadata files, parquet data, and task metadata. Use LeRobot data format for the expected shape.DataConfig: define video_keys, state_keys, action_keys, language_keys, observation_indices, optional state_indices, and action_indices; implement modality_config() and transform(). Use dataset registry.ROBOT_TYPE_CONFIG_MAP and DATASET_NAMED_MIXTURES from an auto-discovered examples/**/train_files/data_registry/data_config.py module. Prefer an embodiment_tag class variable on the DataConfig; legacy ROBOT_TYPE_TO_EMBODIMENT_TAG overrides still work.len(action_indices) aligned with the model/training action_horizon for the selected framework. If you are editing launch YAML, route to training-config.modality.json files before data loading with scripts/validate_modality_json.py from this sub-skill.data_root_dir plus DATASET_NAMED_MIXTURES[data_mix]; each mixture entry is (dataset_subdir, sampling_weight, robot_type).ROBOT_TYPE_CONFIG_MAP[robot_type] must produce a DataConfig instance whose modality keys match the meta/modality.json subkeys.annotation.human.task_description or annotation.human.action.task_description; the corresponding modality.json annotation entry must read task ids with original_key: "task_index".start and end slices are end-exclusive slices into the LeRobot column named by original_key or the schema default.StateActionTransform owns training-time normalization (min_max, q99, mean_std, or binary) and reads dataset statistics generated from LeRobot parquet files.meta/stats_gr00t.json when cache format or action-mode configuration changes; keep the training-output dataset_statistics.json paired with checkpoints for deployment.scripts/validate_modality_json.py validates the JSON shape without importing StarVLA or opening data files. It catches missing top-level modalities, invalid state/action slices, and the common language-conditioning error where the annotation field does not use task_index.Distilled from StarVLA dataloader and registry sources (starVLA/dataloader/__init__.py, lerobot_datasets.py, gr00t_lerobot/registry.py, data_config.py, datasets.py, schema.py, transform/*), representative benchmark/robot data registries, the custom integration asset templates, and the README/guideline data sections.