pytorch Bus error (core dumped)

在这里插入图片描述

起docker容器的时候增加共享内存:

docker run --rm -it --shm-size 8G wgs-torch:3.0 -v /data/wgs/text2img:/home bash

ref:https://github.com/pytorch/pytorch/issues/2244

猜你喜欢

转载自blog.csdn.net/qq_42363032/article/details/127890968