def makeEnv(cls, args, env_kwargs=None, load_path_normalise=None): """ Makes an environment and returns it :param args: (argparse.Namespace Object) :param env_kwargs: (dict) The extra arguments for the environment :param load_path_normalise: (str) the path to loading the rolling average, None if not available or wanted. :return: (Gym env) """ return createEnvs(args, env_kwargs=env_kwargs, load_path_normalise=load_path_normalise)
def makeEnv(cls, args, env_kwargs=None, load_path_normalise=None): return createEnvs(args, allow_early_resets=True, env_kwargs=env_kwargs, load_path_normalise=load_path_normalise)