ethicalgardeners.algorithms.make_env_thunk

ethicalgardeners.algorithms.make_env_thunk(env_fn, config)[source]

Return a thunk that creates a Stable Baselines3 compatible environment.

Parameters:
  • env_fn – A function that takes a config and returns a PettingZoo AEC env

  • config – Hydra configuration parameters for the environment.