You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
在预训练主程序里有一段,求多个GPU的平均值,这里没平均g_loss和d_loss后面会报错
if args.n_gpu > 1:
loss = loss.mean() # mean() to average on multi-gpu.
g_loss = g_loss.mean()
d_loss = d_loss.mean()
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: