You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I read your paper and code and I can not find the relationship between the shape of the weights curve in section D. and the equation in your code: 1 / (self.p2_k + self.snr)**self.p2_gamma.
For example, I'm using the cosine scheduler with 1000 timesteps. The SNR is calculated as snr = 1.0 / (1 - self.alphas_cumprod) - 1. And then the weights are calculated as 1 / (1.0 + self.snr)**1.0.
This is a chart of SNR as a function of diffusion steps:
This is a chart of unnormalized weights as a function of diffusion steps:
This is a chart of unnormalized weights as a function of signal-to-noise ratio (SNR):
This is an original chart of unnormalized weights from Figure A.:
The weights drawn in our plots are VLB loss. For example, the blue lines in Figure A are lambdas in equation (7) of our paper. What you have drawn is the relative weight of lambda' and lambda (equation (8)).
Sorry for late reply.
Hello @jychoi118,
I read your paper and code and I can not find the relationship between the shape of the weights curve in section D. and the equation in your code:
1 / (self.p2_k + self.snr)**self.p2_gamma
.For example, I'm using the cosine scheduler with 1000 timesteps. The SNR is calculated as
snr = 1.0 / (1 - self.alphas_cumprod) - 1
. And then the weights are calculated as1 / (1.0 + self.snr)**1.0
.This is a chart of SNR as a function of diffusion steps:
This is a chart of unnormalized weights as a function of diffusion steps:
This is a chart of unnormalized weights as a function of signal-to-noise ratio (SNR):
This is an original chart of unnormalized weights from Figure A.:
The full code:
Thanks.
The text was updated successfully, but these errors were encountered: