Fix import errors for matplotlib and seaborn visualization.
-
Fixed most of the typing issues under pylint --strict. 1.1 This required unifying the interface of
step,step_env,get_obs, 'is_terminal` for proper inheritance. -
spacesnow depends ongymnasiuminstead ofgym, adding an additional dependency. Maybe later ongymdependency can be completely removed since it's not maintained anymore? haven't looked into that. -
Removed
_DeviceArrayfrom the tests as it's deprecated. Uses jax version0.4.24 -
Ran everything in
python 3.10so technically you could support that too now. -
In
wrapper/brax.py,GymnaxtoBraxWrapperhas two new methodsbackendandobservation_size, as its required to be defined under newest brax version. Used brax version0.10.0.
Thanks to @Aidandos !
- Gym, EvoJAX, Brax, DM env wrappers
- Reacher environment inspired by Lenton et al. (2021)
- Swimmer environment inspired by Lenton et al. (2021)
- Basic Pong environment inspired by Kirsch (2018)
- Fixed Minatar tests for jax arrays.
- Fixed reward setting in
DiscountingChain-v0 - Fixed
Tuplespace check via enumerate.
- Refactored wrappers into separate sub-directory.
- Fix deprecated
tree_multimap. - Fix device grabbing when using an
jnp.arrayto set default in Acrobot env.
- Fix import structure.
- Fully functional API using flax-style
EnvStateandEnvParamsfor callingenv.step. - MinAtar environments are not operational yet.
- Release to ensure that
evosax0.0.9 release can work withGymFitnessbackend ingymnax.
- Basically everything :)
- Adds main
gym-like infrastructure that isjit,vmap&pmapcompatible:- Jittable environment base class:
environment.py - Spaces:
Discrete,Continuous,Box - Translation of numpy state to state dictionary for JAX
step.
- Jittable environment base class:
- Adds base set of environments:
- OpenAI's
classic_control:Pendulum-v0,CartPole-v0,MountainCar-v0,ContinuousMountainCar-v0,Acrobot-v0 - DeepMind's
bsuite:Catch-bsuite,DeepSea-bsuite,DiscountingChain-bsuite,MemoryChain-bsuite,UmbrellaChain-bsuite,MNISTBandit-bsuite,SimpleBandit-bsuite MinAtar:Asterix-MinAtar,Breakout-MinAtar,Freeway-MinAtar,Seaquest-MinAtar,SpaceInvaders-MinAtar
- OpenAI's
- Adds
testsfor comparinggym/numpyreset+stepwith JAX version.tests/classic_control/test_gym_env.pytests/bsuite/test_bsuite_env.py
- Adds set of
notebookswalking through the individual environments. - Adds set of
examplesincorporatinggymnaxinto JAX-based RL experiments.- Anakin agent - port DM Colab for gymnax
- CMA-ES policy evolution - port blogpost with experimental minimal agent
- Adds benchmark infrastructure and numbers on different devices (CPU/GPU/TPU):
- Transitions/Second & Specific rollout types vs Torch setup
- CPU: Intel Xeon 2.4 GHz
- GPU: V100, A100, RTX 2080Ti
- TPU: V2, V3 -
vmap+pmap
- Transitions/Second & Specific rollout types vs Torch setup
- Adds set of
experimentalutilities:dojos: Multi-transition rollout wrapper vialax.scan+jitfor sequentialstep.agents: Minimal and evaluation agent wrappers.
- Adds miscellaneous environments:
Bandit-misc,Rooms-misc