原因:不可使用多线程
改正:将torch.utils.data.DataLoader
函数中参数num_workers
设置为0
Win10下pytorch报错:BrokenPipeError: [Errno 32] Broken pipe
猜你喜欢
转载自blog.csdn.net/Nicht_sehen/article/details/102748704
今日推荐
周排行