RuntimeError:Expected to have finished reduction in the prior iteration
时间:2020-07-18 22:50:38
收藏:0
阅读:1160
解决办法:
添加find_unused_parameters=true
model=torch.nn.parallel.DistributedDataParallel(model,find_unused_parameters=true)
原文:https://www.cnblogs.com/lyl0618/p/13337220.html
评论(0)