Instructions to use kiratan/diffusion_pnp_multitask_cab_only with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use kiratan/diffusion_pnp_multitask_cab_only with LeRobot:
- Notebooks
- Google Colab
- Kaggle
Upload PnPCabToCounter diffusion checkpoint
Browse files- README.md +15 -0
- config.json +100 -0
- model.safetensors +3 -0
- policy_postprocessor.json +32 -0
- policy_postprocessor_step_0_unnormalizer_processor.safetensors +3 -0
- policy_preprocessor.json +72 -0
- policy_preprocessor_step_3_normalizer_processor.safetensors +3 -0
- train_config.json +0 -0
README.md
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: lerobot
|
| 3 |
+
tags:
|
| 4 |
+
- lerobot
|
| 5 |
+
- diffusion-policy
|
| 6 |
+
- robotics
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
# kiratan/diffusion_pnp_multitask_cab_only
|
| 10 |
+
|
| 11 |
+
Uploaded from:
|
| 12 |
+
|
| 13 |
+
- `/home/jrep/mobipi_jrep/runs/diffusion_pnp_multitask_cab_only/checkpoints/030000/pretrained_model`
|
| 14 |
+
|
| 15 |
+
This repository contains a LeRobot-compatible pretrained model directory.
|
config.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "diffusion",
|
| 3 |
+
"n_obs_steps": 2,
|
| 4 |
+
"input_features": {
|
| 5 |
+
"observation.images.base_0_rgb": {
|
| 6 |
+
"type": "VISUAL",
|
| 7 |
+
"shape": [
|
| 8 |
+
3,
|
| 9 |
+
128,
|
| 10 |
+
128
|
| 11 |
+
]
|
| 12 |
+
},
|
| 13 |
+
"observation.images.base_1_rgb": {
|
| 14 |
+
"type": "VISUAL",
|
| 15 |
+
"shape": [
|
| 16 |
+
3,
|
| 17 |
+
128,
|
| 18 |
+
128
|
| 19 |
+
]
|
| 20 |
+
},
|
| 21 |
+
"observation.images.left_wrist_0_rgb": {
|
| 22 |
+
"type": "VISUAL",
|
| 23 |
+
"shape": [
|
| 24 |
+
3,
|
| 25 |
+
128,
|
| 26 |
+
128
|
| 27 |
+
]
|
| 28 |
+
},
|
| 29 |
+
"observation.state": {
|
| 30 |
+
"type": "STATE",
|
| 31 |
+
"shape": [
|
| 32 |
+
9
|
| 33 |
+
]
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"output_features": {
|
| 37 |
+
"action": {
|
| 38 |
+
"type": "ACTION",
|
| 39 |
+
"shape": [
|
| 40 |
+
12
|
| 41 |
+
]
|
| 42 |
+
}
|
| 43 |
+
},
|
| 44 |
+
"device": "cuda",
|
| 45 |
+
"use_amp": false,
|
| 46 |
+
"use_peft": false,
|
| 47 |
+
"push_to_hub": false,
|
| 48 |
+
"repo_id": null,
|
| 49 |
+
"private": null,
|
| 50 |
+
"tags": null,
|
| 51 |
+
"license": null,
|
| 52 |
+
"pretrained_path": null,
|
| 53 |
+
"horizon": 16,
|
| 54 |
+
"n_action_steps": 8,
|
| 55 |
+
"normalization_mapping": {
|
| 56 |
+
"VISUAL": "MEAN_STD",
|
| 57 |
+
"STATE": "MIN_MAX",
|
| 58 |
+
"ACTION": "MIN_MAX"
|
| 59 |
+
},
|
| 60 |
+
"drop_n_last_frames": 7,
|
| 61 |
+
"vision_backbone": "resnet18",
|
| 62 |
+
"resize_shape": null,
|
| 63 |
+
"crop_ratio": 1.0,
|
| 64 |
+
"crop_shape": null,
|
| 65 |
+
"crop_is_random": true,
|
| 66 |
+
"pretrained_backbone_weights": null,
|
| 67 |
+
"use_group_norm": true,
|
| 68 |
+
"spatial_softmax_num_keypoints": 32,
|
| 69 |
+
"use_separate_rgb_encoder_per_camera": false,
|
| 70 |
+
"down_dims": [
|
| 71 |
+
512,
|
| 72 |
+
1024,
|
| 73 |
+
2048
|
| 74 |
+
],
|
| 75 |
+
"kernel_size": 5,
|
| 76 |
+
"n_groups": 8,
|
| 77 |
+
"diffusion_step_embed_dim": 128,
|
| 78 |
+
"use_film_scale_modulation": true,
|
| 79 |
+
"noise_scheduler_type": "DDPM",
|
| 80 |
+
"num_train_timesteps": 100,
|
| 81 |
+
"beta_schedule": "squaredcos_cap_v2",
|
| 82 |
+
"beta_start": 0.0001,
|
| 83 |
+
"beta_end": 0.02,
|
| 84 |
+
"prediction_type": "epsilon",
|
| 85 |
+
"clip_sample": true,
|
| 86 |
+
"clip_sample_range": 1.0,
|
| 87 |
+
"num_inference_steps": null,
|
| 88 |
+
"compile_model": false,
|
| 89 |
+
"compile_mode": "reduce-overhead",
|
| 90 |
+
"do_mask_loss_for_padding": false,
|
| 91 |
+
"optimizer_lr": 0.0001,
|
| 92 |
+
"optimizer_betas": [
|
| 93 |
+
0.95,
|
| 94 |
+
0.999
|
| 95 |
+
],
|
| 96 |
+
"optimizer_eps": 1e-08,
|
| 97 |
+
"optimizer_weight_decay": 1e-06,
|
| 98 |
+
"scheduler_name": "cosine",
|
| 99 |
+
"scheduler_warmup_steps": 500
|
| 100 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:11939b62ab99276a0e3eca81e48623a3e214e37f54a6746ecf8c557c082b588d
|
| 3 |
+
size 1081970680
|
policy_postprocessor.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "policy_postprocessor",
|
| 3 |
+
"steps": [
|
| 4 |
+
{
|
| 5 |
+
"registry_name": "unnormalizer_processor",
|
| 6 |
+
"config": {
|
| 7 |
+
"eps": 1e-08,
|
| 8 |
+
"features": {
|
| 9 |
+
"action": {
|
| 10 |
+
"type": "ACTION",
|
| 11 |
+
"shape": [
|
| 12 |
+
12
|
| 13 |
+
]
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
"norm_map": {
|
| 17 |
+
"VISUAL": "MEAN_STD",
|
| 18 |
+
"STATE": "MIN_MAX",
|
| 19 |
+
"ACTION": "MIN_MAX"
|
| 20 |
+
}
|
| 21 |
+
},
|
| 22 |
+
"state_file": "policy_postprocessor_step_0_unnormalizer_processor.safetensors"
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"registry_name": "device_processor",
|
| 26 |
+
"config": {
|
| 27 |
+
"device": "cpu",
|
| 28 |
+
"float_dtype": null
|
| 29 |
+
}
|
| 30 |
+
}
|
| 31 |
+
]
|
| 32 |
+
}
|
policy_postprocessor_step_0_unnormalizer_processor.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b6e36607d32a5e14bd6d4de88ea4ff81c67b47ab416da0015d5c592aafc535d
|
| 3 |
+
size 9148
|
policy_preprocessor.json
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "policy_preprocessor",
|
| 3 |
+
"steps": [
|
| 4 |
+
{
|
| 5 |
+
"registry_name": "rename_observations_processor",
|
| 6 |
+
"config": {
|
| 7 |
+
"rename_map": {}
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
{
|
| 11 |
+
"registry_name": "to_batch_processor",
|
| 12 |
+
"config": {}
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"registry_name": "device_processor",
|
| 16 |
+
"config": {
|
| 17 |
+
"device": "cuda",
|
| 18 |
+
"float_dtype": null
|
| 19 |
+
}
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"registry_name": "normalizer_processor",
|
| 23 |
+
"config": {
|
| 24 |
+
"eps": 1e-08,
|
| 25 |
+
"features": {
|
| 26 |
+
"observation.images.base_0_rgb": {
|
| 27 |
+
"type": "VISUAL",
|
| 28 |
+
"shape": [
|
| 29 |
+
3,
|
| 30 |
+
128,
|
| 31 |
+
128
|
| 32 |
+
]
|
| 33 |
+
},
|
| 34 |
+
"observation.images.base_1_rgb": {
|
| 35 |
+
"type": "VISUAL",
|
| 36 |
+
"shape": [
|
| 37 |
+
3,
|
| 38 |
+
128,
|
| 39 |
+
128
|
| 40 |
+
]
|
| 41 |
+
},
|
| 42 |
+
"observation.images.left_wrist_0_rgb": {
|
| 43 |
+
"type": "VISUAL",
|
| 44 |
+
"shape": [
|
| 45 |
+
3,
|
| 46 |
+
128,
|
| 47 |
+
128
|
| 48 |
+
]
|
| 49 |
+
},
|
| 50 |
+
"observation.state": {
|
| 51 |
+
"type": "STATE",
|
| 52 |
+
"shape": [
|
| 53 |
+
9
|
| 54 |
+
]
|
| 55 |
+
},
|
| 56 |
+
"action": {
|
| 57 |
+
"type": "ACTION",
|
| 58 |
+
"shape": [
|
| 59 |
+
12
|
| 60 |
+
]
|
| 61 |
+
}
|
| 62 |
+
},
|
| 63 |
+
"norm_map": {
|
| 64 |
+
"VISUAL": "MEAN_STD",
|
| 65 |
+
"STATE": "MIN_MAX",
|
| 66 |
+
"ACTION": "MIN_MAX"
|
| 67 |
+
}
|
| 68 |
+
},
|
| 69 |
+
"state_file": "policy_preprocessor_step_3_normalizer_processor.safetensors"
|
| 70 |
+
}
|
| 71 |
+
]
|
| 72 |
+
}
|
policy_preprocessor_step_3_normalizer_processor.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b6e36607d32a5e14bd6d4de88ea4ff81c67b47ab416da0015d5c592aafc535d
|
| 3 |
+
size 9148
|
train_config.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|