Migrate checkpoint to LeRobot policy processors
#5
by maximellerbach HF Staff - opened
Files changed (7)
18 unmodified lines19202122232418 unmodified linesSee the [LeRobot library](https://github.com/huggingface/lerobot) (particularly the [evaluation script](https://github.com/huggingface/lerobot/blob/main/lerobot/scripts/eval.py)) for instructions on how to load and evaluate this model.## Training DetailsTrained with [LeRobot@3c0a209](https://github.com/huggingface/lerobot/tree/3c0a209f9fac4d2a57617e686a7f2a2309144ba2).18 unmodified lines1920212223242526272829303118 unmodified linesSee the [LeRobot library](https://github.com/huggingface/lerobot) (particularly the [evaluation script](https://github.com/huggingface/lerobot/blob/main/lerobot/scripts/eval.py)) for instructions on how to load and evaluate this model.### Legacy LeRobot versionsIf you use LeRobot **0.3.3 or earlier**, pin the model to[`33259aa86eb45fdf85350280044a33d9d50e40c3`](https://huggingface.co/lerobot/act_aloha_sim_insertion_human/tree/33259aa86eb45fdf85350280044a33d9d50e40c3). That revision keepsthe original checkpoint format. Use the LeRobot revision listed in Training Detailsif your installed version cannot load the legacy snapshot.## Training DetailsTrained with [LeRobot@3c0a209](https://github.com/huggingface/lerobot/tree/3c0a209f9fac4d2a57617e686a7f2a2309144ba2).
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{"type": "act","n_obs_steps": 1,"device": "cuda","use_amp": false,"normalization_mapping": {"VISUAL": "MEAN_STD","STATE": "MEAN_STD","ACTION": "MEAN_STD"},"input_features": {"observation.images.top": {"type": "VISUAL","shape": [3,480,640]},"observation.state": {"type": "STATE","shape": [14]}},"output_features": {"action": {"type": "ACTION","shape": [14]}},"chunk_size": 100,"n_action_steps": 100,"vision_backbone": "resnet18","pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1","replace_final_stride_with_dilation": false,"pre_norm": false,"dim_model": 512,"n_heads": 8,"dim_feedforward": 3200,"feedforward_activation": "relu","n_encoder_layers": 4,"n_decoder_layers": 1,"use_vae": true,"latent_dim": 32,"n_vae_encoder_layers": 4,"temporal_ensemble_coeff": null,"dropout": 0.1,"kl_weight": 10.0,"optimizer_lr": 1e-05,"optimizer_weight_decay": 0.0001,"optimizer_lr_backbone": 1e-05}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162{"type": "act","n_obs_steps": 1,"input_features": {"observation.images.top": {"type": "VISUAL","shape": [3,480,640]},"observation.state": {"type": "STATE","shape": [14]}},"output_features": {"action": {"type": "ACTION","shape": [14]}},"device": "cuda","use_amp": false,"push_to_hub": true,"repo_id": null,"private": null,"tags": null,"license": null,"pretrained_path": null,"chunk_size": 100,"n_action_steps": 100,"normalization_mapping": {"VISUAL": "MEAN_STD","STATE": "MEAN_STD","ACTION": "MEAN_STD"},"vision_backbone": "resnet18","pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1","replace_final_stride_with_dilation": false,"pre_norm": false,"dim_model": 512,"n_heads": 8,"dim_feedforward": 3200,"feedforward_activation": "relu","n_encoder_layers": 4,"n_decoder_layers": 1,"use_vae": true,"latent_dim": 32,"n_vae_encoder_layers": 4,"temporal_ensemble_coeff": null,"dropout": 0.1,"kl_weight": 10.0,"optimizer_lr": 1e-05,"optimizer_weight_decay": 0.0001,"optimizer_lr_backbone": 1e-05}
123version https://git-lfs.github.com/spec/v1oid sha256:ad37bb2e9e341338a47cc31da43e7805998f8a1168f1399296be28a830a8a9d2size 206766560123version https://git-lfs.github.com/spec/v1oid sha256:7a82635a7901d57cfbcd25dcc41cc9fa5ae687bdbbcde49a24a34fa348dd92c1size 206765336
1234567891011121314151617181920212223242526272829303132{ "name": "policy_postprocessor", "steps": [ { "registry_name": "unnormalizer_processor", "config": { "eps": 1e-08, "features": { "action": { "type": "ACTION", "shape": [ 14 ] } }, "norm_map": { "VISUAL": "MEAN_STD", "STATE": "MEAN_STD", "ACTION": "MEAN_STD" } }, "state_file": "policy_postprocessor_step_0_unnormalizer_processor.safetensors" }, { "registry_name": "device_processor", "config": { "device": "cpu", "float_dtype": null } } ]}123version https://git-lfs.github.com/spec/v1oid sha256:d78041b1589339813c0a24f2c5860b22c37aae7946d367459af2f5a1e3ed9898size 7201234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{ "name": "policy_preprocessor", "steps": [ { "registry_name": "rename_observations_processor", "config": { "rename_map": {} } }, { "registry_name": "to_batch_processor", "config": {} }, { "registry_name": "device_processor", "config": { "device": "cpu", "float_dtype": null } }, { "registry_name": "normalizer_processor", "config": { "eps": 1e-08, "features": { "observation.images.top": { "type": "VISUAL", "shape": [ 3, 480, 640 ] }, "observation.state": { "type": "STATE", "shape": [ 14 ] }, "action": { "type": "ACTION", "shape": [ 14 ] } }, "norm_map": { "VISUAL": "MEAN_STD", "STATE": "MEAN_STD", "ACTION": "MEAN_STD" } }, "state_file": "policy_preprocessor_step_3_normalizer_processor.safetensors" } ]}123version https://git-lfs.github.com/spec/v1oid sha256:d78041b1589339813c0a24f2c5860b22c37aae7946d367459af2f5a1e3ed9898size 720README.md+7
config.json+60-54
model.safetensors+2-2
policy_postprocessor.jsonAdded+32
policy_postprocessor_step_0_unnormalizer_processor.safetensorsAdded+3
policy_preprocessor.jsonAdded+56
policy_preprocessor_step_3_normalizer_processor.safetensorsAdded+3