Skip to content
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

EOF and Segmentation Error after upgrading to python=3.8 and replacing baselines with stable_baselines #36

Open
lucasosouza opened this issue Jun 28, 2021 · 2 comments

Comments

@lucasosouza
Copy link
Contributor

Not clear if the error is from replacing python, baselines or one of the previous PR as it wasn't tested in between. Might also be related to changing all arrays to torch tensors.

@vkakerbeck please add more information if you have them

@lucasosouza
Copy link
Contributor Author

PR #35 fixes reference to Ray Tune, so it can be installed with an environment with python 3.7

@vkakerbeck
Copy link
Collaborator

I tried running the code from before the switch to stable-baselines3 (commit a561eed) and the EOF error shows up there as well. Also in the newest commit with python 3.7 doesn't fix the problem.
As you said, it seems to be a memory leak and the EOF error then sows up after some time once we run out of memory which is why we didn't notice it in the short test runs.
I think it most likely comes from changing all the arrays to torch or something else we did around that time. The memory leak was not there yet when I tested the original implementation of differentiable disagreement (commit 16c61b0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants