garage.envs.mujoco.half_cheetah_env_meta_base module

Base class of HalfCheetah meta-environments.

class HalfCheetahEnvMetaBase(task)[source]

Bases: gym.envs.mujoco.half_cheetah.HalfCheetahEnv

Base class of HalfCheetah meta-environments.

Code is adapted from https://github.com/tristandeleu/pytorch-maml-rl/blob/493e677e724aa67a531250b0e215c8dbc9a7364a/maml_rl/envs/mujoco/half_cheetah.py

Which was in turn adapted from https://github.com/cbfinn/maml_rl/blob/9c8e2ebd741cb0c7b8bf2d040c4caeeb8e06cc95/rllab/envs/mujoco/half_cheetah_env_rand.py

Parameters:task (dict) – Subclass specific task information.
viewer_setup()[source]

Start the viewer.