MCPcopy Create free account
hub / github.com/LeCAR-Lab/model-based-diffusion / __init__

Method __init__

mbd/envs/humanoidrun.py:14–17  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

12class HumanoidRun(PipelineEnv):
13
14 def __init__(self):
15 sys = mjcf.load(f"{mbd.__path__[0]}/assets/humanoidrun.xml")
16
17 super().__init__(sys=sys, backend="positional", n_frames=7)
18
19 def reset(self, rng: jax.Array) -> State:
20 """Resets the environment to an initial state."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected