tinkerbuggy
commited on
Commit
•
c675593
1
Parent(s):
0eaf828
Upload folder using huggingface_hub
Browse files- README.md +12 -0
- config.json +55 -0
- config.yaml +158 -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,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.images.laptop": "mean_std",
|
22 |
+
"observation.state": "min_max"
|
23 |
+
},
|
24 |
+
"input_shapes": {
|
25 |
+
"observation.images.laptop": [
|
26 |
+
3,
|
27 |
+
480,
|
28 |
+
640
|
29 |
+
],
|
30 |
+
"observation.state": [
|
31 |
+
6
|
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 |
+
6
|
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 |
+
"vision_backbone": "resnet18"
|
55 |
+
}
|
config.yaml
ADDED
@@ -0,0 +1,158 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
resume: false
|
2 |
+
device: cuda
|
3 |
+
use_amp: false
|
4 |
+
seed: 100000
|
5 |
+
dataset_repo_id: tinkerbuggy/sugar_can_coffee_cup
|
6 |
+
video_backend: pyav
|
7 |
+
training:
|
8 |
+
offline_steps: 2000
|
9 |
+
num_workers: 4
|
10 |
+
batch_size: 64
|
11 |
+
eval_freq: -1
|
12 |
+
log_freq: 200
|
13 |
+
save_checkpoint: true
|
14 |
+
save_freq: 300
|
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.001
|
55 |
+
lr_scheduler: cosine
|
56 |
+
lr_warmup_steps: 500
|
57 |
+
adam_betas:
|
58 |
+
- 0.95
|
59 |
+
- 0.999
|
60 |
+
adam_eps: 1.0e-06
|
61 |
+
adam_weight_decay: 0.0001
|
62 |
+
delta_timestamps:
|
63 |
+
observation.images.laptop:
|
64 |
+
- -0.03333333333333333
|
65 |
+
- 0.0
|
66 |
+
observation.state:
|
67 |
+
- -0.03333333333333333
|
68 |
+
- 0.0
|
69 |
+
action:
|
70 |
+
- -0.03333333333333333
|
71 |
+
- 0.0
|
72 |
+
- 0.03333333333333333
|
73 |
+
- 0.06666666666666667
|
74 |
+
- 0.1
|
75 |
+
- 0.13333333333333333
|
76 |
+
- 0.16666666666666666
|
77 |
+
- 0.2
|
78 |
+
- 0.23333333333333334
|
79 |
+
- 0.26666666666666666
|
80 |
+
- 0.3
|
81 |
+
- 0.3333333333333333
|
82 |
+
- 0.36666666666666664
|
83 |
+
- 0.4
|
84 |
+
- 0.43333333333333335
|
85 |
+
- 0.4666666666666667
|
86 |
+
drop_n_last_frames: 7
|
87 |
+
eval:
|
88 |
+
n_episodes: 1
|
89 |
+
batch_size: 1
|
90 |
+
use_async_envs: true
|
91 |
+
wandb:
|
92 |
+
enable: true
|
93 |
+
disable_artifact: false
|
94 |
+
project: lerobot
|
95 |
+
notes: ''
|
96 |
+
fps: 30
|
97 |
+
env:
|
98 |
+
name: real_world
|
99 |
+
task: null
|
100 |
+
state_dim: 6
|
101 |
+
action_dim: 6
|
102 |
+
fps: ${fps}
|
103 |
+
override_dataset_stats:
|
104 |
+
observation.images.laptop:
|
105 |
+
mean:
|
106 |
+
- - - 0.485
|
107 |
+
- - - 0.456
|
108 |
+
- - - 0.406
|
109 |
+
std:
|
110 |
+
- - - 0.229
|
111 |
+
- - - 0.224
|
112 |
+
- - - 0.225
|
113 |
+
policy:
|
114 |
+
name: diffusion
|
115 |
+
n_obs_steps: 2
|
116 |
+
horizon: 16
|
117 |
+
n_action_steps: 8
|
118 |
+
input_shapes:
|
119 |
+
observation.images.laptop:
|
120 |
+
- 3
|
121 |
+
- 480
|
122 |
+
- 640
|
123 |
+
observation.state:
|
124 |
+
- ${env.state_dim}
|
125 |
+
output_shapes:
|
126 |
+
action:
|
127 |
+
- ${env.action_dim}
|
128 |
+
input_normalization_modes:
|
129 |
+
observation.images.laptop: mean_std
|
130 |
+
observation.state: min_max
|
131 |
+
output_normalization_modes:
|
132 |
+
action: min_max
|
133 |
+
vision_backbone: resnet18
|
134 |
+
crop_shape:
|
135 |
+
- 84
|
136 |
+
- 84
|
137 |
+
crop_is_random: true
|
138 |
+
pretrained_backbone_weights: null
|
139 |
+
use_group_norm: true
|
140 |
+
spatial_softmax_num_keypoints: 32
|
141 |
+
down_dims:
|
142 |
+
- 512
|
143 |
+
- 1024
|
144 |
+
- 2048
|
145 |
+
kernel_size: 5
|
146 |
+
n_groups: 8
|
147 |
+
diffusion_step_embed_dim: 128
|
148 |
+
use_film_scale_modulation: true
|
149 |
+
noise_scheduler_type: DDPM
|
150 |
+
num_train_timesteps: 100
|
151 |
+
beta_schedule: squaredcos_cap_v2
|
152 |
+
beta_start: 0.0001
|
153 |
+
beta_end: 0.02
|
154 |
+
prediction_type: epsilon
|
155 |
+
clip_sample: true
|
156 |
+
clip_sample_range: 1.0
|
157 |
+
num_inference_steps: null
|
158 |
+
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:eef7188079ffeac28475df52349ef6d5a6f1111cb282b8e348df17850fd48486
|
3 |
+
size 1051837392
|