alexfrom0815 / Online-3D-BPP-DRL

This repository contains the implementation of paper Online 3D Bin Packing with Constrained Deep Reinforcement Learning.
287 stars 66 forks source link

BrokenPipeError #20

Open Jaylenennnnnn opened 11 months ago

Jaylenennnnnn commented 11 months ago

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!

MelindaHT commented 5 months ago

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 commented 3 months ago

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

suoyike1 commented 1 month ago

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

me too

llzll1031 commented 1 month ago

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

你解决这个问题了吗