sgoodfriend's picture
PPO playing impala-QbertNoFrameskip-v4 from https://github.com/sgoodfriend/rl-algo-impls/tree/e47a44c4d891f48885af0b1605b30d19fc67b5af
35bb3c8
raw
history blame contribute delete
257 Bytes
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