what the log_gaussian loss's mean?
dongfangduoshou123 opened this issue · 2 comments
dongfangduoshou123 commented
class log_gaussian:
def call(self, x, mu, var):
logli = -0.5*(var.mul(2*np.pi)+1e-6).log() -
(x-mu).pow(2).div(var.mul(2.0)+1e-6)
return logli.sum(1).mean().mul(-1)
1、What do mu and var represent?
2、I'm doubt about the log_gaussion's theory.
thank you!
dongfangduoshou123 commented
https://www.jiqizhixin.com/articles/2018-10-29-21
this explantation is good.
pianomania commented
Yeah, the explanation is very clear.
Thank you for your sharing!