Upload folder using huggingface_hub
Browse files- README.md +12 -0
- config.json +56 -0
- config.yaml +179 -0
- model.safetensors +3 -0
README.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: lerobot
|
| 3 |
+
tags:
|
| 4 |
+
- diffusion-policy
|
| 5 |
+
- model_hub_mixin
|
| 6 |
+
- pytorch_model_hub_mixin
|
| 7 |
+
- robotics
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
This model has been pushed to the Hub using the [PytorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin) integration:
|
| 11 |
+
- Library: https://github.com/huggingface/lerobot
|
| 12 |
+
- Docs: [More Information Needed]
|
config.json
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"beta_end": 0.02,
|
| 3 |
+
"beta_schedule": "squaredcos_cap_v2",
|
| 4 |
+
"beta_start": 0.0001,
|
| 5 |
+
"clip_sample": true,
|
| 6 |
+
"clip_sample_range": 1.0,
|
| 7 |
+
"crop_is_random": true,
|
| 8 |
+
"crop_shape": [
|
| 9 |
+
84,
|
| 10 |
+
84
|
| 11 |
+
],
|
| 12 |
+
"diffusion_step_embed_dim": 128,
|
| 13 |
+
"do_mask_loss_for_padding": false,
|
| 14 |
+
"down_dims": [
|
| 15 |
+
512,
|
| 16 |
+
1024,
|
| 17 |
+
2048
|
| 18 |
+
],
|
| 19 |
+
"horizon": 16,
|
| 20 |
+
"input_normalization_modes": {
|
| 21 |
+
"observation.image": "mean_std",
|
| 22 |
+
"observation.state": "min_max"
|
| 23 |
+
},
|
| 24 |
+
"input_shapes": {
|
| 25 |
+
"observation.image": [
|
| 26 |
+
3,
|
| 27 |
+
96,
|
| 28 |
+
96
|
| 29 |
+
],
|
| 30 |
+
"observation.state": [
|
| 31 |
+
2
|
| 32 |
+
]
|
| 33 |
+
},
|
| 34 |
+
"kernel_size": 5,
|
| 35 |
+
"n_action_steps": 8,
|
| 36 |
+
"n_groups": 8,
|
| 37 |
+
"n_obs_steps": 2,
|
| 38 |
+
"noise_scheduler_type": "DDPM",
|
| 39 |
+
"num_inference_steps": null,
|
| 40 |
+
"num_train_timesteps": 100,
|
| 41 |
+
"output_normalization_modes": {
|
| 42 |
+
"action": "min_max"
|
| 43 |
+
},
|
| 44 |
+
"output_shapes": {
|
| 45 |
+
"action": [
|
| 46 |
+
2
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"prediction_type": "epsilon",
|
| 50 |
+
"pretrained_backbone_weights": null,
|
| 51 |
+
"spatial_softmax_num_keypoints": 32,
|
| 52 |
+
"use_film_scale_modulation": true,
|
| 53 |
+
"use_group_norm": true,
|
| 54 |
+
"use_separate_rgb_encoder_per_camera": false,
|
| 55 |
+
"vision_backbone": "resnet18"
|
| 56 |
+
}
|
config.yaml
ADDED
|
@@ -0,0 +1,179 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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_repo_id: lerobot/pusht
|
| 6 |
+
video_backend: pyav
|
| 7 |
+
training:
|
| 8 |
+
offline_steps: 75000
|
| 9 |
+
num_workers: 64
|
| 10 |
+
batch_size: 64
|
| 11 |
+
eval_freq: 25000
|
| 12 |
+
log_freq: 200
|
| 13 |
+
save_checkpoint: true
|
| 14 |
+
save_freq: 25000
|
| 15 |
+
online_steps: 0
|
| 16 |
+
online_rollout_n_episodes: 1
|
| 17 |
+
online_rollout_batch_size: 1
|
| 18 |
+
online_steps_between_rollouts: 1
|
| 19 |
+
online_sampling_ratio: 0.5
|
| 20 |
+
online_env_seed: null
|
| 21 |
+
online_buffer_capacity: null
|
| 22 |
+
online_buffer_seed_size: 0
|
| 23 |
+
do_online_rollout_async: false
|
| 24 |
+
image_transforms:
|
| 25 |
+
enable: false
|
| 26 |
+
max_num_transforms: 3
|
| 27 |
+
random_order: false
|
| 28 |
+
brightness:
|
| 29 |
+
weight: 1
|
| 30 |
+
min_max:
|
| 31 |
+
- 0.8
|
| 32 |
+
- 1.2
|
| 33 |
+
contrast:
|
| 34 |
+
weight: 1
|
| 35 |
+
min_max:
|
| 36 |
+
- 0.8
|
| 37 |
+
- 1.2
|
| 38 |
+
saturation:
|
| 39 |
+
weight: 1
|
| 40 |
+
min_max:
|
| 41 |
+
- 0.5
|
| 42 |
+
- 1.5
|
| 43 |
+
hue:
|
| 44 |
+
weight: 1
|
| 45 |
+
min_max:
|
| 46 |
+
- -0.05
|
| 47 |
+
- 0.05
|
| 48 |
+
sharpness:
|
| 49 |
+
weight: 1
|
| 50 |
+
min_max:
|
| 51 |
+
- 0.8
|
| 52 |
+
- 1.2
|
| 53 |
+
grad_clip_norm: 10
|
| 54 |
+
lr: 0.0001
|
| 55 |
+
lr_scheduler: cosine
|
| 56 |
+
lr_warmup_steps: 500
|
| 57 |
+
adam_betas:
|
| 58 |
+
- 0.95
|
| 59 |
+
- 0.999
|
| 60 |
+
adam_eps: 1.0e-08
|
| 61 |
+
adam_weight_decay: 1.0e-06
|
| 62 |
+
delta_timestamps:
|
| 63 |
+
observation.image:
|
| 64 |
+
- -0.1
|
| 65 |
+
- 0.0
|
| 66 |
+
observation.state:
|
| 67 |
+
- -0.1
|
| 68 |
+
- 0.0
|
| 69 |
+
action:
|
| 70 |
+
- -0.1
|
| 71 |
+
- 0.0
|
| 72 |
+
- 0.1
|
| 73 |
+
- 0.2
|
| 74 |
+
- 0.3
|
| 75 |
+
- 0.4
|
| 76 |
+
- 0.5
|
| 77 |
+
- 0.6
|
| 78 |
+
- 0.7
|
| 79 |
+
- 0.8
|
| 80 |
+
- 0.9
|
| 81 |
+
- 1.0
|
| 82 |
+
- 1.1
|
| 83 |
+
- 1.2
|
| 84 |
+
- 1.3
|
| 85 |
+
- 1.4
|
| 86 |
+
drop_n_last_frames: 7
|
| 87 |
+
eval:
|
| 88 |
+
n_episodes: 50
|
| 89 |
+
batch_size: 50
|
| 90 |
+
use_async_envs: false
|
| 91 |
+
wandb:
|
| 92 |
+
enable: true
|
| 93 |
+
disable_artifact: false
|
| 94 |
+
project: lerobot
|
| 95 |
+
notes: ''
|
| 96 |
+
fps: 10
|
| 97 |
+
env:
|
| 98 |
+
name: pusht
|
| 99 |
+
task: PushT-v0
|
| 100 |
+
image_size: 96
|
| 101 |
+
state_dim: 2
|
| 102 |
+
action_dim: 2
|
| 103 |
+
fps: ${fps}
|
| 104 |
+
episode_length: 300
|
| 105 |
+
gym:
|
| 106 |
+
obs_type: pixels_agent_pos
|
| 107 |
+
render_mode: rgb_array
|
| 108 |
+
visualization_width: 384
|
| 109 |
+
visualization_height: 384
|
| 110 |
+
override_dataset_stats:
|
| 111 |
+
observation.image:
|
| 112 |
+
mean:
|
| 113 |
+
- - - 0.5
|
| 114 |
+
- - - 0.5
|
| 115 |
+
- - - 0.5
|
| 116 |
+
std:
|
| 117 |
+
- - - 0.5
|
| 118 |
+
- - - 0.5
|
| 119 |
+
- - - 0.5
|
| 120 |
+
observation.state:
|
| 121 |
+
min:
|
| 122 |
+
- 13.456424
|
| 123 |
+
- 32.938293
|
| 124 |
+
max:
|
| 125 |
+
- 496.14618
|
| 126 |
+
- 510.9579
|
| 127 |
+
action:
|
| 128 |
+
min:
|
| 129 |
+
- 12.0
|
| 130 |
+
- 25.0
|
| 131 |
+
max:
|
| 132 |
+
- 511.0
|
| 133 |
+
- 511.0
|
| 134 |
+
policy:
|
| 135 |
+
name: diffusion
|
| 136 |
+
n_obs_steps: 2
|
| 137 |
+
horizon: 16
|
| 138 |
+
n_action_steps: 8
|
| 139 |
+
input_shapes:
|
| 140 |
+
observation.image:
|
| 141 |
+
- 3
|
| 142 |
+
- 96
|
| 143 |
+
- 96
|
| 144 |
+
observation.state:
|
| 145 |
+
- ${env.state_dim}
|
| 146 |
+
output_shapes:
|
| 147 |
+
action:
|
| 148 |
+
- ${env.action_dim}
|
| 149 |
+
input_normalization_modes:
|
| 150 |
+
observation.image: mean_std
|
| 151 |
+
observation.state: min_max
|
| 152 |
+
output_normalization_modes:
|
| 153 |
+
action: min_max
|
| 154 |
+
vision_backbone: resnet18
|
| 155 |
+
crop_shape:
|
| 156 |
+
- 84
|
| 157 |
+
- 84
|
| 158 |
+
crop_is_random: true
|
| 159 |
+
pretrained_backbone_weights: null
|
| 160 |
+
use_group_norm: true
|
| 161 |
+
spatial_softmax_num_keypoints: 32
|
| 162 |
+
down_dims:
|
| 163 |
+
- 512
|
| 164 |
+
- 1024
|
| 165 |
+
- 2048
|
| 166 |
+
kernel_size: 5
|
| 167 |
+
n_groups: 8
|
| 168 |
+
diffusion_step_embed_dim: 128
|
| 169 |
+
use_film_scale_modulation: true
|
| 170 |
+
noise_scheduler_type: DDPM
|
| 171 |
+
num_train_timesteps: 100
|
| 172 |
+
beta_schedule: squaredcos_cap_v2
|
| 173 |
+
beta_start: 0.0001
|
| 174 |
+
beta_end: 0.02
|
| 175 |
+
prediction_type: epsilon
|
| 176 |
+
clip_sample: true
|
| 177 |
+
clip_sample_range: 1.0
|
| 178 |
+
num_inference_steps: null
|
| 179 |
+
do_mask_loss_for_padding: false
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ebd4f2ba3500b315a4f45f6d7ff6c6acfd3891c768fbae945cdc17e7ceff5e76
|
| 3 |
+
size 1050862408
|