sgoodfriend's picture
PPO playing MicrortsDefeatCoacAIShaped-v3 from https://github.com/sgoodfriend/rl-algo-impls/tree/342013343b316412ba3aff97b0430343c69c8364
66f6441
raw
history blame contribute delete
322 Bytes
from typing import Any
from rl_algo_impls.wrappers.vectorable_wrapper import VecotarableWrapper
class IsVectorEnv(VecotarableWrapper):
"""
Override to set properties to match gym.vector.VectorEnv
"""
def __init__(self, env: Any) -> None:
super().__init__(env)
self.is_vector_env = True