Upload YAML configuration
Browse files- config.yaml +187 -0
config.yaml
ADDED
@@ -0,0 +1,187 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
resume: false
|
2 |
+
device: cuda
|
3 |
+
use_amp: false
|
4 |
+
seed: 0
|
5 |
+
dataset_repo_id: iantc104/rpl_peg_in_hole
|
6 |
+
video_backend: pyav
|
7 |
+
training:
|
8 |
+
offline_steps: 100000
|
9 |
+
num_workers: 4
|
10 |
+
batch_size: 8
|
11 |
+
eval_freq: 20000
|
12 |
+
log_freq: 200
|
13 |
+
save_checkpoint: true
|
14 |
+
save_freq: 20000
|
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 |
+
lr: 1.0e-05
|
54 |
+
lr_backbone: 1.0e-05
|
55 |
+
weight_decay: 0.0001
|
56 |
+
grad_clip_norm: 10
|
57 |
+
delta_timestamps:
|
58 |
+
action:
|
59 |
+
- 0.0
|
60 |
+
- 0.02
|
61 |
+
- 0.04
|
62 |
+
- 0.06
|
63 |
+
- 0.08
|
64 |
+
- 0.1
|
65 |
+
- 0.12
|
66 |
+
- 0.14
|
67 |
+
- 0.16
|
68 |
+
- 0.18
|
69 |
+
- 0.2
|
70 |
+
- 0.22
|
71 |
+
- 0.24
|
72 |
+
- 0.26
|
73 |
+
- 0.28
|
74 |
+
- 0.3
|
75 |
+
- 0.32
|
76 |
+
- 0.34
|
77 |
+
- 0.36
|
78 |
+
- 0.38
|
79 |
+
- 0.4
|
80 |
+
- 0.42
|
81 |
+
- 0.44
|
82 |
+
- 0.46
|
83 |
+
- 0.48
|
84 |
+
- 0.5
|
85 |
+
- 0.52
|
86 |
+
- 0.54
|
87 |
+
- 0.56
|
88 |
+
- 0.58
|
89 |
+
- 0.6
|
90 |
+
- 0.62
|
91 |
+
- 0.64
|
92 |
+
- 0.66
|
93 |
+
- 0.68
|
94 |
+
- 0.7
|
95 |
+
- 0.72
|
96 |
+
- 0.74
|
97 |
+
- 0.76
|
98 |
+
- 0.78
|
99 |
+
- 0.8
|
100 |
+
- 0.82
|
101 |
+
- 0.84
|
102 |
+
- 0.86
|
103 |
+
- 0.88
|
104 |
+
- 0.9
|
105 |
+
- 0.92
|
106 |
+
- 0.94
|
107 |
+
- 0.96
|
108 |
+
- 0.98
|
109 |
+
eval:
|
110 |
+
n_episodes: 50
|
111 |
+
batch_size: 10
|
112 |
+
use_async_envs: false
|
113 |
+
wandb:
|
114 |
+
enable: true
|
115 |
+
disable_artifact: false
|
116 |
+
project: rpl
|
117 |
+
notes: ''
|
118 |
+
fps: 50
|
119 |
+
env:
|
120 |
+
name: rpl
|
121 |
+
task: PegInHoleEnv-v0
|
122 |
+
state_dim: 16
|
123 |
+
action_dim: 10
|
124 |
+
fps: ${fps}
|
125 |
+
episode_length: 300
|
126 |
+
gym:
|
127 |
+
render_mode: rgb_array
|
128 |
+
override_dataset_stats:
|
129 |
+
observation.images.scene:
|
130 |
+
mean:
|
131 |
+
- - - 0.485
|
132 |
+
- - - 0.456
|
133 |
+
- - - 0.406
|
134 |
+
std:
|
135 |
+
- - - 0.229
|
136 |
+
- - - 0.224
|
137 |
+
- - - 0.225
|
138 |
+
observation.images.wrist:
|
139 |
+
mean:
|
140 |
+
- - - 0.485
|
141 |
+
- - - 0.456
|
142 |
+
- - - 0.406
|
143 |
+
std:
|
144 |
+
- - - 0.229
|
145 |
+
- - - 0.224
|
146 |
+
- - - 0.225
|
147 |
+
policy:
|
148 |
+
name: act
|
149 |
+
n_obs_steps: 1
|
150 |
+
chunk_size: 50
|
151 |
+
n_action_steps: 50
|
152 |
+
input_shapes:
|
153 |
+
observation.images.scene:
|
154 |
+
- 3
|
155 |
+
- 480
|
156 |
+
- 640
|
157 |
+
observation.images.wrist:
|
158 |
+
- 3
|
159 |
+
- 480
|
160 |
+
- 640
|
161 |
+
observation.state:
|
162 |
+
- ${env.state_dim}
|
163 |
+
output_shapes:
|
164 |
+
action:
|
165 |
+
- ${env.action_dim}
|
166 |
+
input_normalization_modes:
|
167 |
+
observation.images.scene: mean_std
|
168 |
+
observation.images.wrist: mean_std
|
169 |
+
observation.state: mean_std
|
170 |
+
output_normalization_modes:
|
171 |
+
action: mean_std
|
172 |
+
vision_backbone: resnet18
|
173 |
+
pretrained_backbone_weights: ResNet18_Weights.IMAGENET1K_V1
|
174 |
+
replace_final_stride_with_dilation: false
|
175 |
+
pre_norm: false
|
176 |
+
dim_model: 512
|
177 |
+
n_heads: 8
|
178 |
+
dim_feedforward: 3200
|
179 |
+
feedforward_activation: relu
|
180 |
+
n_encoder_layers: 4
|
181 |
+
n_decoder_layers: 1
|
182 |
+
use_vae: true
|
183 |
+
latent_dim: 32
|
184 |
+
n_vae_encoder_layers: 4
|
185 |
+
temporal_ensemble_coeff: null
|
186 |
+
dropout: 0.1
|
187 |
+
kl_weight: 10.0
|