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

multiprocessing connection error when training #19

Open
msjun23 opened this issue Jul 2, 2024 · 1 comment
Open

multiprocessing connection error when training #19

msjun23 opened this issue Jul 2, 2024 · 1 comment

Comments

@msjun23
Copy link

msjun23 commented Jul 2, 2024

Hi, I encountered an error that I don’t understand while trying to reproduce your work.

It doesn’t seem related to the algorithm or mechanism but rather to low-level coding, specifically multiprocessing, as shown in the attached image.

스크린샷 2024-07-02 오전 11 32 50

To debug, I limited num_env_steps, and the error occurred when the training code ended. During training, there were no errors, and the code ran well.

Does anyone have a solution for this type of error?

@Shuijing725
Copy link
Owner

It doesn't affect training or testing. Adding envs.close() at the end of the training loop will solve the error.

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