Commit 8e5bcbe6 authored by Yuxin Wu's avatar Yuxin Wu

bug fix

parent 52aae61a
......@@ -4,18 +4,20 @@
# Author: Yuxin Wu <ppwwyyxxc@gmail.com>
import time
from ..utils import logger
try:
import gym
except ImportError:
logger.warn("Cannot import gym. GymEnv won't be available.")
import time
from ..utils import logger
from ..utils.fs import *
from ..utils.stat import *
from .envbase import RLEnvironment, DiscreteActionSpace
__all__ = ['GymEnv']
class GymEnv(RLEnvironment):
"""
An OpenAI/gym wrapper. Will auto restart.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment