Why 999 must be multiplied when calculating score?
vrvrv opened this issue · 1 comments
vrvrv commented
Hi,
I have some question on your code.
score_sde_pytorch/models/utils.py
Lines 146 to 159 in 1618dde
When computing the score matching loss, it seems that you post process the output of model
(A score model). But it doesn't make sense for me to multiplying 999 to t
and doing scaling score = - score / std
while you use the output of model
on reverse(sampling) process.
Lines 95 to 97 in 1618dde
Am I missing something?
yang-song commented
I did those just to make sure it matches the implementation of DDPM. They are by no means natural, and are also not necessary.