unilab.envs.mdp.curriculums.event_curriculum¶
- class unilab.envs.mdp.curriculums.event_curriculum[source]¶
Bases:
objectUpdate an event term’s params and/or config fields based on training steps.
Event terms are invoked with their live
cfg.paramson every apply, so stagedparamsupdates (e.g. a widenedcom_range) take effect on the next event application. Stage semantics matchreward_curriculum.Example owner YAML:
curriculum: com_range: func: unilab.envs.mdp.event_curriculum params: event_name: base_com stages: - {step: 0, params: {com_range: {x: [-0.003, 0.003]}}} - {step: 24000, params: {com_range: {x: [-0.01, 0.01]}}}
- Parameters:
cfg (
CurriculumTermCfg)env (
ManagerBasedRlEnv)
Methods
__init__(cfg, env)