Closed icecity96 closed 3 years ago
I have a little confused about line 288-289 in dyrep.py:
dyrep.py
g_psi = torch.clamp(g / (psi + 1e-7), -75, 75) # to prevent overflow Lambda = psi * (torch.log(1 + torch.exp(-g_psi)) + g_psi)
In the paper the formulate is:
Why we need add a - for g_psi in the exp() and add another term psi*g_psi
-
g_psi
exp()
psi*g_psi
I have a little confused about line 288-289 in
dyrep.py
:In the paper the formulate is:
Why we need add a
-
forg_psi
in theexp()
and add another termpsi*g_psi