-
Notifications
You must be signed in to change notification settings - Fork 630
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
Array has inhomogeneous shape when trying to run the pettingzoo example #274
Comments
Ok, after some more testing this appears to be an issue with python 3.9+ I had originally tested several combinations of versions of rl_card + pettingzoo in python 3.9, 3.10, and 3.11. I don't know if this is a rl_card + pettingzoo compatibility issue with python 3.9+ or is coming from some changed behavior in torch in python 3.9+. |
@Sisyphus192 Thanks for posting this. The update of Numpy causes this. I have just fixed the issue in the master branch. The PyPi version will also be updated soon. |
Hello, how to solve this problem when running code? question: |
@Walhalla-Summary Could you provide more details about how to reproduce the results? |
@Walhalla-Summary What version of rlcard and numpy are you using? |
@Sisyphus192 I use the latest version of rlcard, numpy=1.24, and Python version is 3.10 |
I can't replicate this with rlcard's dqn_agent on python 3.10 and numpy 1.24. I suspect the issue lies with your changes to the dqn_agent, can you provide more details about how to reproduce this error? |
Trying to run
run_rl.py
pettingzoo example and I get the following error:The text was updated successfully, but these errors were encountered: