Commit Graph

8 Commits

Author SHA1 Message Date
Justin Francis
1a321d32d1 Add argpars for environment in play.py (#641)
Add an Argpars --env for environment with default set to: MontezumaRevengeNoFrameskip-v4
2019-03-07 12:53:00 -08:00
Felix Yan
fb7dc3e59f Fix a typo in gym/utils/play.py (#1187) 2018-10-23 14:20:14 -07:00
Christian Kauten
a77b139e58 Update play.py (#1026)
resolve KeyError from missing key in action dict. use `(dict).get` with a default value of NOP (0).
2018-08-09 10:40:57 -07:00
Evan Shelhamer
ac137fc7eb bump Atari envs to v4 given ROM fixes
see 199fdf3ac3
2017-05-12 18:14:33 -07:00
Evan Shelhamer
42a42fd393 play: set example fps to 60 as in original Atari 2017-05-12 16:35:33 -07:00
Evan Shelhamer
77b1e25b24 play: drop callback b.c. of slowdown 2017-05-12 16:35:33 -07:00
Evan Shelhamer
d1211037c2 fix play utility
- import pyglet window to fix mysterious issue with ui focus
  (hat tip @jeanharb)
- make matplotlib backend take effect by picking before plot import
- fix misc. issues with example usage
2017-05-12 16:35:33 -07:00
Tom Brown
d337f4e571 TimeLimit refactor with Monitor Simplification (#482)
* fix double reset, as suggested by @jietang

* better floors and ceilings

* add convenience methods to monitor

* add wrappers to gym namespace

* allow playing Atari games, with potentially more coming in the future

* simplify example in docs

* Move play out of the Env

* fix tests

* no more deprecation warnings

* remove env.monitor

* monitor simplification

* monitor simplifications

* monitor related fixes

* a few changes suggested by linter

* timestep_limit fixes

* keep track of gym env variables for future compatibility

* timestep_limit => max_episode_timesteps

* don't apply TimeLimit wrapper in make for VNC envs

* Respect old timestep_limit argument

* Pass max_episode_seconds through registration

* Don't include deprecation warnings yet
2017-02-01 13:10:59 -08:00