A2C playing Acrobot-v1 from https://github.com/sgoodfriend/rl-algo-impls/tree/983cb75e43e51cf4ef57f177194ab9a4a1a8808b
d91be11
from typing import TypeVar | |
from gym_microrts.envs.vec_env import ( | |
MicroRTSGridModeSharedMemVecEnv, | |
MicroRTSGridModeVecEnv, | |
) | |
MicroRTSGridModeVecEnvCompatSelf = TypeVar( | |
"MicroRTSGridModeVecEnvCompatSelf", bound="MicroRTSGridModeVecEnvCompat" | |
) | |
class MicroRTSGridModeVecEnvCompat(MicroRTSGridModeVecEnv): | |
def unwrapped( | |
self: MicroRTSGridModeVecEnvCompatSelf, | |
) -> MicroRTSGridModeVecEnvCompatSelf: | |
return self | |
MicroRTSGridModeSharedMemVecEnvCompatSelf = TypeVar( | |
"MicroRTSGridModeSharedMemVecEnvCompatSelf", | |
bound="MicroRTSGridModeSharedMemVecEnvCompat", | |
) | |
class MicroRTSGridModeSharedMemVecEnvCompat(MicroRTSGridModeSharedMemVecEnv): | |
def unwrapped( | |
self: MicroRTSGridModeSharedMemVecEnvCompatSelf, | |
) -> MicroRTSGridModeSharedMemVecEnvCompatSelf: | |
return self | |