sinergym.utils.common.apply_wrappers_info
- sinergym.utils.common.apply_wrappers_info(env: Env, wrappers_info: Dict[str, Dict[str, Any]] | str) Env
Apply wrapper information to the environment.
- Parameters:
env (gym.Env) – Environment to apply wrapper information to.
wrappers_info (Union[Dict[str, Dict[str, Any]], str]) – Dictionary with wrapper information or path to a YAML file containing the information.
- Returns:
Environment with applied wrappers.
- Return type:
gym.Env