Model Training
Train models on Roban whole-body data, and prepare the weights, configurations, and normalization statistics required for inference.
After completing Data Preparation, choose one model training approach. Each model uses its own environment and configuration; do not mix dual-arm and whole-body layouts. For environment installation, weight downloads, and complete commands for the other models, see the LETools Whole-Body VLA Tutorial.
1. Choose a Model
| Model | Data and Configuration Notes |
|---|---|
| LingBot-VLA v2 | The whole-body robot configuration is configs/robot_configs/roban_wholebody.yaml, which uses absolute actions with a chunk of 50 steps |
| OpenPI | Use the pi05_roban_wholebody training configuration, with action_dim no less than 32; the inference policy_config_name must match the training name |
| Isaac GR00T N1.7 | First convert LeRobot v3 to v2; copy the whole-body modality template into the dataset's meta/modality.json, use roban_wholebody.py, with a chunk of 40 steps |
This page uses LingBot-VLA v2 as an example, and the subsequent Inference Deployment uses the same model for illustration.
2. Modify the Training Configuration
Go to the kuavo_model/external_models/lingbot-vla-v2 directory in LeTools-Learning and edit configs/vla/roban_wholebody/roban_wholebody.yaml:
- Set the base model
model.model_path, the tokenizermodel.tokenizer_path, and the depth / DINO weight paths. - Point
data.train_pathto the converted dataset, andtrain.output_dirto the output directory for this training run. - Use the whole-body robot configuration and keep
chunk_size: 50; all segments currently havesubtract_state: false, so training uses absolute actions.
3. Compute Statistics and Train
First compute the normalization statistics. The example below uses a single-GPU statistics setup; replace the data path with the actual location:
CUDA_VISIBLE_DEVICES=0 bash train.sh scripts/compute_norm_stats.py \
./configs/vla/roban_wholebody/roban_wholebody.yaml \
--data.data_name roban_wholebody \
--data.train_path /path/to/roban_wholebody_lerobot \
--data.robot_config_root ./configs/robot_configs \
--data.norm_path assets/norm_stats/roban_wholebody.json \
--data.data_ratio_for_norm_compute 1 \
--train.global_batch_size 1 \
--data.num_workers 0Then start training:
bash train.sh tasks/vla/train_lingbotvla.py \
./configs/vla/roban_wholebody/roban_wholebody.yaml \
--data.train_path /path/to/roban_wholebody_lerobot \
--data.norm_stats_file assets/norm_stats/roban_wholebody.json4. Keep the Inference Artifacts
| File | Purpose |
|---|---|
hf_ckpt/ from the selected training step | Inference model weights |
lingbotvla_cli.yaml in the output root directory | A complete snapshot of the training YAML and command-line arguments |
roban_wholebody.json | Normalization statistics for this dataset |
| Whole-body robot configuration and base model path | The action layout and base model matching the training run |
Inference must use this run's training snapshot and the matching statistics file; do not replace the training snapshot with the default YAML.
Next step: Communication Preparation.