Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring #68

Merged
merged 17 commits into from
Apr 4, 2024
Merged

Refactoring #68

merged 17 commits into from
Apr 4, 2024

Conversation

Aidandos
Copy link
Contributor

@Aidandos Aidandos commented Apr 3, 2024

  1. I 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.

  2. spaces now depends on gymnasium instead of gym, adding an additional dependency. Maybe later on gym dependency can be completely removed since it's not maintained anymore? haven't looked into that.

  3. I removed _DeviceArray from the tests as it's deprecated. I use jax version 0.4.24

  4. I ran everything in python 3.10 so technically you could support that too now.

  5. In wrapper/brax.py, GymnaxtoBraxWrapper has two new methods backend and observation_size, as its required to be defined under newest brax version. I used brax version 0.10.0.

@RobertTLange RobertTLange merged commit bf99f8d into RobertTLange:main Apr 4, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants