Shuijing725 / CrowdNav_Prediction_AttnGraph

[ICRA 2023] Intention Aware Robot Crowd Navigation with Attention-Based Interaction Graph
https://sites.google.com/view/intention-aware-crowdnav/home
MIT License
172 stars 31 forks source link

multiprocessing connection error when training #19

Open msjun23 opened 4 months ago

msjun23 commented 4 months ago

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 commented 1 month ago

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