MCPcopy
hub / github.com/Farama-Foundation/Metaworld / reset_model

Method reset_model

metaworld/sawyer_xyz_env.py:658–662  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

656 raise NotImplementedError
657
658 def reset_model(self) -> npt.NDArray[np.float64]:
659 qpos = self.init_qpos
660 qvel = self.init_qvel
661 self.set_state(qpos, qvel)
662 return self._get_obs()
663
664 def reset(
665 self, seed: int | None = None, options: dict[str, Any] | None = None

Callers 3

resetMethod · 0.95
trajectory_generatorFunction · 0.45
test_reaching_limitFunction · 0.45

Calls 1

_get_obsMethod · 0.95

Tested by 1

test_reaching_limitFunction · 0.36