Commit Graph

422 Commits

Author SHA1 Message Date
Oleg Klimov
ee2c0243c0 LunarLanderContinuous (#307)
* New LunarLanderContinuous, LunarLander-v2 remains exactly the same, no version bump.

* keyboard_agent.py works again.
2016-08-24 16:08:32 -07:00
Olivier Sigaud
c97551e8e5 added continuous mountain car v0 (#306)
* added continuous mountain car v0

* spotted that the action should be a vector, not a scalar

* fixed bug on action format

* bug fixed in scoreboard registering

* the observation (aka state) should be a numpy array

* added comment on reward range as requested
2016-08-24 14:10:58 -07:00
Philip Paquette
4b9984c00e Moved doom to gym_doom (#319) 2016-08-24 08:24:10 -07:00
rafal
3d29fb541b bump version 2016-08-24 00:18:11 -07:00
Rafal Jozefowicz
c11cacd50d Remove unnecessary copies from atari environments (#317) 2016-08-24 00:15:27 -07:00
Jesse Cooper
932ed300f4 Fix error when running min on empty list (#314)
* Fix error when running min on empty list

Running min on an empty list (which occurs on first episode from `if len(content['timestamps'])==0: continue`) causes it to throw an error

* Update monitor.py

Return 0 for initial_reset_timestamp when no initial_reset_timestamps
2016-08-23 22:55:42 -07:00
catherio
7f2a52bf19 Create separate descritpions for PyGame environments, using text copied from the PLE website (#313)
Create separate descriptions for PyGame environments
2016-08-23 20:01:43 -07:00
Luis Sobrecueva
105f0365fa Added PLE env to scoreboard (#299) 2016-08-23 18:02:09 -07:00
catherio
295812fd40 Allow envs to be registered on the scoreboard but not in gym core (#311) 2016-08-23 17:00:47 -07:00
John Schulman
dbf7e51023 define actual methods for register, make, spec 2016-08-20 16:05:50 -07:00
Greg Brockman
b35b24e69d Bump version 2016-08-18 20:02:21 -07:00
Greg Brockman
fd051e0895 Drop 'ending episode' message to debug 2016-08-18 20:02:04 -07:00
John Schulman
75b6d9993f minor fix 2016-08-18 09:26:18 -07:00
Greg Brockman
e2c9e84a51 Bump version 2016-08-17 15:55:14 -07:00
Greg Brockman
ee02589eec Don't have envs be aware of wrappers (#296)
You can always achive the same effect by exposing a wrapping function:

def MyEnv():
  return MyWrapper(MyUnwrappedEnv())
2016-08-17 15:16:45 -07:00
Greg Brockman
b3ef84839e Add training directory to logging 2016-08-17 14:00:53 -07:00
Greg Brockman
40fc7d57ce Have env.close also close the monitor and any open windows 2016-08-17 13:59:35 -07:00
John Schulman
c6a3f66537 log error in load_results 2016-08-17 12:51:29 -07:00
Greg Brockman
a74fcb5dd1 Bump version 2016-08-17 12:00:16 -07:00
Greg Brockman
8a9bcdf061 Don't write stats file unless requested either 2016-08-17 11:59:29 -07:00
Greg Brockman
cfd90f38c8 Bump version 2016-08-17 11:26:55 -07:00
Greg Brockman
922fc56d2f Improve performance for short episodes by only writing upon reset when requested 2016-08-17 11:26:55 -07:00
Philip Paquette
14f8c9a3f2 Wrapper - Common frame skipping (#293)
* Common frame skipping

* Common frame skipping - Fixes

* Raising error if skip.stepcount already in info.
2016-08-14 19:24:26 -07:00
Philip Paquette
cc1483deb1 Renamed HighLow to MultiDiscrete, added adapters and better documentation (#292) 2016-08-14 13:18:28 -07:00
Greg Brockman
d51e794f12 Bump version 2016-08-13 19:25:16 -07:00
Greg Brockman
09082c9e5c Tweak Wrapper implementation (#291)
* Tweak README and don't use __new__ for wrapper

The extra 'env' argument means that Wrapper authors with a custom
__init__ need to think about the parent signature anyway, so there's
not as much benefit to adding the more surprising __new__.

* Add support for registering wrappers for the official environment
2016-08-13 19:24:48 -07:00
Philip Paquette
30cdc4dbb4 Removing dot files with no cd (#290) 2016-08-13 13:49:01 -07:00
Philip Paquette
67ad16e70f Docker - cleans cached code before uploading our code (#289)
* Docker - cleans cached code before uploading our code

* Saves tox before cleanup

* changing directory before removing
2016-08-13 12:57:46 -07:00
Philip Paquette
f4ae35ea73 Wrappers - Added 'wrappers' and 'step_count' property + monitor support (#288)
* Wrappers - Added 'wrappers' and 'step_count' property + monitor support

* Removed step_count and wrappers from api and monitor

* Removed wrappers and name property
2016-08-13 10:25:19 -07:00
Philip Paquette
ee7ba41b9a Docker - Minor build fix (#286) 2016-08-12 14:01:20 -07:00
Greg Brockman
dda87dc930 Add double creation to the test dockerfile 2016-08-11 20:26:06 -07:00
Greg Brockman
652fd97633 Allow double-creating the gym directory 2016-08-11 20:21:52 -07:00
Greg Brockman
f34f26d116 Bump version 2016-08-11 14:46:36 -07:00
Greg Brockman
e305f95412 Add experimental Wrapper (#276) 2016-08-11 14:45:52 -07:00
asmith26
5a990b807f Added keras-rl. (#278) 2016-08-11 14:45:13 -07:00
Greg Brockman
0f5ca7693d Switch to quay.io/openai/gym:base for tests 2016-08-11 10:49:27 -07:00
Greg Brockman
fabb897311 Switch to Docker for tests (#285) 2016-08-10 16:12:51 -07:00
Greg Brockman
be1eeecaec Install python OpenGL 2016-08-10 09:46:47 -07:00
Greg Brockman
fbb17a9ebc Bump version 2016-08-10 09:35:52 -07:00
Greg Brockman
bde0de609d Stop testing render for gym.envs.parameter_tuning 2016-08-08 11:53:50 -07:00
Philip Paquette
9337ab7bca Fixed Issue #267 - Hex9v9-v0 does not behave as it should when there is a full game board. (#274) 2016-08-08 11:41:12 -07:00
Greg Brockman
36b2a58b3f Fix monitored env memory leak (#277) 2016-08-06 14:53:52 -07:00
Greg Brockman
ba71635ccd Fix registration for new envs 2016-08-06 00:40:21 -07:00
John Schulman
5ba5cb7e2d minor changes to cartpole+acrobot, upgrade to v1 (#260)
* change cartpole timestep limit to 500
change acrobot to take cos/sin of angles, and increase timestep limit so it gets solved by random exploration

* restore CartPole-v0

* Oops, fix threshold on cartpole
2016-08-06 00:15:50 -07:00
Nathan Daly
b46f30dd4b Fixed quotes in NotInstalled error message (#261)
s/.)'/'.)/ -- the quote accidentally went around too much.
2016-08-06 00:15:12 -07:00
Rafael Cosman
e63f82d0ed Adds description to NChain-V0 (#263) 2016-08-06 00:12:40 -07:00
Philip Paquette
7a0a421890 Added self._seed() in doom_env __init__ (#273) 2016-08-06 00:11:59 -07:00
Greg Brockman
c4317fc5f9 Handle bad configure calls more nicely 2016-08-05 16:30:24 -07:00
Jonas Schneider
1d6a849c6d Re-add travis wait 2016-08-03 19:52:34 -07:00
Jonas Schneider
840470dee4 Make dependency declarations easier, remove Miniconda from build 2016-08-03 19:24:14 -07:00