A2C playing CarRacing-v0 from https://github.com/sgoodfriend/rl-algo-impls/tree/2067e21d62fff5db60168687e7d9e89019a8bfc0
308e9ab
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 | |