denoising-diffusion-pytorch icon indicating copy to clipboard operation
denoising-diffusion-pytorch copied to clipboard

Question about classifier_free_guidance.py

Open TreeberryTomato opened this issue 2 years ago • 0 comments

May I ask why in classifier_free_guidance.py you let null_classes_emb=nn.Parameter(torch.randn(dim)) instead of torch.zeros(dim), because the latter one seems more reasonable.

TreeberryTomato avatar May 09 '23 09:05 TreeberryTomato