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 · 11 comments
Open

BrokenPipeError #20

Jaylenennnnnn opened this issue Oct 2, 2023 · 11 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了

你解决这个问题了吗

@Jianguo-He
Copy link

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

你解决这个问题了吗
没有呢

@llzll1031
Copy link

llzll1031 commented Sep 5, 2024 via email

@Jianguo-He
Copy link

我也没有解决,我虽然Runtime Error,但是我还是能出来一个模型 在 2024-09-05 16:05:59,"Jianguo He" @.> 写道: 我在ubuntu下能跑出来,但是每次跑到一万多或者两万多步的时候就Runtime Error了 你解决这个问题了吗 没有呢 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>

测试性能怎么样呢? 你后续要把这个弄到实际仿真不呢

@Rogerlv51
Copy link

我也没有解决,我虽然Runtime Error,但是我还是能出来一个模型 在 2024-09-05 16:05:59,"Jianguo He" @.> 写道: 我在ubuntu下能跑出来,但是每次跑到一万多或者两万多步的时候就Runtime Error了 你解决这个问题了吗 没有呢 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: _@**.**_>

测试性能怎么样呢? 你后续要把这个弄到实际仿真不呢

大佬,能做出作者他们展示的那种视频吗?来一个纸箱放一个。求教!!!!

@Jianguo-He
Copy link

我也没有解决,我虽然Runtime Error,但是我还是能出来一个模型 在 2024-09-05 16:05:59,"Jianguo He" @.> 写道: 我在ubuntu下能跑出来,但是每次跑到一万多或者两万多步的时候就Runtime Error了 你解决这个问题了吗 没有呢 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: _@**.**_>

测试性能怎么样呢? 你后续要把这个弄到实际仿真不呢

大佬,能做出作者他们展示的那种视频吗?来一个纸箱放一个。求教!!!!

我也有这个想法 但是前面有其他事就搁置了 这几天才开始弄 你现在弄得咋样了

@Jianguo-He
Copy link

我也没有解决,我虽然Runtime Error,但是我还是能出来一个模型 在 2024-09-05 16:05:59,"Jianguo He" @.> 写道: 我在ubuntu下能跑出来,但是每次跑到一万多或者两万多步的时候就Runtime Error了 你解决这个问题了吗 没有呢 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: _@**.**_>

测试性能怎么样呢? 你后续要把这个弄到实际仿真不呢

大佬,能做出作者他们展示的那种视频吗?来一个纸箱放一个。求教!!!!

感觉要做到像视频那样有点难额

@Rogerlv51
Copy link

我也没有解决,我虽然Runtime Error,但是我还是能出来一个模型 在 2024-09-05 16:05:59,"Jianguo He" @.> 写道: 我在ubuntu下能跑出来,但是每次跑到一万多或者两万多步的时候就Runtime Error了 你解决这个问题了吗 没有呢 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: _@**.**_>

测试性能怎么样呢? 你后续要把这个弄到实际仿真不呢

大佬,能做出作者他们展示的那种视频吗?来一个纸箱放一个。求教!!!!

感觉要做到像视频那样有点难额

现在暂时没弄了,入门到放弃😂

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

6 participants