Skip to content

Conversation

kevindragon
Copy link

3.3.7 训练模型:损失函数需要sum

@ShusenTang
Copy link
Owner

MSELoss默认会求平均,所以得到的loss已经是个标量。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants