PyTorch Forums
How to create compound loss MSE + L1-norm regularization
Crazyai
(gg)
April 28, 2018, 3:49pm
2
You can use
nn.L1Loss
. See this post
Simple L2 regularization?
.
show post in topic