diff --git a/python/ray/rllib/models/preprocessors.py b/python/ray/rllib/models/preprocessors.py index 01e9db16f..f6ec1fa5e 100644 --- a/python/ray/rllib/models/preprocessors.py +++ b/python/ray/rllib/models/preprocessors.py @@ -78,7 +78,6 @@ class AtariRamPreprocessor(Preprocessor): class OneHotPreprocessor(Preprocessor): def _init(self): - assert self._obs_space.shape == () self.shape = (self._obs_space.n,) def transform(self, observation):