sgoodfriend's picture
DQN playing LunarLander-v2 from https://github.com/sgoodfriend/rl-algo-impls/tree/2067e21d62fff5db60168687e7d9e89019a8bfc0
d643f40
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