real-stanford / diffusion_policy

[RSS 2023] Diffusion Policy Visuomotor Policy Learning via Action Diffusion
https://diffusion-policy.cs.columbia.edu/
MIT License
1.56k stars 309 forks source link

ConnectionResetError(104) in KitchenLowdimRunner during environment initialization #116

Closed mr20010112 closed 2 weeks ago

mr20010112 commented 3 weeks ago

Thank you for the great work on this project. I’ve encountered an issue when running KitchenLowdimRunner during environment initialization. Specifically, I’m seeing a ConnectionResetError that causes the process to fail when trying to initialize the AsyncVectorEnv.

Here is a summary of the problem:

The error seems to occur when AsyncVectorEnv is initialized, and the observation space check is performed via communication with child processes (pipe.recv()), resulting in the connection being reset.

ShouZhengAI commented 5 days ago

@mr20010112 hi bro , have you solved it?

mr20010112 commented 5 days ago

Yes, by setting the gym version to 0.21.0 I guess.

ShouZhengAI commented 4 days ago

@mr20010112 thx,bro,I will try it

Luca-Wiehe commented 3 days ago

Yes, by setting the gym version to 0.21.0 I guess.

Unfortunately, this doesn't solve the issue for me. Have you changed anything else additionally? Can you tell us your python version?

mr20010112 commented 2 days ago

Yes, by setting the gym version to 0.21.0 I guess.

Unfortunately, this doesn't solve the issue for me. Have you changed anything else additionally? Can you tell us your python version?

https://drive.google.com/file/d/1yhYW4pBkRQlkUtFwvHIGS3H4J--HMkva/view?usp=sharing

mr20010112 commented 2 days ago

Yes, by setting the gym version to 0.21.0 I guess.

Unfortunately, this doesn't solve the issue for me. Have you changed anything else additionally? Can you tell us your python version?

3.9.15