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

Method __init__

mbd/envs/pushT.py:16–20  ·  view source on GitHub ↗
(self, backend: str = "generalized")

Source from the content-addressed store, hash-verified

14
15class PushT(PipelineEnv):
16 def __init__(self, backend: str = "generalized"):
17 # get path of mbd
18 sys = mjcf.load(f"{mbd.__path__[0]}/assets/pushT.xml")
19
20 super().__init__(sys, backend=backend, n_frames=5)
21
22 def reset(self, rng: jnp.ndarray) -> State:
23 rng, rng_goal_xy = jax.random.split(rng)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected