unilab.envs.mdp.curriculums.command_curriculum¶
- class unilab.envs.mdp.curriculums.command_curriculum[source]¶
Bases:
objectUpdate a command term’s config fields and/or params based on training steps.
Command terms read their live
self.cfgat resample time, so mutating the resolved term config (e.g.rel_standing_envsorranges) takes effect on the next command resample. Stage semantics matchreward_curriculum: every stage whosestephas been reached is applied in order, so later stages win.Example owner YAML:
curriculum: standing_envs: func: unilab.envs.mdp.command_curriculum params: command_name: twist stages: - {step: 0, rel_standing_envs: 0.02} - {step: 12000, rel_standing_envs: 0.1}
- Parameters:
cfg (
CurriculumTermCfg)env (
ManagerBasedRlEnv)
Methods
__init__(cfg, env)