lit_sb3.wrappers.yaml_compat_resize
source module lit_sb3.wrappers.yaml_compat_resize
Classes
-
YAMLCompatResizeObservation — ResizeObservation that accepts a list instead of a tuple for YAML compatibility.
source class YAMLCompatResizeObservation(env: gym.Env, shape: list[int])
Bases : ResizeObservation
ResizeObservation that accepts a list instead of a tuple for YAML compatibility.
Attributes
-
metadata : dict[str, Any] — attr:
Env:attr:metadata. -
render_mode : str | None — attr:
Env:attr:render_mode. -
spec : EnvSpec | None — attr:
Env:attr:specattribute with theWrapperSpecif the wrapper inherits fromEzPickle. -
action_space : spaces.Space[ActType] | spaces.Space[WrapperActType] — attr:
Env:attr:action_spaceunless overwritten then the wrapper :attr:action_spaceis used. -
unwrapped : Env[ObsType, ActType] — Returns the base environment of the wrapper.
-
np_random_seed : int | None — attr:
np_random_seed. -
np_random : np.random.Generator — attr:
Env:attr:np_randomattribute.