maze_run

class maze.maze_cli.maze_run(cfg: omegaconf.DictConfig)

Run a CLI task based on the provided configuration.

A runner object is instantiated according to the config (cfg.runner) and it is then handed the whole configuration object (cfg). Runners can perform various tasks such as rollouts, trainings etc.

Parameters

cfg – Hydra configuration for the rollout.

Returns

In case of a multirun it returns the maximum mean reward (required for hyper parameter optimization). For regular runs nothing is returned.