Contributor: RoboDojo Team | Paper: RISE: OpenDriveLab robot policy report | arXiv: https://arxiv.org/abs/2602.11075 | Original code: https://github.com/OpenDriveLab/RISE
RISE adapts the OpenDriveLab RISE policy to XPolicyLab/RoboDojo: it consumes LeRobot v2.1 datasets directly, trains offline in stages (a value/advantage model, then an advantage-conditioned policy), and builds on Pi0.5 pretrained weights. Integration scripts live at this directory level; the vendored upstream implementation lives in RISE/.
Shared conventions — argument meanings, checkpoint naming, split-machine deployment, EVAL_ENV_TYPE — are documented in the XPolicyLab README. Official results: RoboDojo LeaderBoard.
cd XPolicyLab/policy/RISE
bash install.sh
conda activate <policy_env> # e.g. RISERead INSTALLATION.md before first use: RISE requires Pi0.5 pretrained weights that install.sh intentionally does not download. Link existing PyTorch weights into weights/pi05_base_pytorch/ with bash setup_weights.sh <path/to/pi05_base_pytorch> (the directory must contain model.safetensors or model.pt), or convert from the JAX pi05_base checkpoint as described there; override the default training weight path with RISE_PYTORCH_WEIGHT_PATH.
RISE consumes LeRobot v2.1 datasets directly — there is no HDF5 conversion step. It expects the standard keys of XPolicyLab/scripts/transform_lerobot_v21_format.py (Official LeRobot conversion), which the published RoboDojo_lerobot_v21_video export already follows. process_data.sh links the source dataset from RISE_RAW_DATASET (a directory containing meta/ and data/) into data/<bench_name>-<ckpt_name>-<env_cfg_type>-<action_type>-lerobot/ so train.sh can find it, and computes normalization stats:
# From the XPolicyLab repo root: download the full RoboDojo LeRobot v2.1 dataset
# (saved to <data_root>/RoboDojo_lerobot_v21_video).
bash scripts/RoboDojo/download_robodojo_data.sh lerobot_v2.1
cd XPolicyLab/policy/RISE
export RISE_RAW_DATASET=<data_root>/RoboDojo_lerobot_v21_video
bash process_data.sh <bench_name> <ckpt_name> <env_cfg_type> <action_type>
# Example: prepare stack_bowls for arx_x5 joint control on the full dataset
bash process_data.sh RoboDojo stack_bowls arx_x5 jointRISE_RAW_DATASET is required unless the standard data/<tag>-lerobot/ link already exists. The concrete shared LeRobot v2.1 dataset path for internal testing is recorded in XPolicyLab/policy/POLICY_TRAINING_COMMANDS.md.
RISE trains in stages: advantage (compute norm, train the value/advantage model, and create the *_w_adv dataset), policy (train the final advantage-conditioned policy on an existing *_w_adv dataset), or all (advantage then policy). The default stage is policy unless RISE_STAGE overrides it; trailing extra_args are forwarded to the upstream stage script.
cd XPolicyLab/policy/RISE
bash train.sh <bench_name> <ckpt_name> <env_cfg_type> <action_type> <seed> <gpu_id> [advantage|policy|all] [extra_args...]
# Example: run advantage then policy end to end
bash train.sh RoboDojo stack_bowls arx_x5 joint 42 0 allCheckpoints land in checkpoints/<bench_name>-<ckpt_name>-<env_cfg_type>-<action_type>-<seed>/; at eval time ckpt_name may be the short run name (auto-combined into that directory name) or the full run-directory name under checkpoints/. Legacy stage-first usage is also supported: bash train.sh <advantage|policy|all> <gpu_id> <seed> [extra_args...], with dataset fields supplied through RISE_BENCH_NAME, RISE_CKPT_NAME, RISE_ENV_CFG_TYPE, and RISE_ACTION_TYPE.
cd XPolicyLab/policy/RISE
bash eval.sh <bench_name> <task_name> <ckpt_name> <env_cfg_type> <action_type> <seed> \
<policy_gpu_id> <env_gpu_id> <policy_conda_env> <eval_env_conda_env>
# Example: evaluate a trained cotrain checkpoint on stack_bowls
bash eval.sh RoboDojo stack_bowls RoboDojo-cotrain-arx_x5-joint-0 arx_x5 joint 0 0 0 <policy_conda_env> <eval_env_conda_env>EVAL_ENV_TYPE=debug runs the offline wiring check (no simulator); leave it unset or set EVAL_ENV_TYPE=sim for RoboDojo simulation. For split-machine deployment via setup_eval_policy_server.sh / setup_eval_env_client.sh, follow the Deployment Flow.
deploy.yml keys to check before evaluation: action_dim, upstream_dir, config_name, checkpoint_path, default_prompt, sample_data_dir.
Environment variables used by the adapter scripts:
| Variable | Notes |
|---|---|
RISE_RAW_DATASET |
Source LeRobot v2.1 dataset directory used by process_data.sh and train.sh. |
RISE_STAGE |
Default training stage when the stage argument is omitted. |
RISE_PYTORCH_WEIGHT_PATH |
Override for the default Pi0.5 training weight path. |