PPO playing procgen-coinrun-easy from https://github.com/sgoodfriend/rl-algo-impls/tree/21ee1ab96a186676e5ed2f8c3185902f7c7bca7a
a9b202e
import gym | |
from typing import List, Optional | |
class NoopEnvSeed(gym.Wrapper): | |
""" | |
Wrapper to stop a seed call going to the underlying environment. | |
""" | |
def seed(self, seed: Optional[int] = None) -> Optional[List[int]]: | |
return None | |