if running_loss is None:
running_loss = loss.item()
else:
running_loss = running_loss * .99 + loss.item()*.01
06-21
817
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
if running_loss is None:
running_loss = loss.item()
else:
running_loss = running_loss * .99 + loss.item()*.01