多gpu训练时遇到如下错误:
RuntimeError: Expected to have finished reduction in the prior iteration before starting a new one. This error indicates that your module has parameters that were not used in producing loss.
在跑
End-to-End_Multi Person_Pose_Estimation_With_Transformers 这篇论文时,进行分布式训练,出现了如上的错误。
解决方案:
修改这一处代码。