C3AE_Age_Estimation icon indicating copy to clipboard operation
C3AE_Age_Estimation copied to clipboard

confusion concerning the kl loss

Open HowToNameMe opened this issue 6 years ago • 5 comments

The output of fc1 can be negative while traning. And in KL loss computing procedure, negative value is not valid. So I wonder how will you explain or modify it.

HowToNameMe avatar Sep 27 '19 13:09 HowToNameMe

我想问下,这个kl loss计算的对吗?不应该是他注释掉的那几行才是正确的吗?H(p)可以直接用了l1 loss代替吗

alike123 avatar Oct 29 '19 08:10 alike123

I also have this confusion, and my loss is nan. Do you konw why? Thanks!

JeanXL avatar Nov 10 '19 10:11 JeanXL

I also have this confusion, and my loss is nan. Do you konw why? Thanks!

zhaoyuchinese avatar Nov 23 '19 14:11 zhaoyuchinese

#22 maybe you can get some help

vicwer avatar Nov 25 '19 06:11 vicwer

KL loss其实就包含了softmax cross entroy;

请问,作者您在训练前,对人脸裁剪对齐了么?

gengyanlei avatar Nov 29 '19 03:11 gengyanlei