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
Hi,
Whether this is a bug or not is on line 55 of diffusion.py: self.sqrt_recipm1_alphas_bar = torch.exp(self.log_one_minus_alphas_bar - self.log_sqrt_alphas_bar)?
When I read this code, I found that the calculation of sqrt_recipm1_alphas_bar should use log_sqrt_one_minus_alphas_bar instead of log_one_minus_alphas_bar, and this code is missing sqrt part.
The text was updated successfully, but these errors were encountered:
In line 84 of dissusion.py : self._extract(coef = self.sqrt_one_minus_alphas_bar, t = t, x_shape = x_t.shape) * eps should it be changed to self.sqrt_recipm1_alphas_bar
Hi,
Whether this is a bug or not is on line 55 of diffusion.py: self.sqrt_recipm1_alphas_bar = torch.exp(self.log_one_minus_alphas_bar - self.log_sqrt_alphas_bar)?
When I read this code, I found that the calculation of sqrt_recipm1_alphas_bar should use log_sqrt_one_minus_alphas_bar instead of log_one_minus_alphas_bar, and this code is missing sqrt part.
The text was updated successfully, but these errors were encountered: