My OpenAI playground
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
334B

  1. import gym
  2. from time import sleep
  3. import numpy as np
  4. import pickle
  5. import random
  6. import os
  7. from .settings import *
  8. env = gym.make(gym_name).env
  9. if use_video:
  10. env = gym.wrappers.Monitor(env, './video/',video_callable=lambda episode_id: True,force=True)
  11. from .train import *
  12. from .play import *
  13. from .review import *
  14. frames = []