
Classifier-Free Guidance Explained with a 2-D Diffusion Example
·1045 words·5 mins
How classifier-free guidance works: derived from Bayes’ rule, implemented in a few lines of PyTorch, with label dropout during training and what the guidance scale w does to samples.
