make_env_from_hydra

class maze.core.utils.config_utils.make_env_from_hydra(config_module: str, config_name: str = None, **hydra_overrides: str)

Create an environment instance from the hydra configuration, given the overrides. :param config_module: Python module path of the hydra configuration package :param config_name: Name of the defaults configuration yaml within config_module :param hydra_overrides: Overrides as kwargs, e.g. env=”cartpole”, configuration=”test” :return: The newly instantiated environment