yawning_titan.experiment_helpers.sb3.init_env#

yawning_titan.experiment_helpers.sb3.init_env(env, experiment_id)[source]#

Use the Stable Baselines 3 Monitor wrappper to wrap an environment in order to enable monitoring.

Parameters:
  • env – the registered name of an OpenAI gym environment (str)

  • experiment_id – a UID for the experiment (str)

Returns:

A Stable Baselines 3 Monitor Wrapped Gym Environment