“RuntimeError: DataLoader worker (pid 83709) is killed by signal: Bus error. It is possible that dataloader’s workers are out of shared memory. Please try to raise your shared memory limit.”

1. pytorch 训练模型的时候报错

“RuntimeError: DataLoader worker (pid 83709) is killed by signal: Bus error. It is possible that dataloader’s workers are out of shared memory. Please try to raise your shared memory limit.”
————————————————
https://blog.csdn.net/weixin_43220532/article/details/116162918

2. systemctl stop docker

$ su root
$ cd /var/lib/docker/containers/容器ID
$ ls
$ vim hostconfig.json

posted @ 2022-02-12 21:16  littlevigra  阅读(1836)  评论(0编辑  收藏  举报