garage.misc.tensor_utils module¶
-
normalize_pixel_batch
(env_spec, observations)[source]¶ Normalize the observations (images).
If the input are images, it normalized into range [0, 1].
Parameters: - env_spec (garage.envs.EnvSpec) – Environment specification.
- observations (numpy.ndarray) – Observations from environment.