Pytorch:RuntimeError: DataLoader worker (pid 27) is killed by signal: Killed. Details are lost due
问题描述:在Docker中运行Pytorch,并且DataLoader采用了多进程(num_workers>0),当内存不足时报错如下:RuntimeError: DataLoader worker (pid 27) is killed by signal: Killed. Details are lost due to multiprocessing. Rerunning
·
问题描述:
在Docker中运行Pytorch,并且DataLoader采用了多进程(num_workers>0),当内存不足时报错如下:
RuntimeError: DataLoader worker (pid 27) is killed by signal: Killed. Details are lost due to multiprocessing. Rerunning with num_workers=0 may give better error trace.
看这提示完全不知道是因为OOM啊,特地发出来供大家参考,如有帮助请点赞。
参考:
更多推荐
已为社区贡献1条内容
所有评论(0)