annotated_deep_learning_paper_implementations icon indicating copy to clipboard operation
annotated_deep_learning_paper_implementations copied to clipboard

A mistake in labml_nn/diffusion/stable_diffusion/sampler/ddpm.py

Open aik2mlj opened this issue 1 year ago • 0 comments

Hi, I find a mistake here:

https://github.com/labmlai/annotated_deep_learning_paper_implementations/blob/e58a8f973d05af7d7934bea55ad3a07326739909/labml_nn/diffusion/stable_diffusion/sampler/ddpm.py#L71

This line should be

self.sqrt_1m_alpha_bar = (1. - alpha_bar) ** .5

instead.

aik2mlj avatar Oct 31 '22 10:10 aik2mlj