sgoodfriend's picture
A2C playing BipedalWalker-v3 from https://github.com/sgoodfriend/rl-algo-impls/tree/2067e21d62fff5db60168687e7d9e89019a8bfc0
4acf5bf
raw
history blame
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