Add selected HiRE MimicGen base policies for finetuning
Browse filesFiles changed (10)
- .gitattributes-34
- .gitignoreAdded+3
- README.mdAdded+59
- manifest.jsonAdded+81
- stack_three/.hydra/config.yamlAdded+121
- stack_three/checkpoint/state_75.ptAdded+3
- threading/.hydra/config.yamlAdded+121
- threading/checkpoint/state_100.ptAdded+3
- three_piece_assembly/.hydra/config.yamlAdded+121
- three_piece_assembly/checkpoint/state_75.ptAdded+3
1234567891011121314151617181920212223242526272829303132333435*.7z filter=lfs diff=lfs merge=lfs -text*.arrow filter=lfs diff=lfs merge=lfs -text*.bin filter=lfs diff=lfs merge=lfs -text*.bz2 filter=lfs diff=lfs merge=lfs -text*.ckpt filter=lfs diff=lfs merge=lfs -text*.ftz filter=lfs diff=lfs merge=lfs -text*.gz filter=lfs diff=lfs merge=lfs -text*.h5 filter=lfs diff=lfs merge=lfs -text*.joblib filter=lfs diff=lfs merge=lfs -text*.lfs.* filter=lfs diff=lfs merge=lfs -text*.mlmodel filter=lfs diff=lfs merge=lfs -text*.model filter=lfs diff=lfs merge=lfs -text*.msgpack filter=lfs diff=lfs merge=lfs -text*.npy filter=lfs diff=lfs merge=lfs -text*.npz filter=lfs diff=lfs merge=lfs -text*.onnx filter=lfs diff=lfs merge=lfs -text*.ot filter=lfs diff=lfs merge=lfs -text*.parquet filter=lfs diff=lfs merge=lfs -text*.pb filter=lfs diff=lfs merge=lfs -text*.pickle filter=lfs diff=lfs merge=lfs -text*.pkl filter=lfs diff=lfs merge=lfs -text*.pt filter=lfs diff=lfs merge=lfs -text*.pth filter=lfs diff=lfs merge=lfs -text*.rar filter=lfs diff=lfs merge=lfs -text*.safetensors filter=lfs diff=lfs merge=lfs -textsaved_model/**/* filter=lfs diff=lfs merge=lfs -text*.tar.* filter=lfs diff=lfs merge=lfs -text*.tar filter=lfs diff=lfs merge=lfs -text*.tflite filter=lfs diff=lfs merge=lfs -text*.tgz filter=lfs diff=lfs merge=lfs -text*.wasm filter=lfs diff=lfs merge=lfs -text*.xz filter=lfs diff=lfs merge=lfs -text*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text1*.pt filter=lfs diff=lfs merge=lfs -text
123/.cache/__pycache__/.DS_Store1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859---language:- entags:- robotics- reinforcement-learning- diffusion-policy- hire---
# HiRE: Base Policies for Finetuning
Behavior-cloning checkpoints for HiRE policy finetuning on MimicGen. Each task includes the selected checkpoint and its original Hydra configuration, which the finetuning loader uses to restore the policy architecture.
| Task | Demonstrations | BC seed | Checkpoint || --- | --- | --- | --- || Stack Three | 200 | 42 | `stack_three/checkpoint/state_75.pt` || Threading | 30 | 42 | `threading/checkpoint/state_100.pt` || Three Piece Assembly | 200 | 42 | `three_piece_assembly/checkpoint/state_75.pt` |
These are diffusion policies with a ResNet-18 visual encoder, a 1D UNet action head, and an eight-step action horizon. The selected epochs are 75, 100, and 75, respectively. The original checkpoint payloads are preserved, including both `model` and `ema` weights. The HiRE finetuning loader selects `model`.
## Files
```textstack_three/ .hydra/config.yaml checkpoint/state_75.ptthreading/ .hydra/config.yaml checkpoint/state_100.ptthree_piece_assembly/ .hydra/config.yaml checkpoint/state_75.ptmanifest.json```
Keep each `.hydra/config.yaml` with its checkpoint. `manifest.json` records the original repository revision, file paths, training overrides, and SHA256 hashes.
## Finetuning
From the [HiRE code repository](https://github.com/JimmyZtHan/HiRE-Dice_RL), after installing dependencies and preparing demonstrations:
```bashsource scripts/set_path.shpython scripts/launch.py finetune stack_three \ --checkpoint /absolute/path/to/HiRE-release/stack_three/checkpoint/state_75.pt \ --seed 42```
Select `threading` or `three_piece_assembly` and the corresponding checkpoint path for the other tasks. The code handles the Python class paths in the original Hydra configurations.
Processed demonstrations and their matching `normalization.npz` files are required separately. Use the same task, camera order, delta-action convention, and demonstration subset as the BC policy. Tool Hang weights are not included in this bundle.
## Source
The checkpoint files and configurations are copied without modification from [JimmyHan2004/MimicGen-pretrain](https://huggingface.co/datasets/JimmyHan2004/MimicGen-pretrain), at revision `e0d681881f64771604353b5d2535c71d87e5d4a1`.
[Project website](https://hire-project.github.io/)123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081{ "format_version": 1, "title": "HiRE BC Checkpoints", "intended_repository": "JimmyHan2004/HiRE-release", "checkpoints": [ { "task": "stack_three", "checkpoint": "stack_three/checkpoint/state_75.pt", "config": "stack_three/.hydra/config.yaml", "checkpoint_epoch": 75, "bc_seed": 42, "demonstrations": 200, "size_bytes": 207868870, "sha256": "72e86bc7f67a7ae661b33930ffbe689be6ed61589a25f99417d257d1062dbbef", "config_sha256": "8e8fedb6bd09b417249c2d80506adcd166e4180fb4657e3526968ccdf7a8537b", "source": { "repo_id": "JimmyHan2004/MimicGen-pretrain", "repo_type": "dataset", "revision": "e0d681881f64771604353b5d2535c71d87e5d4a1", "checkpoint_path": "stack_three_pre_diffusion_unet_img_ta8_td50/2026-05-25_10-14-20_42/checkpoint/state_75.pt", "config_path": "stack_three_pre_diffusion_unet_img_ta8_td50/2026-05-25_10-14-20_42/.hydra/config.yaml" }, "pretrain_overrides": [ "train_dataset.max_n_episodes=200", "train.n_epochs=5000", "train.save_model_freq=25" ] }, { "task": "threading", "checkpoint": "threading/checkpoint/state_100.pt", "config": "threading/.hydra/config.yaml", "checkpoint_epoch": 100, "bc_seed": 42, "demonstrations": 30, "size_bytes": 207869562, "sha256": "a41cd2659e1810e86ad70790457ba3a3210ba69b0bfec34d96e822fb63564fc0", "config_sha256": "fe2e2491c3ec3793ef7d1879aae7e7aa879c05c9d4d3177245365b89c7d3c80c", "source": { "repo_id": "JimmyHan2004/MimicGen-pretrain", "repo_type": "dataset", "revision": "e0d681881f64771604353b5d2535c71d87e5d4a1", "checkpoint_path": "threading_pre_diffusion_unet_img_ta8_td50/2026-05-24_13-25-08_42/checkpoint/state_100.pt", "config_path": "threading_pre_diffusion_unet_img_ta8_td50/2026-05-24_13-25-08_42/.hydra/config.yaml" }, "pretrain_overrides": [ "train_dataset.max_n_episodes=30", "train.n_epochs=5000", "train.save_model_freq=25" ] }, { "task": "three_piece_assembly", "checkpoint": "three_piece_assembly/checkpoint/state_75.pt", "config": "three_piece_assembly/.hydra/config.yaml", "checkpoint_epoch": 75, "bc_seed": 42, "demonstrations": 200, "size_bytes": 207868870, "sha256": "c3f8711d02a21f12e02e0df87aedad0707ed1ee4b1f26b211b75a43ab4995de7", "config_sha256": "537e5d44f384bed45dd99c80be9634fe20e19d9b1e13dcfcf2d25bec18df9273", "source": { "repo_id": "JimmyHan2004/MimicGen-pretrain", "repo_type": "dataset", "revision": "e0d681881f64771604353b5d2535c71d87e5d4a1", "checkpoint_path": "three_piece_assembly_pre_diffusion_unet_img_ta8_td50/2026-05-25_13-35-52_42/checkpoint/state_75.pt", "config_path": "three_piece_assembly_pre_diffusion_unet_img_ta8_td50/2026-05-25_13-35-52_42/.hydra/config.yaml" }, "pretrain_overrides": [ "train_dataset.max_n_episodes=200", "train.n_epochs=1000", "train.save_model_freq=25", "train.eval_freq=50" ] } ], "external_inputs": [ "Processed demonstration datasets", "Matching normalization.npz files" ]}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121_target_: agent.pretrain.train_diffusion_img_agent.TrainDiffusionImgAgentname: ${env_name}_pre_diffusion_unet_img_ta${horizon_steps}_td${denoising_steps}logdir: ${oc.env:DICE_RL_LOG_DIR}/mimicgen-pretrain/${name}/${now:%Y-%m-%d}_${now:%H-%M-%S}_${seed}robomimic_env_cfg_path: cfg/mimicgen/env_meta/${env_name}-img.jsontrain_dataset_path: ${oc.env:DICE_RL_DATA_DIR}/mimicgen/${env_name}-img/ph_pretrain/train.npznormalization_path: ${oc.env:DICE_RL_DATA_DIR}/mimicgen/${env_name}-img/ph_pretrain/normalization.npzseed: 42device: cuda:0env_name: stack_threeobs_dim: 9action_dim: 7use_6d_rot: falseabs_action: falsedenoising_steps: 50horizon_steps: 8cond_steps: 1img_cond_steps: 1act_steps: 8env: n_envs: 10 name: ${env_name} best_reward_threshold_for_success: 1 max_episode_steps: 400 save_video: true use_image_obs: true wrappers: robomimic_image: normalization_path: ${normalization_path} low_dim_keys: - robot0_eef_pos - robot0_eef_quat - robot0_gripper_qpos image_keys: - agentview_image - robot0_eye_in_hand_image shape_meta: ${shape_meta} use_6d_rot: ${use_6d_rot} multi_step: n_obs_steps: ${cond_steps} n_action_steps: ${act_steps} max_episode_steps: ${env.max_episode_steps} reset_within_step: trueshape_meta: obs: rgb: shape: - 96 - 96 - 6 state: shape: - 9 action: shape: - 7wandb: entity: ${oc.env:DICE_RL_WANDB_ENTITY,null} project: mimicgen-${env_name}-pretrain run: ${now:%H-%M-%S}_${name}train: n_epochs: 5000 batch_size: 128 learning_rate: 0.0001 weight_decay: 1.0e-06 lr_scheduler: first_cycle_steps: 10000 warmup_steps: 100 min_lr: 1.0e-05 epoch_start_ema: 20 update_ema_freq: 10 save_model_freq: 25 val_freq: 10 eval_freq: 100 render: freq: 2 num: 2model: _target_: model.diffusion.diffusion.DiffusionModel predict_epsilon: true denoised_clip_value: 1.0 network: _target_: model.diffusion.vision_resnet_mlp_diffusion.VisionResNetDiffusionMLP num_img: 2 spatial_emb: 64 time_dim: 64 dropout: 0.0 visual_feature_dim: 128 fused_feature_dim: 128 img_cond_steps: ${img_cond_steps} cond_dim: 9 horizon_steps: ${horizon_steps} action_dim: ${action_dim} img_height: 96 img_width: 96 num_kp: 32 unet_base_channels: 128 unet_channel_mults: - 1 - 2 - 2 use_augmentation: true crop_height: 84 crop_width: 84 horizon_steps: ${horizon_steps} obs_dim: ${obs_dim} action_dim: ${action_dim} denoising_steps: ${denoising_steps} device: ${device}ema: decay: 0.995train_dataset: _target_: agent.dataset.sequence.StitchedSequenceDataset use_img: true dataset_path: ${train_dataset_path} horizon_steps: ${horizon_steps} cond_steps: ${cond_steps} img_cond_steps: ${img_cond_steps} device: ${device} max_n_episodes: 200 use_6d_rot: ${use_6d_rot} abs_action: ${abs_action}123version https://git-lfs.github.com/spec/v1oid sha256:72e86bc7f67a7ae661b33930ffbe689be6ed61589a25f99417d257d1062dbbefsize 207868870123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121_target_: agent.pretrain.train_diffusion_img_agent.TrainDiffusionImgAgentname: ${env_name}_pre_diffusion_unet_img_ta${horizon_steps}_td${denoising_steps}logdir: ${oc.env:DICE_RL_LOG_DIR}/mimicgen-pretrain/${name}/${now:%Y-%m-%d}_${now:%H-%M-%S}_${seed}robomimic_env_cfg_path: cfg/mimicgen/env_meta/${env_name}-img.jsontrain_dataset_path: ${oc.env:DICE_RL_DATA_DIR}/mimicgen/${env_name}-img/ph_pretrain/train.npznormalization_path: ${oc.env:DICE_RL_DATA_DIR}/mimicgen/${env_name}-img/ph_pretrain/normalization.npzseed: 42device: cuda:0env_name: threadingobs_dim: 9action_dim: 7use_6d_rot: falseabs_action: falsedenoising_steps: 50horizon_steps: 8cond_steps: 1img_cond_steps: 1act_steps: 8env: n_envs: 10 name: ${env_name} best_reward_threshold_for_success: 1 max_episode_steps: 400 save_video: true use_image_obs: true wrappers: robomimic_image: normalization_path: ${normalization_path} low_dim_keys: - robot0_eef_pos - robot0_eef_quat - robot0_gripper_qpos image_keys: - agentview_image - robot0_eye_in_hand_image shape_meta: ${shape_meta} use_6d_rot: ${use_6d_rot} multi_step: n_obs_steps: ${cond_steps} n_action_steps: ${act_steps} max_episode_steps: ${env.max_episode_steps} reset_within_step: trueshape_meta: obs: rgb: shape: - 96 - 96 - 6 state: shape: - 9 action: shape: - 7wandb: entity: ${oc.env:DICE_RL_WANDB_ENTITY,null} project: mimicgen-${env_name}-pretrain run: ${now:%H-%M-%S}_${name}train: n_epochs: 5000 batch_size: 128 learning_rate: 0.0001 weight_decay: 1.0e-06 lr_scheduler: first_cycle_steps: 10000 warmup_steps: 100 min_lr: 1.0e-05 epoch_start_ema: 20 update_ema_freq: 10 save_model_freq: 25 val_freq: 10 eval_freq: 100 render: freq: 2 num: 2model: _target_: model.diffusion.diffusion.DiffusionModel predict_epsilon: true denoised_clip_value: 1.0 network: _target_: model.diffusion.vision_resnet_mlp_diffusion.VisionResNetDiffusionMLP num_img: 2 spatial_emb: 64 time_dim: 64 dropout: 0.0 visual_feature_dim: 128 fused_feature_dim: 128 img_cond_steps: ${img_cond_steps} cond_dim: 9 horizon_steps: ${horizon_steps} action_dim: ${action_dim} img_height: 96 img_width: 96 num_kp: 32 unet_base_channels: 128 unet_channel_mults: - 1 - 2 - 2 use_augmentation: true crop_height: 84 crop_width: 84 horizon_steps: ${horizon_steps} obs_dim: ${obs_dim} action_dim: ${action_dim} denoising_steps: ${denoising_steps} device: ${device}ema: decay: 0.995train_dataset: _target_: agent.dataset.sequence.StitchedSequenceDataset use_img: true dataset_path: ${train_dataset_path} horizon_steps: ${horizon_steps} cond_steps: ${cond_steps} img_cond_steps: ${img_cond_steps} device: ${device} max_n_episodes: 30 use_6d_rot: ${use_6d_rot} abs_action: ${abs_action}123version https://git-lfs.github.com/spec/v1oid sha256:a41cd2659e1810e86ad70790457ba3a3210ba69b0bfec34d96e822fb63564fc0size 207869562123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121_target_: agent.pretrain.train_diffusion_img_agent.TrainDiffusionImgAgentname: ${env_name}_pre_diffusion_unet_img_ta${horizon_steps}_td${denoising_steps}logdir: ${oc.env:DICE_RL_LOG_DIR}/mimicgen-pretrain/${name}/${now:%Y-%m-%d}_${now:%H-%M-%S}_${seed}robomimic_env_cfg_path: cfg/mimicgen/env_meta/${env_name}-img.jsontrain_dataset_path: ${oc.env:DICE_RL_DATA_DIR}/mimicgen/${env_name}-img/ph_pretrain/train.npznormalization_path: ${oc.env:DICE_RL_DATA_DIR}/mimicgen/${env_name}-img/ph_pretrain/normalization.npzseed: 42device: cuda:0env_name: three_piece_assemblyobs_dim: 9action_dim: 7use_6d_rot: falseabs_action: falsedenoising_steps: 50horizon_steps: 8cond_steps: 1img_cond_steps: 1act_steps: 8env: n_envs: 10 name: ${env_name} best_reward_threshold_for_success: 1 max_episode_steps: 500 save_video: true use_image_obs: true wrappers: robomimic_image: normalization_path: ${normalization_path} low_dim_keys: - robot0_eef_pos - robot0_eef_quat - robot0_gripper_qpos image_keys: - agentview_image - robot0_eye_in_hand_image shape_meta: ${shape_meta} use_6d_rot: ${use_6d_rot} multi_step: n_obs_steps: ${cond_steps} n_action_steps: ${act_steps} max_episode_steps: ${env.max_episode_steps} reset_within_step: trueshape_meta: obs: rgb: shape: - 96 - 96 - 6 state: shape: - 9 action: shape: - 7wandb: entity: ${oc.env:DICE_RL_WANDB_ENTITY,null} project: mimicgen-${env_name}-pretrain run: ${now:%H-%M-%S}_${name}train: n_epochs: 1000 batch_size: 128 learning_rate: 0.0001 weight_decay: 1.0e-06 lr_scheduler: first_cycle_steps: 10000 warmup_steps: 100 min_lr: 1.0e-05 epoch_start_ema: 20 update_ema_freq: 10 save_model_freq: 25 val_freq: 10 eval_freq: 50 render: freq: 2 num: 2model: _target_: model.diffusion.diffusion.DiffusionModel predict_epsilon: true denoised_clip_value: 1.0 network: _target_: model.diffusion.vision_resnet_mlp_diffusion.VisionResNetDiffusionMLP num_img: 2 spatial_emb: 64 time_dim: 64 dropout: 0.0 visual_feature_dim: 128 fused_feature_dim: 128 img_cond_steps: ${img_cond_steps} cond_dim: 9 horizon_steps: ${horizon_steps} action_dim: ${action_dim} img_height: 96 img_width: 96 num_kp: 32 unet_base_channels: 128 unet_channel_mults: - 1 - 2 - 2 use_augmentation: true crop_height: 84 crop_width: 84 horizon_steps: ${horizon_steps} obs_dim: ${obs_dim} action_dim: ${action_dim} denoising_steps: ${denoising_steps} device: ${device}ema: decay: 0.995train_dataset: _target_: agent.dataset.sequence.StitchedSequenceDataset use_img: true dataset_path: ${train_dataset_path} horizon_steps: ${horizon_steps} cond_steps: ${cond_steps} img_cond_steps: ${img_cond_steps} device: ${device} max_n_episodes: 200 use_6d_rot: ${use_6d_rot} abs_action: ${abs_action}123version https://git-lfs.github.com/spec/v1oid sha256:c3f8711d02a21f12e02e0df87aedad0707ed1ee4b1f26b211b75a43ab4995de7size 207868870.gitattributes-34
.gitignoreAdded+3
README.mdAdded+59
manifest.jsonAdded+81
stack_three/.hydra/config.yamlAdded+121
stack_three/checkpoint/state_75.ptAdded+3
threading/.hydra/config.yamlAdded+121
threading/checkpoint/state_100.ptAdded+3
three_piece_assembly/.hydra/config.yamlAdded+121
three_piece_assembly/checkpoint/state_75.ptAdded+3