WIP: introduces compatibility with gymnasium #34
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Turns out the work was really simple!
This is a WIP because a few features are missing even though the overall software seems to be working fine:
env = gymnasium.make("HIV-v0", apply_api_compatibility=True)
, this is not ideal and we should try to keep ourselves within the last API as much as possible. The reason why I'm calling there is because I don't seem able to call make in a file. I'm not entirely sure why but somehow the environment is not registered withingymnasium
. If one runs:The gymnasium default environments are all listed but the whynot custom ones are not.
When I run make within an environment it works fine.