Commit Graph

18 Commits

Author SHA1 Message Date
John Schulman
e689f93a42 remove deprecated behaviors (#1154) 2018-08-31 16:43:37 -07:00
Greg Brockman
28df2b1a21 Speed up time for import gym (#1020)
* Improve default import time from 750ms -> 73ms on 2016 Macbook pro

* Support code which expects gym.spaces.foo to work without a direct import of gym.spaces
2018-05-04 09:24:30 -07:00
Matthias Plappert
78c416ef7b New robotics environments (#912) 2018-02-26 17:35:07 +01:00
John Schulman
4c460ba6c8 Cleanup, removal of unmaintained code (#836)
* add dtype to Box

* remove board_game, debugging, safety, parameter_tuning environments

* massive set of breaking changes
- remove python logging module
- _step, _reset, _seed, _close => non underscored method
- remove benchmark and scoring folder

* Improve render("human"), now resizable, closable window.

* get rid of default step and reset in wrappers, so it doesn’t silently fail for people with underscore methods

* CubeCrash unit test environment

* followup fixes

* MemorizeDigits unit test envrionment

* refactored spaces a bit
fixed indentation
disabled test_env_semantics

* fix unit tests

* fixes

* CubeCrash, MemorizeDigits tested

* gym backwards compatibility patch

* gym backwards compatibility, followup fixes

* changelist, add spaces to main namespaces

* undo_logger_setup for backwards compat

* remove configuration.py
2018-01-25 18:20:14 -08:00
Greg Brockman
dcac27ba74 Add GYM_NO_LOGGER_SETUP to disable logging config
This is useful for frameworks which are often used with Gym but don't
have a direct dependency on it
2017-05-07 17:32:12 -07:00
Tom Brown
443d509df7 Add __version__ (#490) 2017-02-03 16:51:00 -08: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
Greg Brockman
483c7805c0 Improve logging configuration 2016-10-01 19:35:41 -07:00
Greg Brockman
9a5c0fc63e Add support for extra loggers 2016-10-01 19:24:50 -07:00
Greg Brockman
934b2acbb7 Add benchmark support (#338)
* Warn if seed doesn't return a list

* Add preliminary BenchmarkRun support

* Add experimental benchmark registration

* Flesh out interface

* Add preliminary BenchmarkRun support

* Warn if seed doesn't return a list

* Add experimental benchmark registration

* Flesh out interface

* Make benchmarkrun upload recursive

* Add evaluation episodes

* Add benchmark scoring

* Tweak reward locations

* Tweak scoring

* Clear default metadata in Wrapper

* Improve scoring

* Expose registry; fix test

* Add initial_reset_timestamp

* Add back algorithm; fix tests
2016-09-23 01:04:26 -07:00
Greg Brockman
f30ff469b8 [WIP] Start adding Filter API (#329)
Expand Wrapper API
2016-09-04 00:38:03 -07:00
Greg Brockman
e305f95412 Add experimental Wrapper (#276) 2016-08-11 14:45:52 -07:00
MarCnu
9260271bef Replace StrictVersion by LooseVersion
Replaces the parsing function for the version comparison, to allow non standard versions. Remains unchanged for standard versions. http://epydoc.sourceforge.net/stdlib/distutils.version.LooseVersion-class.html
2016-05-20 17:40:17 +01:00
Greg Brockman
1d41486480 Improve dependency checking 2016-05-15 16:34:16 -07:00
Greg Brockman
f8429d825d Import descriptions and background 2016-05-09 16:35:23 -07:00
Luke
138c1eafad Merge pull request #44 from lukemetz/lm/errors
added missing import
2016-05-01 23:09:16 -04:00
Jonas Schneider
216f3ea8ce Sanity check that all dependencies are satisfied on __init__ 2016-04-30 22:38:09 -07:00
Greg Brockman
e8f2980603 Initial release. Hello world :). 2016-04-27 08:00:58 -07:00