mirror of
https://github.com/vale981/ray
synced 2025-04-23 06:25:52 -04:00
Fix for gym version 0.9.5. (#1471)
This commit is contained in:
parent
ab5d4a6010
commit
f6c835e4b8
1 changed files with 0 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue