roggirg / AutoBots

102 stars 23 forks source link

Question about negative loss #7

Closed CHEN-H01 closed 2 years ago

CHEN-H01 commented 2 years ago

Hi, I am very interested in your work! There's a question that baffles me:

I found that the nll loss is a negative number when training autobots, I wonder if this is a normal phenomenon? Why is nll loss a negative number?

roggirg commented 2 years ago

Hi, Thank you for your interest in our work.

Indeed, this is normal behavior. NLL can have negative values when parameterizing Gaussian distributions.

Thanks!

CHEN-H01 commented 2 years ago

Ohh, thanks! Because I've never seen negative loss can be used to train a model.