sgoodfriend's picture
VPG playing MountainCarContinuous-v0 from https://github.com/sgoodfriend/rl-algo-impls/tree/2067e21d62fff5db60168687e7d9e89019a8bfc0
8bf4dee
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