sgoodfriend's picture
PPO playing MicrortsDefeatCoacAIShaped-v3 from https://github.com/sgoodfriend/rl-algo-impls/tree/f7c6f26745a35b21529f65cf3c71dfd6bbf33919
0589ae3
raw
history blame contribute delete
326 Bytes
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