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
Unable to shuffle if the fields are not of same length #1798
Comments
Hm, it kinda works if I increase the buffer size by ten in the config file, but I still don't know why? |
This is kind of weird and unexpected, I don't see other people raising this issue, so I guess maybe delete and rerun and try to follow the basic guide step by step might help. |
I also experienced this issue. |
Are you using a Numpy version greater than 1.14.1 by any chance? Newer versions of Numpy are known to have similar issues. |
I have the same issue. |
Same issue. Using Ubuntu Bionic, numpy v 1.16.2 |
This doesnt seem to happen when using Numpy 1.14.5 and tensorflow 1.7 as mentioned in setup.py. |
It should be a compatibility problem with higher version of Tensorflow or Numpy. In my situation (py 3.7 && tf 1.13 && np 1.16), simply adding parameter But I dont know if that would cause any potential problems. |
The fields in the buffer should be all numerical, so I don't see an issue with adding the |
Fixes shuffling issue with newer versions of numpy (#1798). * make get_value_estimates output a dict of floats * Use np.append instead of convert to list, unconvert * Add type hints and test for get_value_estimates
Hi @EfveZombie, we found the root cause of this issue and fixed it on the latest |
Closing this issue as it was addressed in a recent release of ML-Agents. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hm, tried ml-agents 0.7 with my new 2080ti (runs great on normal Tensorflow),
updated Unity to the newest version 2018.3.7f1, training of 3D Balls example via cmd starts fine, but after a few episode (sometimes only a few, sometimes after 9) I get
"Unable to shuffle if the fields are not of same length"!
What could be the problem?
The text was updated successfully, but these errors were encountered: