cambrian.config

The configuration module for the cambrian module.

Classes

MjCambrianConfig

The base config for the mujoco cambrian environment. Used for type hinting.

Functions

package_resolver([package])

Get the path to installed package directory.

Module Contents

class MjCambrianConfig[source]

Bases: hydra_config.HydraContainerConfig

The base config for the mujoco cambrian environment. Used for type hinting.

Variables:
  • logdir (Path) – The primary directory which simulation data is stored in. This is the highest level directory used for the experiment. expdir is the subdirectory used for a specific experiment.

  • expdir (Path) – The directory used for a specific experiment. This is the directory where the experiment’s data is stored. Should evaluate to logdir / `expsubdir

  • expsubdir (Path) – The subdirectory relative to logdir where the experiment’s data is stored. This is the directory where the experiment’s data is stored.

  • expname (str) – The name of the experiment. Used to name the logging subdirectory.

  • seed (int) – The base seed used when initializing the default thread/process. Launched processes should use this seed value to calculate their own seed values. This is used to ensure that each process has a unique seed.

  • training (MjCambrianTrainingConfig) – The config for the training process.

  • env (MjCambrianEnvConfig) – The config for the environment.

  • eval_env (MjCambrianEnvConfig) – The config for the evaluation environment.

package_resolver(package='cambrian')[source]

Get the path to installed package directory.