XPandora77 commited on
Commit
fc6d67c
·
verified ·
1 Parent(s): d934ee1

Add terrain release SONIC checkpoint

Browse files
checkpoint/SONIC/models/terrain_release/config.yaml ADDED
@@ -0,0 +1,801 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ actor_actions_history_length: 10
2
+ actor_prop_history_length: 10
3
+ algo:
4
+ _recursive_: false
5
+ config:
6
+ actor:
7
+ _target_: gear_sonic.trl.modules.actor_critic_modules.Actor
8
+ backbone:
9
+ _target_: gear_sonic.trl.modules.universal_token_modules.UniversalTokenModule
10
+ aux_loss_coef:
11
+ g1_recon: 0.01
12
+ aux_loss_func:
13
+ g1_recon:
14
+ _target_: gear_sonic.trl.losses.token_losses.G1ReconLoss
15
+ loss_type: mse
16
+ decoders:
17
+ g1_dyn:
18
+ has_temporal_dim: false
19
+ inputs:
20
+ - token_flattened
21
+ - proprioception
22
+ outputs:
23
+ - action
24
+ params:
25
+ _target_: gear_sonic.trl.modules.base_module.BaseModule
26
+ input_dim: null
27
+ module_config_dict:
28
+ layer_config:
29
+ activation: SiLU
30
+ hidden_dims:
31
+ - 2048
32
+ - 2048
33
+ - 1024
34
+ - 1024
35
+ - 512
36
+ - 512
37
+ type: MLP
38
+ num_input_temporal_dims: null
39
+ num_output_temporal_dims: null
40
+ output_dim: null
41
+ g1_kin:
42
+ has_temporal_dim: true
43
+ inputs:
44
+ - token
45
+ outputs:
46
+ - command_multi_future_nonflat
47
+ - motion_anchor_ori_b_mf_nonflat
48
+ params:
49
+ _target_: gear_sonic.trl.modules.base_module.BaseModule
50
+ input_dim: null
51
+ module_config_dict:
52
+ layer_config:
53
+ activation: SiLU
54
+ hidden_dims:
55
+ - 2048
56
+ - 1024
57
+ - 512
58
+ - 512
59
+ type: MLP
60
+ num_input_temporal_dims: ${algo.config.actor.backbone.max_num_tokens}
61
+ num_output_temporal_dims: ${manager_env.commands.motion.num_future_frames}
62
+ output_dim: null
63
+ encoder_sample_probs: ${manager_env.commands.motion.encoder_sample_probs}
64
+ encoders:
65
+ g1:
66
+ input_projectors:
67
+ height_map_z_flat:
68
+ activation: ReLU
69
+ channels:
70
+ - 16
71
+ - 32
72
+ hidden_dims:
73
+ - 128
74
+ input_shape:
75
+ - 1
76
+ - 11
77
+ - 11
78
+ kernel_sizes:
79
+ - 3
80
+ - 3
81
+ output_dim: 128
82
+ paddings:
83
+ - 1
84
+ - 1
85
+ strides:
86
+ - 1
87
+ - 1
88
+ type: conv2d
89
+ use_maxpool: true
90
+ inputs:
91
+ - command_multi_future_nonflat
92
+ - motion_anchor_ori_b_mf_nonflat
93
+ - height_map_z_flat
94
+ params:
95
+ _target_: gear_sonic.trl.modules.base_module.BaseModule
96
+ input_dim: null
97
+ module_config_dict:
98
+ layer_config:
99
+ activation: SiLU
100
+ hidden_dims:
101
+ - 2048
102
+ - 1024
103
+ - 512
104
+ - 512
105
+ type: MLP
106
+ num_input_temporal_dims: ${manager_env.commands.motion.num_future_frames}
107
+ num_output_temporal_dims: ${algo.config.actor.backbone.max_num_tokens}
108
+ output_dim: null
109
+ fsq_level_list: 32
110
+ max_num_tokens: 2
111
+ num_fsq_levels: 32
112
+ num_future_frames: ${manager_env.commands.motion.num_future_frames}
113
+ proprioception_features:
114
+ - actor_obs
115
+ quantizer:
116
+ _target_: vector_quantize_pytorch.FSQ
117
+ has_aux_loss: true
118
+ input_obs_dict: true
119
+ running_mean_std: false
120
+ actor_learning_rate: 2.0e-05
121
+ adaptive_lr_max: 0.0002
122
+ adaptive_lr_min: 1.0e-05
123
+ clip_param: 0.2
124
+ critic:
125
+ _target_: gear_sonic.trl.modules.actor_critic_modules.Critic
126
+ backbone:
127
+ _target_: gear_sonic.trl.modules.base_module.BaseModule
128
+ module_config_dict:
129
+ input_dim:
130
+ - critic_obs
131
+ layer_config:
132
+ activation: SiLU
133
+ hidden_dims:
134
+ - 2048
135
+ - 2048
136
+ - 1024
137
+ - 1024
138
+ - 512
139
+ - 512
140
+ type: MLP
141
+ output_dim:
142
+ - 1
143
+ type: MLP
144
+ process_output_dim: true
145
+ running_mean_std: true
146
+ critic_learning_rate: 0.001
147
+ desired_kl: 0.01
148
+ empty_cache_every_n_ppo_epoch: -1
149
+ entropy_coef: 0.01
150
+ eval_frequency: 500
151
+ gamma: 0.99
152
+ global_rank: 0
153
+ init_at_random_ep_len: true
154
+ init_noise_std: 0.05
155
+ lam: 0.95
156
+ load_optimizer: true
157
+ max_grad_norm: 0.1
158
+ num_learning_epochs: 5
159
+ num_learning_iterations: 20000
160
+ num_mini_batches: 4
161
+ num_steps_per_env: 24
162
+ ppo_shuffle_every_epoch: true
163
+ save_interval: 500
164
+ schedule: adaptive
165
+ std_clamp_max: 0.5
166
+ std_clamp_min: 0.001
167
+ sync_advantage_normalization: true
168
+ use_clampped_std: true
169
+ use_clipped_value_loss: true
170
+ use_new_actor_critic: true
171
+ use_padding_mask: false
172
+ value_loss_coef: 1
173
+ world_size: 64
174
+ trl:
175
+ dataset_name: dummy
176
+ disable_tqdm: true
177
+ gamma: ${algo.config.gamma}
178
+ gradient_accumulation_steps: 1
179
+ lam: ${algo.config.lam}
180
+ learning_rate: ${algo.config.actor_learning_rate}
181
+ lr_scheduler_type: constant
182
+ max_grad_norm: ${algo.config.max_grad_norm}
183
+ num_mini_batches: ${algo.config.num_mini_batches}
184
+ num_ppo_epochs: ${algo.config.num_learning_epochs}
185
+ num_total_batches: ${algo.config.num_learning_iterations}
186
+ output_dir: logs_rl/TRL_G1_Track/manager/universal_token/all_modes/sonic_single_hmap_proj_terrain_obj_tnfhtrs17585_release_terrain_sitting_ft_2607061404-20260706_210612
187
+ per_device_train_batch_size: null
188
+ report_to: none
189
+ save_strategy: 'no'
190
+ total_episodes: null
191
+ vf_coef: ${algo.config.value_loss_coef}
192
+ auto_load_latest: false
193
+ base_dir: logs_rl
194
+ callbacks:
195
+ im_resample:
196
+ _target_: gear_sonic.trl.callbacks.im_resample_callback.ImResampleCallback
197
+ motion_resample_frequency: 250
198
+ model_save:
199
+ _target_: gear_sonic.trl.callbacks.model_save_callback.ModelSaveCallback
200
+ max_disk_usage: 14.8
201
+ save_dir: ${experiment_dir}
202
+ save_frequency: 500
203
+ read_eval:
204
+ _target_: gear_sonic.trl.callbacks.read_eval_callback.ReadEvalCallback
205
+ check_interval: 1
206
+ eval_dir: ${experiment_dir}/eval
207
+ wandb:
208
+ _target_: gear_sonic.trl.callbacks.wandb_callback.WandbCallback
209
+ checkpoint: /mnt/amlfs-05/home/tiaxie/code/GRAIL/logs_rl/TRL_G1_Track/manager/universal_token/all_modes/sonic_single_hmap_proj_terrain_obj_tnfhtr15837_release_terrain_ft_2607061012-20260706_175844/last.pt
210
+ codebase_version: 1
211
+ critic_actions_history_length: 10
212
+ critic_prop_history_length: 10
213
+ env: ???
214
+ env_spacing: 20
215
+ eval_overrides:
216
+ auto_load_latest: false
217
+ headless: false
218
+ num_envs: 1
219
+ use_wandb: false
220
+ exp_base: ${hydra:runtime.choices.exp}
221
+ exp_var: tnfhtrs17585_release_terrain_sitting_ft_2607061404
222
+ experiment_dir: logs_rl/TRL_G1_Track/manager/universal_token/all_modes/sonic_single_hmap_proj_terrain_obj_tnfhtrs17585_release_terrain_sitting_ft_2607061404-20260706_210612
223
+ experiment_name: ${exp_base}_${exp_var}
224
+ force_flat_terrain: false
225
+ global_rank: 0
226
+ headless: true
227
+ log_task_name: TEST
228
+ manager_env:
229
+ _target_: gear_sonic.envs.manager_env.modular_tracking_env_cfg.ModularTrackingEnvCfg
230
+ actions:
231
+ _target_: gear_sonic.envs.manager_env.mdp.actions.ActionsCfg
232
+ joint_pos:
233
+ _target_: isaaclab.envs.mdp.actions.JointPositionActionCfg
234
+ asset_name: robot
235
+ joint_names:
236
+ - .*
237
+ use_default_offset: true
238
+ commands:
239
+ _target_: gear_sonic.envs.manager_env.mdp.commands.CommandsCfg
240
+ motion:
241
+ _target_: gear_sonic.envs.manager_env.mdp.commands.TrackingCommandCfg
242
+ anchor_body: pelvis
243
+ asset_name: robot
244
+ body_names:
245
+ - pelvis
246
+ - left_hip_roll_link
247
+ - left_knee_link
248
+ - left_ankle_roll_link
249
+ - right_hip_roll_link
250
+ - right_knee_link
251
+ - right_ankle_roll_link
252
+ - torso_link
253
+ - left_shoulder_roll_link
254
+ - left_elbow_link
255
+ - left_wrist_yaw_link
256
+ - right_shoulder_roll_link
257
+ - right_elbow_link
258
+ - right_wrist_yaw_link
259
+ cat_upper_body_poses: true
260
+ cat_upper_body_poses_prob: 0.5
261
+ debug_vis: true
262
+ dt_future_ref_frames: 0.1
263
+ encoder_sample_probs:
264
+ g1: 1
265
+ smpl: 1
266
+ teleop: 1
267
+ flat_to_terrain_ratio: 3
268
+ init_z_offset: 0.05
269
+ joint_position_range:
270
+ - 0
271
+ - 0
272
+ joint_velocity_range:
273
+ - 0
274
+ - 0
275
+ motion_lib_cfg:
276
+ adaptive_sampling:
277
+ adp_samp_failure_rate_max_over_mean: 200
278
+ bin_size: 50
279
+ decay_gamma: 0.8
280
+ enable: false
281
+ init_num_failures: 1
282
+ pre_failure_sample_window: 200
283
+ sequence_length_agnostic: true
284
+ uniform_sampling_rate: 0.1
285
+ use_failure_rate_decay: false
286
+ asset:
287
+ assetFileName: g1_29dof_rev_1_0.xml
288
+ assetRoot: gear_sonic/data/assets/robot_description/mjcf/
289
+ urdfFileName: ''
290
+ extend_config: []
291
+ filter_motion_keys: null
292
+ motion_file: /mnt/amlfs-05/home/tiaxie/code/GRAIL/data/motion_lib_genhoi/terrain_sitting_release_17585_0706/robot
293
+ multi_thread: false
294
+ object_motion_file: /mnt/amlfs-05/home/tiaxie/code/GRAIL/data/motion_lib_genhoi/terrain_sitting_release_17585_0706/objects
295
+ smpl_motion_file: dummy
296
+ smpl_y_up: true
297
+ target_fps: 50
298
+ upper_body_augment_prefixes:
299
+ - '2025'
300
+ - sonic_mixed_walking_running
301
+ - sonic_squating_different_height_switching
302
+ - sonic_running
303
+ - sonic_walking
304
+ - sonic_squating_different_height_hold
305
+ - sonic_walking_other_style
306
+ - balance
307
+ num_future_frames: 10
308
+ pose_range:
309
+ pitch:
310
+ - 0
311
+ - 0
312
+ roll:
313
+ - 0
314
+ - 0
315
+ x:
316
+ - 0
317
+ - 0
318
+ 'y':
319
+ - 0
320
+ - 0
321
+ yaw:
322
+ - 0
323
+ - 0
324
+ z:
325
+ - 0
326
+ - 0
327
+ resampling_time_range:
328
+ - 1000000000
329
+ - 1000000000
330
+ reward_point_body:
331
+ - torso_link
332
+ - left_wrist_yaw_link
333
+ - right_wrist_yaw_link
334
+ - left_ankle_roll_link
335
+ - right_ankle_roll_link
336
+ reward_point_body_offset:
337
+ - - 0
338
+ - 0
339
+ - 0.5
340
+ - - 0
341
+ - 0
342
+ - 0
343
+ - - 0
344
+ - 0
345
+ - 0
346
+ - - 0
347
+ - 0
348
+ - 0
349
+ - - 0
350
+ - 0
351
+ - 0
352
+ smpl_dt_future_ref_frames: 0.02
353
+ smpl_num_future_frames: 10
354
+ terrain_aware_sampling: false
355
+ use_height_map: true
356
+ use_paired_motions: true
357
+ velocity_range:
358
+ pitch:
359
+ - 0
360
+ - 0
361
+ roll:
362
+ - 0
363
+ - 0
364
+ x:
365
+ - 0
366
+ - 0
367
+ 'y':
368
+ - 0
369
+ - 0
370
+ yaw:
371
+ - 0
372
+ - 0
373
+ z:
374
+ - 0
375
+ - 0
376
+ vr_3point_body:
377
+ - left_wrist_yaw_link
378
+ - right_wrist_yaw_link
379
+ - torso_link
380
+ vr_3point_body_offset:
381
+ - - 0.18
382
+ - -0.025
383
+ - 0
384
+ - - 0.18
385
+ - 0.025
386
+ - 0
387
+ - - 0
388
+ - 0
389
+ - 0.35
390
+ config:
391
+ action_clip_value: 20
392
+ action_transform_module_cfg: null
393
+ action_transform_module_checkpoint: null
394
+ add_object: true
395
+ decimation: 4
396
+ enable_depth_camera: false
397
+ env_spacing: 10
398
+ episode_length_s: 10
399
+ eval_camera_offset:
400
+ - 2
401
+ - 2
402
+ - 1
403
+ experiment_dir: ${experiment_dir}
404
+ flat_motion_dir: null
405
+ flat_motion_keys_path: null
406
+ flat_to_terrain_ratio: 0
407
+ flat_usd_path: /mnt/amlfs-05/home/tiaxie/code/GRAIL/data/motion_lib_genhoi/terrain_sitting_release_17585_0706/object_usd/flat_placeholder.usd
408
+ meta_action_dim: null
409
+ needs_policy_atm: true
410
+ num_envs: ${num_envs}
411
+ object_mass: null
412
+ render_results: false
413
+ rewards:
414
+ num_critics: 1
415
+ robot:
416
+ algo_obs_dim_dict: {}
417
+ type: g1_model_12
418
+ obs:
419
+ obs_dict: {}
420
+ obs_dims: {}
421
+ group_obs_dims: {}
422
+ group_obs_names: {}
423
+ safe_nan: true
424
+ save_rendering_dir: ${experiment_dir}/renderings_training
425
+ sim_dt: 0.005
426
+ table_offset: null
427
+ terrain_motion_dir: /mnt/amlfs-05/home/tiaxie/code/GRAIL/data/motion_lib_genhoi/terrain_sitting_release_17585_0706
428
+ terrain_motion_keys_path: null
429
+ terrain_type: plane
430
+ terrain_usd_path: null
431
+ train_only_events:
432
+ - push_robot
433
+ - compliance_force_push
434
+ viewer_eye:
435
+ - 4.5
436
+ - 0
437
+ - 6
438
+ viewer_lookat:
439
+ - 0
440
+ - 0
441
+ - 2
442
+ curriculum:
443
+ _target_: gear_sonic.envs.manager_env.mdp.curriculum.CurriculumCfg
444
+ events:
445
+ _target_: gear_sonic.envs.manager_env.mdp.events.EventCfg
446
+ add_joint_default_pos: null
447
+ base_com: null
448
+ physics_material: null
449
+ push_robot: null
450
+ randomize_rigid_body_mass: null
451
+ observations:
452
+ _target_: gear_sonic.envs.manager_env.mdp.observations.ObservationsCfg
453
+ critic:
454
+ _target_: gear_sonic.envs.manager_env.mdp.observations.PrivilegedCfg
455
+ actions:
456
+ _target_: isaaclab.managers.ObservationTermCfg
457
+ func: gear_sonic.envs.manager_env.mdp:last_action
458
+ history_length: ${critic_actions_history_length}
459
+ base_ang_vel:
460
+ _target_: isaaclab.managers.ObservationTermCfg
461
+ func: gear_sonic.envs.manager_env.mdp:base_ang_vel
462
+ history_length: ${critic_prop_history_length}
463
+ base_lin_vel:
464
+ _target_: isaaclab.managers.ObservationTermCfg
465
+ func: gear_sonic.envs.manager_env.mdp:base_lin_vel
466
+ history_length: ${critic_prop_history_length}
467
+ body_ori:
468
+ _target_: isaaclab.managers.ObservationTermCfg
469
+ func: gear_sonic.envs.manager_env.mdp:robot_body_ori_b
470
+ params:
471
+ command_name: motion
472
+ body_pos:
473
+ _target_: isaaclab.managers.ObservationTermCfg
474
+ func: gear_sonic.envs.manager_env.mdp:robot_body_pos_b
475
+ params:
476
+ command_name: motion
477
+ command_multi_future:
478
+ _target_: isaaclab.managers.ObservationTermCfg
479
+ func: gear_sonic.envs.manager_env.mdp:command_multi_future
480
+ params:
481
+ command_name: motion
482
+ joint_pos:
483
+ _target_: isaaclab.managers.ObservationTermCfg
484
+ func: gear_sonic.envs.manager_env.mdp:joint_pos_rel
485
+ history_length: ${critic_prop_history_length}
486
+ joint_vel:
487
+ _target_: isaaclab.managers.ObservationTermCfg
488
+ func: gear_sonic.envs.manager_env.mdp:joint_vel_rel
489
+ history_length: ${critic_prop_history_length}
490
+ motion_anchor_ori_b:
491
+ _target_: isaaclab.managers.ObservationTermCfg
492
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_ori_b
493
+ params:
494
+ command_name: motion
495
+ motion_anchor_pos_b:
496
+ _target_: isaaclab.managers.ObservationTermCfg
497
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_pos_b
498
+ params:
499
+ command_name: motion
500
+ object_ori_b_6d:
501
+ _target_: isaaclab.managers.ObservationTermCfg
502
+ func: gear_sonic.envs.manager_env.mdp:object_ori_b_6d
503
+ params:
504
+ command_name: motion
505
+ object_ori_delta_multi_future_6d:
506
+ _target_: isaaclab.managers.ObservationTermCfg
507
+ func: gear_sonic.envs.manager_env.mdp:object_ori_delta_multi_future_6d
508
+ params:
509
+ command_name: motion
510
+ object_pos_b:
511
+ _target_: isaaclab.managers.ObservationTermCfg
512
+ func: gear_sonic.envs.manager_env.mdp:object_pos_b
513
+ params:
514
+ command_name: motion
515
+ object_pos_delta_multi_future:
516
+ _target_: isaaclab.managers.ObservationTermCfg
517
+ func: gear_sonic.envs.manager_env.mdp:object_pos_delta_multi_future
518
+ params:
519
+ command_name: motion
520
+ policy:
521
+ _target_: gear_sonic.envs.manager_env.mdp.observations.PolicyCfg
522
+ actions:
523
+ _target_: isaaclab.managers.ObservationTermCfg
524
+ func: gear_sonic.envs.manager_env.mdp:last_action
525
+ history_length: ${actor_actions_history_length}
526
+ base_ang_vel:
527
+ _target_: isaaclab.managers.ObservationTermCfg
528
+ func: gear_sonic.envs.manager_env.mdp:base_ang_vel
529
+ history_length: ${actor_prop_history_length}
530
+ noise:
531
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
532
+ n_max: 0.2
533
+ n_min: -0.2
534
+ concatenate_terms: true
535
+ enable_corruption: false
536
+ gravity_dir:
537
+ _target_: isaaclab.managers.ObservationTermCfg
538
+ func: gear_sonic.envs.manager_env.mdp:gravity_dir
539
+ history_length: ${actor_prop_history_length}
540
+ noise:
541
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
542
+ n_max: 0.05
543
+ n_min: -0.05
544
+ params:
545
+ command_name: motion
546
+ joint_pos:
547
+ _target_: isaaclab.managers.ObservationTermCfg
548
+ func: gear_sonic.envs.manager_env.mdp:joint_pos_rel
549
+ history_length: ${actor_prop_history_length}
550
+ noise:
551
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
552
+ n_max: 0.01
553
+ n_min: -0.01
554
+ joint_vel:
555
+ _target_: isaaclab.managers.ObservationTermCfg
556
+ func: gear_sonic.envs.manager_env.mdp:joint_vel_rel
557
+ history_length: ${actor_prop_history_length}
558
+ noise:
559
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
560
+ n_max: 0.5
561
+ n_min: -0.5
562
+ object_ori_b_6d:
563
+ _target_: isaaclab.managers.ObservationTermCfg
564
+ func: gear_sonic.envs.manager_env.mdp:object_ori_b_6d
565
+ noise: null
566
+ params:
567
+ command_name: motion
568
+ object_ori_delta_multi_future_6d:
569
+ _target_: isaaclab.managers.ObservationTermCfg
570
+ func: gear_sonic.envs.manager_env.mdp:object_ori_delta_multi_future_6d
571
+ noise:
572
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
573
+ n_max: 0.02
574
+ n_min: -0.02
575
+ params:
576
+ command_name: motion
577
+ object_pos_b:
578
+ _target_: isaaclab.managers.ObservationTermCfg
579
+ func: gear_sonic.envs.manager_env.mdp:object_pos_b
580
+ noise: null
581
+ params:
582
+ command_name: motion
583
+ object_pos_delta_multi_future:
584
+ _target_: isaaclab.managers.ObservationTermCfg
585
+ func: gear_sonic.envs.manager_env.mdp:object_pos_delta_multi_future
586
+ noise:
587
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
588
+ n_max: 0.02
589
+ n_min: -0.02
590
+ params:
591
+ command_name: motion
592
+ tokenizer:
593
+ _target_: gear_sonic.envs.manager_env.mdp.observations.TokenizerCfg
594
+ command_multi_future_nonflat:
595
+ _target_: isaaclab.managers.ObservationTermCfg
596
+ func: gear_sonic.envs.manager_env.mdp:command_multi_future
597
+ params:
598
+ command_name: motion
599
+ non_flatten: true
600
+ command_z_multi_future_nonflat:
601
+ _target_: isaaclab.managers.ObservationTermCfg
602
+ func: gear_sonic.envs.manager_env.mdp:command_z_multi_future
603
+ params:
604
+ command_name: motion
605
+ non_flatten: true
606
+ concatenate_terms: false
607
+ enable_corruption: false
608
+ encoder_index:
609
+ _target_: isaaclab.managers.ObservationTermCfg
610
+ func: gear_sonic.envs.manager_env.mdp:get_command_obs
611
+ params:
612
+ command_name: motion
613
+ obs_name: episode_encoder_index
614
+ height_map_z_flat:
615
+ _target_: isaaclab.managers.ObservationTermCfg
616
+ func: gear_sonic.envs.manager_env.mdp.observations:height_map_z_flat
617
+ params:
618
+ command_name: motion
619
+ random: false
620
+ motion_anchor_ori_b_mf_nonflat:
621
+ _target_: isaaclab.managers.ObservationTermCfg
622
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_ori_b_mf
623
+ noise:
624
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
625
+ n_max: 0.05
626
+ n_min: -0.05
627
+ params:
628
+ command_name: motion
629
+ non_flatten: true
630
+ recorders:
631
+ _target_: gear_sonic.envs.manager_env.mdp.recorders.RecordersCfg
632
+ rewards:
633
+ _target_: gear_sonic.envs.manager_env.mdp.rewards.RewardsCfg
634
+ action_rate_l2:
635
+ _target_: isaaclab.managers.RewardTermCfg
636
+ func: gear_sonic.envs.manager_env.mdp:action_rate_l2
637
+ weight: -0.1
638
+ anti_shake_ang_vel:
639
+ _target_: isaaclab.managers.RewardTermCfg
640
+ func: gear_sonic.envs.manager_env.mdp:anti_shake_ang_vel_l2
641
+ params:
642
+ body_names:
643
+ - left_wrist_yaw_link
644
+ - right_wrist_yaw_link
645
+ - head_link
646
+ command_name: motion
647
+ threshold: 1.5
648
+ weight: -0.005
649
+ feet_acc:
650
+ _target_: isaaclab.managers.RewardTermCfg
651
+ func: gear_sonic.envs.manager_env.mdp:joint_acc_l2
652
+ params:
653
+ asset_cfg:
654
+ _target_: isaaclab.managers.SceneEntityCfg
655
+ joint_names:
656
+ - .*ankle.*
657
+ name: robot
658
+ weight: -2.5e-07
659
+ joint_limit:
660
+ _target_: isaaclab.managers.RewardTermCfg
661
+ func: gear_sonic.envs.manager_env.mdp:joint_pos_limits
662
+ params:
663
+ asset_cfg:
664
+ _target_: isaaclab.managers.SceneEntityCfg
665
+ joint_names:
666
+ - .*
667
+ name: robot
668
+ weight: -10
669
+ tracking_anchor_ori:
670
+ _target_: isaaclab.managers.RewardTermCfg
671
+ func: gear_sonic.envs.manager_env.mdp:tracking_anchor_ori_error
672
+ params:
673
+ command_name: motion
674
+ std: 0.4
675
+ weight: 0.5
676
+ tracking_anchor_pos:
677
+ _target_: isaaclab.managers.RewardTermCfg
678
+ func: gear_sonic.envs.manager_env.mdp:tracking_anchor_pos_error
679
+ params:
680
+ command_name: motion
681
+ std: 0.3
682
+ weight: 0.5
683
+ tracking_body_angvel:
684
+ _target_: isaaclab.managers.RewardTermCfg
685
+ func: gear_sonic.envs.manager_env.mdp:tracking_body_angvel_error
686
+ params:
687
+ command_name: motion
688
+ std: 3.14
689
+ weight: 1
690
+ tracking_body_linvel:
691
+ _target_: isaaclab.managers.RewardTermCfg
692
+ func: gear_sonic.envs.manager_env.mdp:tracking_body_linvel_error
693
+ params:
694
+ command_name: motion
695
+ std: 1
696
+ weight: 1
697
+ tracking_relative_body_ori:
698
+ _target_: isaaclab.managers.RewardTermCfg
699
+ func: gear_sonic.envs.manager_env.mdp:tracking_relative_body_ori_error
700
+ params:
701
+ command_name: motion
702
+ std: 0.4
703
+ weight: 1
704
+ tracking_relative_body_pos:
705
+ _target_: isaaclab.managers.RewardTermCfg
706
+ func: gear_sonic.envs.manager_env.mdp:tracking_relative_body_pos_error
707
+ params:
708
+ command_name: motion
709
+ std: 0.3
710
+ weight: 1
711
+ tracking_vr_5point_local:
712
+ _target_: isaaclab.managers.RewardTermCfg
713
+ func: gear_sonic.envs.manager_env.mdp:tracking_local_vr_5point_error
714
+ params:
715
+ command_name: motion
716
+ std: 0.1
717
+ weight: 2
718
+ undesired_contacts:
719
+ _target_: isaaclab.managers.RewardTermCfg
720
+ func: gear_sonic.envs.manager_env.mdp:undesired_contacts
721
+ params:
722
+ sensor_cfg:
723
+ _target_: isaaclab.managers.SceneEntityCfg
724
+ body_names:
725
+ - ^(?!left_ankle_roll_link$)(?!right_ankle_roll_link$)(?!left_wrist_yaw_link$)(?!right_wrist_yaw_link$)(?!left_elbow_link$)(?!right_elbow_link$).+$
726
+ name: contact_forces
727
+ threshold: 1
728
+ weight: -0.1
729
+ terminations:
730
+ _target_: gear_sonic.envs.manager_env.mdp.terminations.TerminationsCfg
731
+ anchor_ori_full:
732
+ _target_: isaaclab.managers.TerminationTermCfg
733
+ func: gear_sonic.envs.manager_env.mdp:exceeded_anchor_ori
734
+ params:
735
+ asset_cfg:
736
+ _target_: isaaclab.managers.SceneEntityCfg
737
+ name: robot
738
+ command_name: motion
739
+ threshold: 0.2
740
+ anchor_pos:
741
+ _target_: isaaclab.managers.TerminationTermCfg
742
+ func: gear_sonic.envs.manager_env.mdp:exceeded_anchor_height
743
+ params:
744
+ command_name: motion
745
+ down_threshold: 0.75
746
+ root_height_threshold: 0.5
747
+ threshold: 0.15
748
+ threshold_adaptive: true
749
+ ee_body_pos:
750
+ _target_: isaaclab.managers.TerminationTermCfg
751
+ func: gear_sonic.envs.manager_env.mdp:exceeded_body_height
752
+ params:
753
+ body_names:
754
+ - left_ankle_roll_link
755
+ - right_ankle_roll_link
756
+ - left_wrist_yaw_link
757
+ - right_wrist_yaw_link
758
+ command_name: motion
759
+ down_threshold: 0.75
760
+ root_height_threshold: 0.5
761
+ threshold: 0.15
762
+ threshold_adaptive: true
763
+ foot_pos_xyz:
764
+ _target_: isaaclab.managers.TerminationTermCfg
765
+ func: gear_sonic.envs.manager_env.mdp:exceeded_body_pos
766
+ params:
767
+ body_names:
768
+ - left_ankle_roll_link
769
+ - right_ankle_roll_link
770
+ command_name: motion
771
+ threshold: 0.2
772
+ time_out:
773
+ _target_: isaaclab.managers.TerminationTermCfg
774
+ func: gear_sonic.envs.manager_env.mdp:tracking_time_out
775
+ params:
776
+ command_name: motion
777
+ time_out: true
778
+ max_retries: 1
779
+ multi_gpu: true
780
+ num_envs: 1024
781
+ num_gpus: 1
782
+ output_dir: ${experiment_dir}/output
783
+ project_name: TRL_G1_Track
784
+ resume: true
785
+ save_dir: ${experiment_dir}/.hydra
786
+ seed: 0
787
+ sim_type: isaacsim
788
+ terrain: ???
789
+ timestamp: ${now:%Y%m%d_%H%M%S}
790
+ trainer:
791
+ _target_: gear_sonic.trl.trainer.ppo_trainer_aux_loss.TRLAuxLossPPOTrainer
792
+ use_manager_env: true
793
+ use_wandb: true
794
+ wandb:
795
+ wandb_dir: /tmp
796
+ wandb_entity: null
797
+ wandb_group: tnfhtrs17585_release_terrain_sitting_ft_2607061404
798
+ wandb_id: null
799
+ wandb_project: null
800
+ wandb_tags: online
801
+ warm_resume: true
checkpoint/SONIC/models/terrain_release/last.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:699b17677fa7e6f98ed4cf3dfb99d2fedb56276116a56f2be593aa756fc00120
3
+ size 388075382