-
Notifications
You must be signed in to change notification settings - Fork 33
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
[Feature Request] Updating evogym Dependencies #35
Comments
Updating the environments to gymnasium would also be very helpful! |
Thanks @jagdeepsb for working on! Looking forward to update :) |
Ok -- I made many of the requested changes, and |
Trying to reproduce the results (to see if the optimal found robots are able to complete their task), I ran into problems. While the Walker-v0 worked fine other tasks were not completed by the specifically designed robots (for example for climbing, traversing). Trying to inspect the clipping/scaling, I modified the environments to print for debugging purposes. I noticed that changes made in the environments don't take effect. It seems as though the registration is not working as expected. After creating a copy of Walker-v0, naming it Walker-v1 and explicitly running code to register it, threw an error when running the run_ppo:
and then running run_ppo.py with Walker-v1 throws this error:
@Okabe-Junya @jagdeepsb have you had similar problems? |
Hey, it looks like the environment is not being registered by Gymnasium -- don't think this is an issue associated with Evogym. I recommend you follow the directory structure in our tutorial for registering a new environment (the tutorial hasn't yet been updated for gym --> gymnasium, but I think the directory/import structure is what's significant). Also, as done in the tutorial, you should inherit from |
I could solve the issue by uninstalling pip and rebuilding from source, now changes in the files take effect instead of being overwritten by the environment. Just in case someone else also has this problem. |
Closing this as requested changes have been completed. |
First of all, thank you for the wonderful software!! In our lab, we have been using evogym for our research.
Feature Request
I would like to update the dependencies without altering the functionality of evogym as much as possible.
Background
evogym is a fantastic software, however, its dependencies have not been updated. Because of this, we often struggle with installation and running experiments
Steps
To work on this issue, I think it should be divided into the following three major steps:
pyproject.toml
Notes
If we proceed with addressing this issue, we might need to prepare a branch like v2.
The text was updated successfully, but these errors were encountered: