A2C playing MountainCar-v0 from https://github.com/sgoodfriend/rl-algo-impls/tree/0760ef7d52b17f30219a27c18ba52c8895025ae3
0bbce05
from typing import Any | |
from 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 | |