Feature/python3dot10 gym compatibility update#25
Open
jbhoffman613 wants to merge 5 commits intosemitable:masterfrom
Open
Feature/python3dot10 gym compatibility update#25jbhoffman613 wants to merge 5 commits intosemitable:masterfrom
jbhoffman613 wants to merge 5 commits intosemitable:masterfrom
Conversation
…and it can run. The only thing untested is using it in a full RL loop and the rendering features.
…ersion 2 for it to still work. Changed the init file for agents and dependencies so that the correct classes are imported and point to the correct class/function/interface. Fixed and made the imports more verbose, so it is clear what is being imported where. Removed white space. Changed the raise errors to be callables instead of classes
…larifies the dependencies in the setup doc, and it is now compatible with python3.10. I also fixed the dependency issue in the agents directory and some __init__ files. All of the tests now pass, and it the rendering now works as well.
…he new gym standard API and can be run with RLLib for proof of concept work as well
|
Hi @jbhoffman613 ! I just wanted to give you thanks for bringing this environment up to date with Python/Gymnasium, and am looking forward to testing it out. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Changes made:
.randint(...)was changed to
.integer(...)env.reset() -> obs, {}python -m pytest test_env.pywhile in the test directory and all the tests pass. At the highest level of the repo, the following can be run and the environment will be properly rendered.
python lbforaging.py --render