add go2 training

This commit is contained in:
jyf23
2026-01-02 21:10:34 +08:00
committed by motphys-developers
parent 62011bb24f
commit dbfa9e31fa
23 changed files with 952 additions and 2 deletions

View File

@@ -193,7 +193,27 @@ class locomotion:
seed: int = 42
share_policy_value_features: bool = False
max_env_steps: int = 1024 * 60000
max_env_steps: int = 1024 * 60_000
num_envs: int = 2048
# Override PPO configuration
rollouts: int = 24
policy_hidden_layer_sizes: tuple[int, ...] = (256, 128, 64)
value_hidden_layer_sizes: tuple[int, ...] = (256, 128, 64)
learning_epochs: int = 5
mini_batches: int = 3
learning_rate: float = 3e-4
@rlcfg("go2-flat-terrain-walk")
@dataclass
class Go2WalkPPO(PPOCfg):
"""
Go2 Walk RL config
"""
seed: int = 42
share_policy_value_features: bool = False
max_env_steps: int = 1024 * 60_000
num_envs: int = 2048
# Override PPO configuration