-
Notifications
You must be signed in to change notification settings - Fork 8.6k
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
Dict Space Crash on to_jsonable #1841
Comments
I'm using version 0.15.6 by the way. Doesn't look like this has been fixed in newer releases. |
What is the process for fixing issues like this? Would OpenAI process a merge request to Thanks in advance. |
Pull request is here: #1849 |
Addressing CI issues now. |
After looking at the failing test code for the pull request I'm realizing that the to_jsonable function is written assuming the caller wraps the input space object in a list. The crash occurs only when the object is not wrapped in a list. I'm not sure I understand the logic in this design but my issue is mute if I follow that example. Closed the pull request and this issue. |
The
to_jsonable
function fails for Dict space types. Here is a simple example...Here is the call stack...
I can fix the issue by making the following change to `gym/spaces/dict.py'...
...to...
The text was updated successfully, but these errors were encountered: