aractingi HF Staff commited on
Commit
400ceeb
·
verified ·
1 Parent(s): ab116ab

Upload 2 files

Browse files
env_config_gym_hil_il.json ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "hil",
3
+ "wrapper": {
4
+ "gripper_penalty": -0.02,
5
+ "display_cameras": false,
6
+ "add_joint_velocity_to_observation": true,
7
+ "add_ee_pose_to_observation": true,
8
+ "crop_params_dict": {
9
+ "observation.images.front": [
10
+ 0,
11
+ 0,
12
+ 128,
13
+ 128
14
+ ],
15
+ "observation.images.wrist": [
16
+ 0,
17
+ 0,
18
+ 128,
19
+ 128
20
+ ]
21
+ },
22
+ "resize_size": [
23
+ 128,
24
+ 128
25
+ ],
26
+ "control_time_s": 15.0,
27
+ "use_gripper": true,
28
+ "fixed_reset_joint_positions": [
29
+ 0.0,
30
+ 0.195,
31
+ 0.0,
32
+ -2.43,
33
+ 0.0,
34
+ 2.62,
35
+ 0.785
36
+ ],
37
+ "reset_time_s": 2.0,
38
+ "control_mode": "gamepad"
39
+ },
40
+ "name": "franka_sim",
41
+ "mode": "record",
42
+ "repo_id": "pepijn223/il_gym0",
43
+ "dataset_root": null,
44
+ "task": "PandaPickCubeGamepad-v0",
45
+ "num_episodes": 30,
46
+ "episode": 0,
47
+ "pretrained_policy_name_or_path": null,
48
+ "device": "mps",
49
+ "push_to_hub": true,
50
+ "fps": 10,
51
+ "features": {
52
+ "observation.images.front": {
53
+ "type": "VISUAL",
54
+ "shape": [
55
+ 3,
56
+ 128,
57
+ 128
58
+ ]
59
+ },
60
+ "observation.images.wrist": {
61
+ "type": "VISUAL",
62
+ "shape": [
63
+ 3,
64
+ 128,
65
+ 128
66
+ ]
67
+ },
68
+ "observation.state": {
69
+ "type": "STATE",
70
+ "shape": [
71
+ 18
72
+ ]
73
+ },
74
+ "action": {
75
+ "type": "ACTION",
76
+ "shape": [
77
+ 4
78
+ ]
79
+ }
80
+ },
81
+ "features_map": {
82
+ "observation.images.front": "observation.images.front",
83
+ "observation.images.wrist": "observation.images.wrist",
84
+ "observation.state": "observation.state",
85
+ "action": "action"
86
+ },
87
+ "reward_classifier_pretrained_path": null
88
+ }
eval_config_gym_hil.json ADDED
@@ -0,0 +1,173 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "output_dir": null,
3
+ "job_name": "default",
4
+ "resume": false,
5
+ "seed": 1000,
6
+ "num_workers": 4,
7
+ "batch_size": 256,
8
+ "steps": 100000,
9
+ "log_freq": 500,
10
+ "save_checkpoint": true,
11
+ "save_freq": 2000000,
12
+ "wandb": {
13
+ "enable": true,
14
+ "project": "so100_real",
15
+ "disable_artifact": true
16
+ },
17
+ "dataset": {
18
+ "repo_id": "pepijn223/il_gym0",
19
+ "use_imagenet_stats": false
20
+ },
21
+ "policy": {
22
+ "type": "act",
23
+ "n_obs_steps": 1,
24
+ "normalization_mapping": {
25
+ "VISUAL": "MEAN_STD",
26
+ "STATE": "MEAN_STD",
27
+ "ACTION": "MEAN_STD"
28
+ },
29
+ "input_features": {
30
+ "observation.state": {
31
+ "type": "STATE",
32
+ "shape": [
33
+ 18
34
+ ]
35
+ },
36
+ "observation.images.front": {
37
+ "type": "VISUAL",
38
+ "shape": [
39
+ 3,
40
+ 128,
41
+ 128
42
+ ]
43
+ },
44
+ "observation.images.wrist": {
45
+ "type": "VISUAL",
46
+ "shape": [
47
+ 3,
48
+ 128,
49
+ 128
50
+ ]
51
+ }
52
+ },
53
+ "output_features": {
54
+ "action": {
55
+ "type": "ACTION",
56
+ "shape": [
57
+ 4
58
+ ]
59
+ }
60
+ },
61
+ "device": "cpu",
62
+ "use_amp": false,
63
+ "chunk_size": 100,
64
+ "n_action_steps": 100,
65
+ "vision_backbone": "resnet18",
66
+ "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
67
+ "replace_final_stride_with_dilation": false,
68
+ "pre_norm": false,
69
+ "dim_model": 512,
70
+ "n_heads": 8,
71
+ "dim_feedforward": 3200,
72
+ "feedforward_activation": "relu",
73
+ "n_encoder_layers": 4,
74
+ "n_decoder_layers": 1,
75
+ "use_vae": true,
76
+ "latent_dim": 32,
77
+ "n_vae_encoder_layers": 4,
78
+ "temporal_ensemble_coeff": null,
79
+ "dropout": 0.1,
80
+ "kl_weight": 10.0,
81
+ "optimizer_lr": 1e-05,
82
+ "optimizer_weight_decay": 0.0001,
83
+ "optimizer_lr_backbone": 1e-05
84
+ },
85
+ "env": {
86
+ "type": "hil",
87
+ "wrapper": {
88
+ "gripper_penalty": 0,
89
+ "display_cameras": false,
90
+ "add_joint_velocity_to_observation": true,
91
+ "add_ee_pose_to_observation": true,
92
+ "crop_params_dict": {
93
+ "observation.images.front": [
94
+ 0,
95
+ 0,
96
+ 128,
97
+ 128
98
+ ],
99
+ "observation.images.wrist": [
100
+ 0,
101
+ 0,
102
+ 128,
103
+ 128
104
+ ]
105
+ },
106
+ "resize_size": [
107
+ 128,
108
+ 128
109
+ ],
110
+ "control_time_s": 15.0,
111
+ "use_gripper": true,
112
+ "fixed_reset_joint_positions": [
113
+ 0.0,
114
+ 0.195,
115
+ 0.0,
116
+ -2.43,
117
+ 0.0,
118
+ 2.62,
119
+ 0.785
120
+ ],
121
+ "reset_time_s": 2.0,
122
+ "control_mode": "gamepad"
123
+ },
124
+ "name": "franka_sim",
125
+ "mode": "eval",
126
+ "repo_id": null,
127
+ "dataset_root": null,
128
+ "task": "PandaPickCubeGamepad-v0",
129
+ "num_episodes": 30,
130
+ "episode": 0,
131
+ "pretrained_policy_name_or_path": "pepijn223/il_sim_test0",
132
+ "device": "cpu",
133
+ "push_to_hub": true,
134
+ "fps": 10,
135
+ "features": {
136
+ "observation.images.front": {
137
+ "type": "VISUAL",
138
+ "shape": [
139
+ 3,
140
+ 128,
141
+ 128
142
+ ]
143
+ },
144
+ "observation.images.wrist": {
145
+ "type": "VISUAL",
146
+ "shape": [
147
+ 3,
148
+ 128,
149
+ 128
150
+ ]
151
+ },
152
+ "observation.state": {
153
+ "type": "STATE",
154
+ "shape": [
155
+ 18
156
+ ]
157
+ },
158
+ "action": {
159
+ "type": "ACTION",
160
+ "shape": [
161
+ 3
162
+ ]
163
+ }
164
+ },
165
+ "features_map": {
166
+ "observation.images.front": "observation.images.front",
167
+ "observation.images.wrist": "observation.images.wrist",
168
+ "observation.state": "observation.state",
169
+ "action": "action"
170
+ },
171
+ "reward_classifier_pretrained_path": null
172
+ }
173
+ }