KaiyangZhou / pytorch-center-loss

Pytorch implementation of Center Loss
MIT License
965 stars 218 forks source link

gradient exploding #25

Open feihongyu opened 1 year ago

feihongyu commented 1 year ago

Gradient exploding when I set ‘weight-cent’ to 200+,then I got a loss value(Nan). why?