RuntimeError: DataLoader worker (pid 463) is killed by signal: Bus error. It is possible that datalo

yoloV5在镜像中训练时出现了线面的错误,是因为docker容器分配的shm不足,所以需要手动设定shm size的小。

RuntimeError: DataLoader worker (pid 463) is killed by signal: Bus error. It is possible that dataloq

重新run一个容器

sudo docker run --name '' -p 5000:5000 -v /home:/home --runtime=nvidia --shm-size 8g -itd torch:v1 bash

 

posted @ 2021-11-27 19:08  AnswerThe  阅读(2176)  评论(0编辑  收藏  举报