VPG playing MountainCarContinuous-v0 from https://github.com/sgoodfriend/rl-algo-impls/tree/2067e21d62fff5db60168687e7d9e89019a8bfc0
8bf4dee
from typing import List, Optional | |
from rl_algo_impls.wrappers.vectorable_wrapper import VecotarableWrapper | |
class NoopEnvSeed(VecotarableWrapper): | |
""" | |
Wrapper to stop a seed call going to the underlying environment. | |
""" | |
def seed(self, seed: Optional[int] = None) -> Optional[List[int]]: | |
return None | |