Preparing gymrecord to be snappified

This commit is contained in:
Brandon Rozek 2020-01-27 21:16:55 -05:00
parent 758d819ad1
commit 69503dafb1
4 changed files with 25 additions and 2 deletions

View file

@ -1,3 +1,4 @@
#!/usr/bin/env python
import play
import gym
from collections import namedtuple
@ -91,4 +92,4 @@ while playThread.is_alive():
env.log_transitions()
# Save what's remaining after process died
env.log_transitions()
env.log_transitions()

View file

@ -1,2 +1,2 @@
#!/bin/sh
python play_env.py --environment_name=PongNoFrameskip-v4 --logdir=playlogs
python gymrecord --environment_name=PongNoFrameskip-v4 --logdir=playlogs

16
requirements.txt Normal file
View file

@ -0,0 +1,16 @@
atari-py==0.2.6
cloudpickle==1.2.2
cycler==0.10.0
future==0.18.2
gym==0.15.4
kiwisolver==1.1.0
matplotlib==3.1.2
numpy==1.18.1
opencv-python==4.1.2.30
Pillow==7.0.0
pygame==1.9.6
pyglet==1.3.2
pyparsing==2.4.6
python-dateutil==2.8.1
scipy==1.4.1
six==1.14.0

6
setup.py Normal file
View file

@ -0,0 +1,6 @@
from distutils.core import setup
setup(name='gymrecord',
version='0.9',
scripts=['gymrecord'],
py_modules = ['play']
)