add_configs

#1
by aractingi HF Staff - opened
README.md CHANGED
@@ -4,15 +4,8 @@ A repository that contains example json files that can be used for different app
4
 
5
  Current available configs:
6
 
7
- - RL :
8
- - env_config.json: Environment config for a real robot setup using a gamepad for teleoperation and an SO10* arm as the main agent. Using `gym_manipulator.py`, one can use this config to teleoperate the robot and record a dataset for reinforcement learning.
9
- - train_config.json: Training config for the HIL-SERL implementation in LeRobot on the real robot using the similar environment configuration to the `env_config.json` in the same directory.
10
- - gym_hil:
11
- - env_config.json: Environment config for simulation using the `gym_hil` environment.
12
- - train_config.json: Training config for the HIL-SERL implementation in LeRobot for simulated environments.
13
- - Sim IL:
14
- - env_config.json: Environment config for simulation using the `gym_hil` environment. You can use this configuration to collect a dataset in simulation that can be used for imitation learning or reinforcement learning.
15
- - eval_config.json: Evaluation config for models trained on datasets collected from `gym_hil` environment.
16
- - Reward Classifier:
17
- - config.json: Main configuration for training a reward classifier.
18
-
 
4
 
5
  Current available configs:
6
 
7
+ env_config_so100.json: real robot environment configuration to be used to teleoperate, record dataset and replay a dataset on the real robot with the lerobot/scripts/rl/gym_manipulator.py script.
8
+ train_config_hilserl_so100.json: training config on the real robot with the HILSerl RL framework in LeRobot.
9
+ gym_hil_env.json: simulated environment configuration for the gym_hil mujoco based env.
10
+ train_gym_hil_env.json: training configuration for gym_hil with the HILSerl RL framework in LeRobot.
11
+ reward_classifier_train_config.json: configuration to train a reward classifier with LeRobot.
 
 
 
 
 
 
 
reward_classifier/config.json DELETED
@@ -1,54 +0,0 @@
1
- {
2
- "dataset": {
3
- "repo_id": "hf_username/dataset_name",
4
- "root": null
5
- },
6
- "policy": {
7
- "type": "reward_classifier",
8
- "model_name": "helper2424/resnet10",
9
- "model_type": "cnn",
10
- "num_cameras": 2,
11
- "num_classes": 2,
12
- "hidden_dim": 256,
13
- "dropout_rate": 0.1,
14
- "learning_rate": 1e-4,
15
- "device": "cuda",
16
- "use_amp": true,
17
- "input_features": {
18
- "observation.images.side": {
19
- "type": "VISUAL",
20
- "shape": [
21
- 3,
22
- 128,
23
- 128
24
- ]
25
- },
26
- "observation.images.front": {
27
- "type": "VISUAL",
28
- "shape": [
29
- 3,
30
- 128,
31
- 128
32
- ]
33
- }
34
- }
35
- },
36
- "batch_size": 16,
37
- "num_workers": 4,
38
- "steps": 5000,
39
- "log_freq": 10,
40
- "eval_freq": 1000,
41
- "save_freq": 1000,
42
- "save_checkpoint": true,
43
- "seed": 2,
44
- "resume": false,
45
- "optimizer": {
46
- "grad_clip_norm": 10.0
47
- },
48
- "wandb": {
49
- "enable": true,
50
- "project": "reward-classifier",
51
- "disable_artifact": false
52
- },
53
- "job_name": "reward-classifier"
54
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
rl/env_config.json DELETED
@@ -1,94 +0,0 @@
1
- {
2
- "env": {
3
- "robot": {
4
- "type": "so100_follower",
5
- "port": "/dev/tty.usbmodem5A460822851",
6
- "id": "turqoise",
7
- "cameras": {
8
- "top": {
9
- "type": "opencv",
10
- "index_or_path": 0,
11
- "height": 480,
12
- "width": 640,
13
- "fps": 30
14
- }
15
- }
16
- },
17
- "teleop": {
18
- "type": "gamepad",
19
- "use_gripper": true
20
- },
21
- "processor": {
22
- "control_mode": "gamepad",
23
- "observation": {
24
- "display_cameras": false,
25
- "add_joint_velocity_to_observation": true,
26
- "add_current_to_observation": true,
27
- "add_ee_pose_to_observation": true
28
- },
29
- "image_preprocessing": {
30
- "crop_params_dict": {
31
- "observation.images.top": [49, 189, 262, 305]
32
- },
33
- "resize_size": [128, 128]
34
- },
35
- "gripper": {
36
- "use_gripper": true,
37
- "gripper_penalty": -0.02,
38
- "gripper_penalty_in_reward": false
39
- },
40
- "reset": {
41
- "fixed_reset_joint_positions": [
42
- 0.0,
43
- 0.0,
44
- 0.0,
45
- 90.0,
46
- 0.0,
47
- 30.0
48
- ],
49
- "reset_time_s": 2.5,
50
- "control_time_s": 20.0,
51
- "terminate_on_success": true
52
- },
53
- "inverse_kinematics": {
54
- "urdf_path": "/Users/michel_aractingi/code/SO-ARM100/Simulation/SO101/so101_new_calib.urdf",
55
- "target_frame_name": "gripper_frame_link",
56
- "end_effector_bounds": {
57
- "min": [
58
- 0.195,
59
- -0.065,
60
- 0.005
61
- ],
62
- "max": [
63
- 0.25,
64
- 0.065,
65
- 0.1
66
- ]
67
- },
68
- "end_effector_step_sizes": {
69
- "x": 0.02,
70
- "y": 0.02,
71
- "z": 0.02
72
- }
73
- },
74
- "reward_classifier": {
75
- "pretrained_path": null,
76
- "success_threshold": 0.5,
77
- "success_reward": 1.0
78
- },
79
- "max_gripper_pos": 30
80
- },
81
- "name": "real_robot",
82
- "fps": 10
83
- },
84
- "dataset": {
85
- "repo_id": "aractingi/pick_lift_cube_pipeline_test",
86
- "root": null,
87
- "task": "",
88
- "num_episodes_to_record": 15,
89
- "replay_episode": null,
90
- "push_to_hub": true
91
- },
92
- "mode": null,
93
- "device": "cpu"
94
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
rl/gym_hil/env_config.json DELETED
@@ -1,33 +0,0 @@
1
- {
2
- "env": {
3
- "name": "gym_hil",
4
- "task": "PandaPickCubeGamepad-v0",
5
- "fps": 10,
6
- "robot": null,
7
- "teleop": null,
8
- "processor": {
9
- "control_mode": "gamepad",
10
- "gripper": {
11
- "use_gripper": true,
12
- "gripper_penalty": -0.02,
13
- "gripper_penalty_in_reward": false
14
- },
15
- "reset": {
16
- "fixed_reset_joint_positions": [0.0, 0.195, 0.0, -2.43, 0.0, 2.62, 0.785],
17
- "reset_time_s": 2.0,
18
- "control_time_s": 15.0,
19
- "terminate_on_success": true
20
- }
21
- }
22
- },
23
- "dataset": {
24
- "repo_id": "aractingi/franka_sim_pick_lift_6",
25
- "root": null,
26
- "task": "PandaPickCubeGamepad-v0",
27
- "num_episodes_to_record": 30,
28
- "replay_episode": 0,
29
- "push_to_hub": true
30
- },
31
- "mode": null,
32
- "device": "cpu"
33
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
rl/gym_hil/train_config.json DELETED
@@ -1,172 +0,0 @@
1
- {
2
- "output_dir": null,
3
- "job_name": "franka_sim_sac",
4
- "resume": false,
5
- "seed": 1000,
6
- "num_workers": 4,
7
- "batch_size": 256,
8
- "steps": 100000,
9
- "eval_freq": 20000,
10
- "log_freq": 1,
11
- "save_checkpoint": true,
12
- "save_freq": 20000,
13
- "use_policy_training_preset": true,
14
- "optimizer": null,
15
- "scheduler": null,
16
- "wandb": {
17
- "enable": true,
18
- "project": "franka_sim",
19
- "disable_artifact": true
20
- },
21
- "dataset": {
22
- "repo_id": "aractingi/franka_sim_pick_lift_5",
23
- "use_imagenet_stats": false
24
- },
25
- "env": {
26
- "type": "gym_manipulator",
27
- "name": "gym_hil",
28
- "task": "PandaPickCubeGamepad-v0",
29
- "fps": 10,
30
- "robot": null,
31
- "teleop": null,
32
- "processor": {
33
- "control_mode": "gamepad",
34
- "gripper": {
35
- "use_gripper": true,
36
- "gripper_penalty": -0.02,
37
- "gripper_penalty_in_reward": false
38
- },
39
- "reset": {
40
- "fixed_reset_joint_positions": [0.0, 0.195, 0.0, -2.43, 0.0, 2.62, 0.785],
41
- "reset_time_s": 2.0,
42
- "control_time_s": 15.0,
43
- "terminate_on_success": true
44
- }
45
- },
46
- "features": {
47
- "observation.images.front": {
48
- "type": "VISUAL",
49
- "shape": [3, 128, 128]
50
- },
51
- "observation.images.wrist": {
52
- "type": "VISUAL",
53
- "shape": [3, 128, 128]
54
- },
55
- "observation.state": {
56
- "type": "STATE",
57
- "shape": [18]
58
- },
59
- "action": {
60
- "type": "ACTION",
61
- "shape": [3]
62
- }
63
- },
64
- "features_map": {
65
- "observation.images.front": "observation.images.front",
66
- "observation.images.wrist": "observation.images.wrist",
67
- "observation.state": "observation.state",
68
- "action": "action"
69
- }
70
- },
71
- "policy": {
72
- "type": "sac",
73
- "n_obs_steps": 1,
74
- "normalization_mapping": {
75
- "VISUAL": "MEAN_STD",
76
- "STATE": "MIN_MAX",
77
- "ENV": "MIN_MAX",
78
- "ACTION": "MIN_MAX"
79
- },
80
- "input_features": {
81
- "observation.images.front": {
82
- "type": "VISUAL",
83
- "shape": [3, 128, 128]
84
- },
85
- "observation.images.wrist": {
86
- "type": "VISUAL",
87
- "shape": [3, 128, 128]
88
- },
89
- "observation.state": {
90
- "type": "STATE",
91
- "shape": [18]
92
- }
93
- },
94
- "output_features": {
95
- "action": {
96
- "type": "ACTION",
97
- "shape": [3]
98
- }
99
- },
100
- "device": "cuda",
101
- "use_amp": false,
102
- "dataset_stats": {
103
- "observation.images.front": {
104
- "mean": [0.485, 0.456, 0.406],
105
- "std": [0.229, 0.224, 0.225]
106
- },
107
- "observation.images.wrist": {
108
- "mean": [0.485, 0.456, 0.406],
109
- "std": [0.229, 0.224, 0.225]
110
- },
111
- "observation.state": {
112
- "min": [-0.6897139549255371, -1.1421763896942139, -0.5745007991790771, -2.97829008102417, -0.2710767090320587, 1.3246592283248901, -0.04057434946298599, -0.21261805295944214, -0.4548068344593048, -0.6540042757987976, -0.3644964098930359, -1.1057522296905518, -0.40768879652023315, -0.2220114767551422, 0.0, 0.19176171720027924, -0.3013063669204712, 0.00362197193317115],
113
- "max": [0.5107022523880005, 0.5516204237937927, 0.5620884299278259, -1.3330878019332886, 0.32758936285972595, 3.119610548019409, 1.8364211320877075, 0.25358933210372925, 0.36316126585006714, 0.14765967428684235, 0.49947625398635864, 0.144814133644104, 0.2820609211921692, 0.7382049560546875, 255.0, 0.6012658476829529, 0.3005995750427246, 0.5004003643989563]
114
- },
115
- "action": {
116
- "min": [-0.025, -0.025, -0.025],
117
- "max": [0.025, 0.025, 0.025]
118
- }
119
- },
120
- "repo_id": "aractingi/franka_sim_pick_lift",
121
- "storage_device": "cpu",
122
- "vision_encoder_name": "helper2424/resnet10",
123
- "freeze_vision_encoder": true,
124
- "image_encoder_hidden_dim": 32,
125
- "shared_encoder": true,
126
- "online_steps": 1000000,
127
- "online_env_seed": 10000,
128
- "online_buffer_capacity": 100000,
129
- "offline_buffer_capacity": 100000,
130
- "online_step_before_learning": 100,
131
- "policy_update_freq": 1,
132
- "discount": 0.97,
133
- "temperature_init": 0.01,
134
- "num_critics": 2,
135
- "num_subsample_critics": null,
136
- "critic_lr": 0.0003,
137
- "actor_lr": 0.0003,
138
- "temperature_lr": 0.0003,
139
- "critic_target_update_weight": 0.005,
140
- "utd_ratio": 2,
141
- "state_encoder_hidden_dim": 256,
142
- "latent_dim": 64,
143
- "target_entropy": null,
144
- "use_backup_entropy": true,
145
- "grad_clip_norm": 10.0,
146
- "num_discrete_actions": 3,
147
- "critic_network_kwargs": {
148
- "hidden_dims": [256, 256],
149
- "activate_final": true,
150
- "final_activation": null
151
- },
152
- "actor_network_kwargs": {
153
- "hidden_dims": [256, 256],
154
- "activate_final": true
155
- },
156
- "policy_kwargs": {
157
- "use_tanh_squash": true,
158
- "std_min": 1e-5,
159
- "std_max": 5,
160
- "init_final": 0.05
161
- },
162
- "actor_learner_config": {
163
- "learner_host": "127.0.0.1",
164
- "learner_port": 50051,
165
- "policy_parameters_push_frequency": 4
166
- },
167
- "concurrency": {
168
- "actor": "threads",
169
- "learner": "threads"
170
- }
171
- }
172
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
rl/train_config.json DELETED
@@ -1,285 +0,0 @@
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": "aractingi/pick_lift_cube_pipeline_test_cropped_resized",
19
- "use_imagenet_stats": false
20
- },
21
- "policy": {
22
- "type": "sac",
23
- "n_obs_steps": 1,
24
- "normalization_mapping": {
25
- "VISUAL": "MEAN_STD",
26
- "STATE": "MIN_MAX",
27
- "ENV": "MIN_MAX",
28
- "ACTION": "MIN_MAX"
29
- },
30
- "input_features": {
31
- "observation.images.top": {
32
- "type": "VISUAL",
33
- "shape": [
34
- 3,
35
- 128,
36
- 128
37
- ]
38
- },
39
- "observation.state": {
40
- "type": "STATE",
41
- "shape": [
42
- 18
43
- ]
44
- }
45
- },
46
- "output_features": {
47
- "action": {
48
- "type": "ACTION",
49
- "shape": [
50
- 3
51
- ]
52
- }
53
- },
54
- "device": "cuda",
55
- "use_amp": false,
56
- "dataset_stats": {
57
- "observation.images.top": {
58
- "mean": [
59
- 0.485,
60
- 0.456,
61
- 0.406
62
- ],
63
- "std": [
64
- 0.229,
65
- 0.224,
66
- 0.225
67
- ]
68
- },
69
- "observation.state": {
70
- "min": [
71
- -15.0,
72
- -20.0,
73
- 10.0,
74
- 65.0,
75
- 0.0,
76
- 0.0,
77
- -40.0,
78
- -60.0,
79
- -50.0,
80
- -80.0,
81
- -10.0,
82
- -110.0,
83
- 0.26,
84
- -0.06,
85
- 0.25
86
- ],
87
- "max": [
88
- 15.0,
89
- 15.0,
90
- 40.0,
91
- 110.0,
92
- 0.5,
93
- 31.0,
94
- 53.0,
95
- 61.0,
96
- 67.0,
97
- 90.0,
98
- 6.0,
99
- 100.0,
100
- 0.32,
101
- 0.06,
102
- 0.35
103
- ]
104
- },
105
- "action": {
106
- "min": [
107
- -1.0,
108
- -1.0,
109
- -1.0
110
- ],
111
- "max": [
112
- 1.0,
113
- 1.0,
114
- 1.0
115
- ]
116
- }
117
- },
118
- "num_discrete_actions": 3,
119
- "storage_device": "cuda",
120
- "vision_encoder_name": "helper2424/resnet10",
121
- "freeze_vision_encoder": true,
122
- "image_encoder_hidden_dim": 32,
123
- "shared_encoder": true,
124
- "online_steps": 1000000,
125
- "online_env_seed": 10000,
126
- "online_buffer_capacity": 30000,
127
- "offline_buffer_capacity": 10000,
128
- "online_step_before_learning": 10,
129
- "policy_update_freq": 1,
130
- "discount": 0.97,
131
- "async_prefetch": false,
132
- "temperature_init": 0.01,
133
- "num_critics": 2,
134
- "num_subsample_critics": null,
135
- "critic_lr": 0.0003,
136
- "actor_lr": 0.0003,
137
- "temperature_lr": 0.0003,
138
- "critic_target_update_weight": 0.005,
139
- "utd_ratio": 2,
140
- "state_encoder_hidden_dim": 256,
141
- "latent_dim": 256,
142
- "target_entropy": null,
143
- "use_backup_entropy": true,
144
- "grad_clip_norm": 40.0,
145
- "critic_network_kwargs": {
146
- "hidden_dims": [
147
- 256,
148
- 256
149
- ],
150
- "activate_final": true,
151
- "final_activation": null
152
- },
153
- "actor_network_kwargs": {
154
- "hidden_dims": [
155
- 256,
156
- 256
157
- ],
158
- "activate_final": true
159
- },
160
- "policy_kwargs": {
161
- "use_tanh_squash": true,
162
- "std_min": -5,
163
- "std_max": 2,
164
- "init_final": 0.05
165
- },
166
- "actor_learner_config": {
167
- "learner_host": "127.0.0.1",
168
- "learner_port": 50051,
169
- "policy_parameters_push_frequency": 4
170
- },
171
- "concurrency": {
172
- "actor": "threads",
173
- "learner": "threads"
174
- },
175
- "repo_id": "aractingi/pick_lift_cube_policy"
176
- },
177
- "env": {
178
- "type": "gym_manipulator",
179
- "robot": {
180
- "type": "so100_follower",
181
- "port": "/dev/ttyACM0",
182
- "id": "turqoise",
183
- "cameras": {
184
- "top": {
185
- "type": "opencv",
186
- "index_or_path": 2,
187
- "height": 480,
188
- "width": 640,
189
- "fps": 30
190
- }
191
- }
192
- },
193
- "teleop": {
194
- "type": "gamepad",
195
- "use_gripper": true
196
- },
197
- "processor": {
198
- "control_mode": "gamepad",
199
- "observation": {
200
- "display_cameras": false,
201
- "add_joint_velocity_to_observation": true,
202
- "add_current_to_observation": true,
203
- "add_ee_pose_to_observation": true
204
- },
205
- "image_preprocessing": {
206
- "crop_params_dict": {
207
- "observation.images.top": [49, 189, 262, 305]
208
- },
209
- "resize_size": [128, 128]
210
- },
211
- "gripper": {
212
- "use_gripper": true,
213
- "gripper_penalty": -0.02,
214
- "gripper_penalty_in_reward": false
215
- },
216
- "reset": {
217
- "fixed_reset_joint_positions": [
218
- 0.0,
219
- 0.0,
220
- 0.0,
221
- 90.0,
222
- 0.0,
223
- 30.0
224
- ],
225
- "reset_time_s": 2.5,
226
- "control_time_s": 20.0,
227
- "terminate_on_success": true
228
- },
229
- "inverse_kinematics": {
230
- "urdf_path": "/home/rcadene/code/SO-ARM100/Simulation/SO101/so101_new_calib.urdf",
231
- "target_frame_name": "gripper_frame_link",
232
- "end_effector_bounds": {
233
- "min": [
234
- 0.195,
235
- -0.065,
236
- 0.005
237
- ],
238
- "max": [
239
- 0.25,
240
- 0.065,
241
- 0.1
242
- ]
243
- },
244
- "end_effector_step_sizes": {
245
- "x": 0.02,
246
- "y": 0.02,
247
- "z": 0.02
248
- }
249
- },
250
- "reward_classifier": {
251
- "pretrained_path": null,
252
- "success_threshold": 0.5,
253
- "success_reward": 1.0
254
- },
255
- "max_gripper_pos": 30
256
- },
257
- "name": "real_robot",
258
- "fps": 10,
259
-
260
- "task": "",
261
- "features": {
262
- "observation.images.top": {
263
- "type": "VISUAL",
264
- "shape": [
265
- 3,
266
- 128,
267
- 128
268
- ]
269
- },
270
- "observation.state": {
271
- "type": "STATE",
272
- "shape": [
273
- 18
274
- ]
275
- },
276
- "action": {
277
- "type": "ACTION",
278
- "shape": [
279
- 3
280
- ]
281
- }
282
- },
283
- "features_map": {"observation.images.top": "observation.images.top", "observation.state": "observation.state","action":"action"}
284
- }
285
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
sim_il/env_config.json DELETED
@@ -1,69 +0,0 @@
1
- {
2
- "env": {
3
- "name": "gym_hil",
4
- "task": "PandaPickCubeKeyboard-v0",
5
- "fps": 10,
6
- "robot": null,
7
- "teleop": null,
8
- "processor": {
9
- "control_mode": "gamepad",
10
- "observation": {
11
- "add_joint_velocity_to_observation": true,
12
- "add_ee_pose_to_observation": true,
13
- "display_cameras": false
14
- },
15
- "image_preprocessing": {
16
- "crop_params_dict": {
17
- "observation.images.front": [
18
- 0,
19
- 0,
20
- 128,
21
- 128
22
- ],
23
- "observation.images.wrist": [
24
- 0,
25
- 0,
26
- 128,
27
- 128
28
- ]
29
- },
30
- "resize_size": [
31
- 128,
32
- 128
33
- ]
34
- },
35
- "gripper": {
36
- "use_gripper": true,
37
- "gripper_penalty": -0.02,
38
- "gripper_penalty_in_reward": false
39
- },
40
- "reset": {
41
- "fixed_reset_joint_positions": [
42
- 0.0,
43
- 0.195,
44
- 0.0,
45
- -2.43,
46
- 0.0,
47
- 2.62,
48
- 0.785
49
- ],
50
- "reset_time_s": 2.0,
51
- "control_time_s": 15.0,
52
- "terminate_on_success": true
53
- },
54
- "reward_classifier": {
55
- "pretrained_path": null
56
- }
57
- }
58
- },
59
- "dataset": {
60
- "repo_id": "pepijn223/il_gym0",
61
- "root": null,
62
- "task": "PandaPickCubeKeyboard-v0",
63
- "num_episodes_to_record": 30,
64
- "replay_episode": 0,
65
- "push_to_hub": true
66
- },
67
- "mode": null,
68
- "device": "cuda"
69
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
sim_il/eval_config.json DELETED
@@ -1,187 +0,0 @@
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
- "name": "gym_hil",
87
- "task": "PandaPickCubeGamepad-v0",
88
- "fps": 10,
89
- "robot": null,
90
- "teleop": null,
91
- "processor": {
92
- "control_mode": "gamepad",
93
- "observation": {
94
- "add_joint_velocity_to_observation": true,
95
- "add_ee_pose_to_observation": true,
96
- "display_cameras": false
97
- },
98
- "image_preprocessing": {
99
- "crop_params_dict": {
100
- "observation.images.front": [
101
- 0,
102
- 0,
103
- 128,
104
- 128
105
- ],
106
- "observation.images.wrist": [
107
- 0,
108
- 0,
109
- 128,
110
- 128
111
- ]
112
- },
113
- "resize_size": [
114
- 128,
115
- 128
116
- ]
117
- },
118
- "gripper": {
119
- "use_gripper": true,
120
- "gripper_penalty": 0,
121
- "gripper_penalty_in_reward": false
122
- },
123
- "reset": {
124
- "fixed_reset_joint_positions": [
125
- 0.0,
126
- 0.195,
127
- 0.0,
128
- -2.43,
129
- 0.0,
130
- 2.62,
131
- 0.785
132
- ],
133
- "reset_time_s": 2.0,
134
- "control_time_s": 15.0,
135
- "terminate_on_success": true
136
- },
137
- "reward_classifier": {
138
- "pretrained_path": null
139
- }
140
- },
141
- "mode": "eval",
142
- "repo_id": null,
143
- "dataset_root": null,
144
- "num_episodes": 30,
145
- "episode": 0,
146
- "pretrained_policy_name_or_path": "pepijn223/il_sim_test0",
147
- "device": "cpu",
148
- "push_to_hub": true,
149
- "features": {
150
- "observation.images.front": {
151
- "type": "VISUAL",
152
- "shape": [
153
- 3,
154
- 128,
155
- 128
156
- ]
157
- },
158
- "observation.images.wrist": {
159
- "type": "VISUAL",
160
- "shape": [
161
- 3,
162
- 128,
163
- 128
164
- ]
165
- },
166
- "observation.state": {
167
- "type": "STATE",
168
- "shape": [
169
- 18
170
- ]
171
- },
172
- "action": {
173
- "type": "ACTION",
174
- "shape": [
175
- 4
176
- ]
177
- }
178
- },
179
- "features_map": {
180
- "observation.images.front": "observation.images.front",
181
- "observation.images.wrist": "observation.images.wrist",
182
- "observation.state": "observation.state",
183
- "action": "action"
184
- },
185
- "reward_classifier_pretrained_path": null
186
- }
187
- }