Commit Graph
100 Commits
Author SHA1 Message Date
dodox 2fc44667c6 fancy_gym.upgrade allows adding mp-versions for already registered envs 2023-07-24 10:33:00 +02:00
dodox bb20bb53ec entry_point does not have to be given, when skipping registration of step-based 2023-07-24 10:30:34 +02:00
dodox edd8c75ed3 Consistent quotation marks 2023-07-23 15:26:11 +02:00
dodox 3a9143fd93 removed file deprecated 2023-07-23 15:14:14 +02:00
dodox 58bb8c0395 Fix: Env in new namespace 2023-07-23 13:24:16 +02:00
dodox 127d355ccc Move into our own namespace ('fancy') 2023-07-23 13:17:54 +02:00
dodox 95b2c255e9 Fixed typo 2023-07-23 13:13:02 +02:00
dodox fc4b98ea7d Allow envs to already be wrapped with a RawInterfaceWrapper 2023-07-23 13:12:07 +02:00
dodox e2ff915a71 Fix: Cannot use .get for object attributes 2023-07-23 13:11:31 +02:00
dodox 0fb0506e49 Fix: Many tests still tried to seed during make 2023-07-23 12:31:47 +02:00
dodox 6787b02bbd Fixed missing import in metaworld_adapter 2023-07-23 12:26:41 +02:00
dodox 99a02b8347 Started work on new adapter & mp_config port for metaworld 2023-07-23 12:21:34 +02:00
dodox 3e586a1407 Added tests for new fancy registry 2023-07-23 12:21:18 +02:00
dodox eb9b6e1e22 test_black_box.py should use vanilla env.make 2023-07-23 12:20:49 +02:00
dodox b0f7dc6c7c test/utils.py must use gym.make now (was fancy_gym.make) 2023-07-23 11:13:15 +02:00
dodox 21a9c0f8a3 Fixed Bug leading to infinite recusrion when making mp envs 2023-07-23 11:06:08 +02:00
dodox ce34df1814 No longer export old custom make 2023-07-23 11:05:45 +02:00
dodox a069aaac65 Removed old manual registration of mp-envs (port to fancy registry) 2023-07-23 10:25:28 +02:00
dodox 9ba3fa9dbc ported mp_config for mujoco/table_tennis 2023-07-23 10:25:01 +02:00
dodox 64e6ac5323 ported mp_config for mujoco/beerpong 2023-07-23 10:03:18 +02:00
dodox 83d5d39b42 removed deprecated envs 2023-07-20 11:48:19 +02:00
dodox dbf2be1006 refactoring env registration wip 2023-07-20 11:45:53 +02:00
dodox 1b061b2a37 ported mp_config for mujoco/box_pushing 2023-07-20 11:45:32 +02:00
dodox 8d26cccc35 ported mp_config for mujoco/box_pushing 2023-07-20 11:44:50 +02:00
dodox 17d370e2ba Allow overriding mp_config during register and make (also better errors
for DefaultMPWrapper)
2023-07-20 11:44:04 +02:00
dodox 9d03542282 Move mp_config out of metadata and onto MPWrappers 2023-07-20 10:56:30 +02:00
dodox f6e1718c1a metadata.mp_config now expected in MP_wrapper (implementing Fabian's feedback) 2023-07-20 10:34:38 +02:00
dodox 9fa932d2bb minor refactoring 2023-07-20 10:33:39 +02:00
dodox 30bafd7a4f Allow skipping merge with default bb config 2023-07-14 15:58:58 +02:00
dodox f375a6e4df Ported classic_control envs to fancy registry 2023-07-14 14:31:36 +02:00
dodox 6c90f8ade2 Getting rid of some old code 2023-07-14 14:29:08 +02:00
dodox ffbada2311 Started implementing new fancy registry 2023-07-14 14:28:31 +02:00
dodox 67a5d197d9 Weaker version requirement for dm-control 2023-07-07 18:16:13 +02:00
dodox 27f8335a0d Remove dependence of wrapper on old gym 2023-07-07 13:12:57 +02:00
dodox 14a95eb5ca Fixed Typo in README 2023-07-07 11:51:06 +02:00
dodox cdabd3f478 Downgrading mujoco 2.3.6 -> 2.3.3 2023-07-07 10:52:48 +02:00
dodox bf1eb496f6 Make Icon Attribution h2 2023-06-28 22:20:49 +02:00
dodox eb1d145dbd Fix Test: Delay was not supplied to mp-generator 2023-06-28 20:25:50 +02:00
dodox de118a3113 Down to 20 failing tests (more mitigations of metaworld bug) 2023-06-28 19:42:41 +02:00
dodox 1601a87cb1 Added attribution for the icon. 2023-06-27 21:43:22 +02:00
dodox 55f84da5e1 A fancy icon for fancy gym 2023-06-27 21:39:03 +02:00
dodox ad7ddd3b28 Fix: A missing ',' caused very weird bugs... 2023-06-24 12:24:52 +02:00
dodox e8119798c3 Updating some dependencies 2023-06-24 11:52:59 +02:00
dodox bc0dcb7642 Fixed: Tried importing old dependency 2023-06-24 11:43:40 +02:00
dodox 55c6cff690 Fix: PyPi had troubles finding a compatible version for dm-control 2023-06-24 11:03:40 +02:00
dodox 0fe56c4c0e Stricter dependency versions 2023-06-24 11:01:07 +02:00
dodox 9af42112b6 Version bump (made very breaking changes) 2023-06-24 10:37:35 +02:00
dodox 7354257f8e Bug mitigation for metaworld refactored and extended 2023-06-18 17:47:54 +02:00
dodox b6089c4b83 ugly_hack_to_mitigate_metaworld_bug 2023-06-18 15:52:17 +02:00
dodox f8ad65b790 Remove old file 2023-06-18 14:25:59 +02:00
dodox 9ade0dcdc4 Fix: Make wrappers work with BB and Dict-Space 2023-06-18 14:25:20 +02:00
dodox b032dec5fe Better handling of envs without defined max_steps 2023-06-18 14:23:59 +02:00
dodox 60a4cf11d6 Fix: Some envs used no longer existing binding to mujoco 2023-06-18 12:10:01 +02:00
dodox 49ac9c3785 Fix: Don't throw errors for envs, that do not expose a max_episode_steps. 2023-06-18 11:53:10 +02:00
dodox f44f01b478 Fix: Allow observation space dict in test_replanning 2023-06-18 11:52:35 +02:00
dodox fbba129034 Fix: Need to supply seed to reset in tests 2023-06-18 11:51:01 +02:00
dodox 9605f2e56c Fix: Test for dmc still referenced lib directly (not via shimmy) 2023-06-11 18:05:50 +02:00
dodox c9467c0e06 Upgrading metaworld (fixed bug that affected us) 2023-06-11 17:39:04 +02:00
dodox a23b44752e Implement support for Dict spaces for time_aware_observation-wrapper 2023-06-11 17:38:16 +02:00
dodox abeb963b4e Little hack to make envs work, that don't expose the max_episode_steps in their spec 2023-06-11 17:37:32 +02:00
dodox 2ad42f4132 Fix: Minor bugs in time aware obs wrapper 2023-06-11 13:47:38 +02:00
dodox e44b0ed9ed Fix: Version specification now requirted for dmc envs 2023-06-11 13:46:38 +02:00
dodox 4921cc4b0b Fix: Some envs had wrong obs space shapes and did not follow new gym spec 2023-06-11 13:45:44 +02:00
dodox 80de15fd14 Fix: Return for invalid trajectories did not follow new gym spec 2023-06-11 13:43:10 +02:00
dodox 6f1a36d18c Adding required render_fps metadata to custom envs 2023-06-11 12:30:56 +02:00
dodox ef64b0c21c Adding/fixing obs space definitions and metadata for various envs 2023-06-11 11:08:46 +02:00
dodox f07b8a26ac Made some assertions more verbose for easier debugging 2023-06-10 18:49:02 +02:00
dodox 40d2409c26 Fixed: ant_jump returned observations bigger then observation_space 2023-06-10 18:48:13 +02:00
dodox 42003a3f9a Allow custom XML-files for ant_env 2023-06-10 18:47:41 +02:00
dodox ddf6fd73b2 Fixed: hopper_jump returned observations bigger then observation_space 2023-06-10 18:40:03 +02:00
dodox 5e7f027ea0 Fixed Bug: walker_2d_jump was missing obsvation_space attribute 2023-06-10 18:34:49 +02:00
dodox ff382a2922 Converted mujoco env 'walker2d' to new coordinate convention
New versions of mujoco no longer allow global coordinates.
We therefore convert them to local ones.
The original files are kept as reference.
2023-06-10 13:40:33 +02:00
dodox c06fbee728 Converted mujoco env 'hopper_throw' to new coordinate convention
New versions of mujoco no longer allow global coordinates.
We therefore convert them to local ones.
The original files are kept as reference.
2023-06-10 13:37:40 +02:00
dodox 38cb5e1750 Converted mujoco env 'hopper_jump' to new coordinate convention
New versions of mujoco no longer allow global coordinates.
We therefore convert them to local ones.
The original files are kept as reference.
2023-06-10 13:35:48 +02:00
dodox 1fddeb838b Forgot to make it derive from Walker2dEnvCustomXML instead of original Walker2dEnv 2023-05-27 13:06:19 +02:00
dodox 110a8a9c0c Fix: MujocoEnv no longer supports manual assignment of mujoco_bindings 2023-05-27 12:55:46 +02:00
dodox dbd7c37da5 Also support old gym Box as observation_space (backwards compat) 2023-05-27 12:54:30 +02:00
dodox 29b458c7df Fix: hopper_jump_on_box still used unpatched HopperEnv 2023-05-27 12:53:57 +02:00
dodox a8a67601ca Fix: NameError: name 'd' is not defined 2023-05-27 12:48:45 +02:00
dodox 35680ab9a2 Merge branch 'master' into gym_upgrade 2023-05-27 11:45:51 +02:00
dodox d6df6779a1 Auto convert output spaces.Dict to Box for BB-Envs 2023-05-27 11:39:47 +02:00
dodox dabfc7cafe Adapted Mujoco Envs to new gymnasium spec
Gymnasium Mujoco Envs no longer allow overriding the used xml_file
We therefore implement intermediate classes, that reimplement this
feature.
2023-05-19 15:18:14 +02:00
dodox 1c002a235b Warning no longer applicable 2023-05-19 15:17:28 +02:00
dodox bc9d4cf19d More verbose errors for run_env_determinism 2023-05-19 14:54:13 +02:00
dodox 3bbf101e86 Fixed: test_black_box.py still used old gym specs in two places 2023-05-19 14:53:04 +02:00
dodox e70a56a7e3 Fixed: Typos 2023-05-19 14:04:19 +02:00
dodox e75ab89a37 Ported box_pushing to new mujoco bindings 2023-05-19 14:01:31 +02:00
dodox bf3ed8a06c Fix: TimeAwareObservation did not support float64 and tried to forbidden access private attribute. 2023-05-19 13:59:54 +02:00
dodox 07de655025 Allow dmc envs to be accessed via dmc:... (for backwards compatibility) 2023-05-18 19:50:19 +02:00
dodox 21d5ebb442 Fixed Bug: ToyEnv did not follow new gym spec 2023-05-18 19:13:35 +02:00
dodox 0dfd8e18e4 Fixed Bug: env_id was broken, when prefix is handled by other library
(e.g. 'dmc:...' by shimmy)
2023-05-18 19:08:11 +02:00
dodox d4a8306b9d Buf Fix: PyTests still used binding to old gym 2023-05-18 19:07:19 +02:00
dodox 1e62da0833 Use shimmy as a binding for dmc, also 'testing' seperate from 'all'
pip install .[all] will no longer install components only required for
testing
pip install .[testing] will also install all compionents required to run
all tests
2023-05-18 18:03:42 +02:00
dodox a559f92562 Adapted test to new gym interface
In prevous gym versions executing a step returned
obs, reward, done, info = env.step(...)

With the switch to gymnasium this has changed to
obs, reward, terminated, truncated, info = env.step(...)

We also made the code a bit more self explainatory.
2023-05-18 17:52:55 +02:00
dodox 228e343a1b Merge branch '47-update-to-new-gym-api' into gym_upgrade 2023-05-15 17:19:50 +02:00
dodox 826f22b18e Update URL for Metaworld (rlworkgroup -> Farama) 2023-05-15 17:11:57 +02:00
dodox 1c092d01bd Optional Dependency: PyTest 2023-05-15 17:11:14 +02:00
dodox 2cbfff7919 Added box2d as a dependency 2023-05-15 17:09:52 +02:00
dodox 9de1257e1c Updating gym(nasium) and metaworld; sticter versions 2023-05-15 16:55:53 +02:00
dodox b695239318 num_basis is not implemented; tests are expected to fail 2023-05-15 16:32:45 +02:00