cambrian

Cambrian package init file.

Submodules

Attributes

__author__

Camera Culture (a2cc@media.mit.edu)

__license__

BSD3

Classes

MjCambrianConfig

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

MjCambrianTrainer

This is the trainer class for running training and evaluation.

Package 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.

class MjCambrianTrainer(config)[source]

This is the trainer class for running training and evaluation.

Parameters:

config (MjCambrianConfig) – The config to use for training and evaluation.

train()[source]

Train the agent.

__author__ = 'Camera Culture (a2cc@media.mit.edu)'[source]

Camera Culture (a2cc@media.mit.edu)

__license__ = 'BSD3'[source]

BSD3