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

BrokenPipeError #20

Open
Jaylenennnnnn opened this issue Oct 2, 2023 · 4 comments
Open

BrokenPipeError #20

Jaylenennnnnn opened this issue Oct 2, 2023 · 4 comments

Comments

@Jaylenennnnnn
Copy link

Jaylenennnnnn commented Oct 2, 2023

Hello and thank you for this very interesting article and the resources it provides.
During training I meet with a problem, for train:
BrokenPipeError: [WinError 232] 管道正在被关闭。
F:\anaconda3\envs\3D-BPP-DRL\lib\site-packages\torch\nn_reduction.py:42: UserWarning: size_average and reduce args will be deprecated, please use reduction='none' instead.
warnings.warn(warning.format(ret))
Traceback (most recent call last):
File "F:/Online-3D-BPP-DRL-main/main.py", line 234, in
main(args)
File "F:/Online-3D-BPP-DRL-main/main.py", line 24, in main
train_model(args)
File "F:/Online-3D-BPP-DRL-main/main.py", line 122, in train_model
obs = envs.reset()
File "F:\Online-3D-BPP-DRL-main\acktr\envs.py", line 178, in reset
obs = self.venv.reset()
File "F:\Online-3D-BPP-DRL-main\baselines\common\vec_env\vec_normalize.py", line 47, in reset
obs = self.venv.reset()
File "F:\Online-3D-BPP-DRL-main\baselines\common\vec_env\shmem_vec_env.py", line 66, in reset
pipe.send(('reset', None))
File "F:\anaconda3\envs\3D-BPP-DRL\lib\multiprocessing\connection.py", line 206, in send
self._send_bytes(_ForkingPickler.dumps(obj))
File "F:\anaconda3\envs\3D-BPP-DRL\lib\multiprocessing\connection.py", line 280, in _send_bytes
ov, err = _winapi.WriteFile(self._handle, buf, overlapped=True)
BrokenPipeError: [WinError 232] 管道正在被关闭。

Process finished with exit code 1

Great thanks!

@Jaylenennnnnn Jaylenennnnnn changed the title 求助 BrokenPipeError Oct 4, 2023
@MelindaHT
Copy link

Did you encounter such an error while training on a Windows system? Because I also encountered this issue while training on the Win system, but after changing to training on the Ubuntu system, this problem will not occur

@Jianguo-He
Copy link

我在ubuntu下能跑出来,但是每次跑到一万多或者两万多步的时候就Runtime Error了

@suoyike1
Copy link

suoyike1 commented Jul 7, 2024

我在ubuntu下能跑出来,但是每次跑到一万多或者两万多步的时候就Runtime Error了

me too

@llzll1031
Copy link

我在ubuntu下能跑出来,但是每次跑到一万多或者两万多步的时候就Runtime 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

5 participants