-
Notifications
You must be signed in to change notification settings - Fork 107
Open
Description
Thanks for this great work. I'm recently interested in using diffusion model to generate images iteratively. I found your script cfg_sample.py was a nice implementation and I decided to learn from it. However, because I'm new in this field, I've encountered some problems quite hard to understand for me. It'd be great if some hints/suggestions are provided. Thank you!!
My questions are listed below. They're about the script cfg_sample.py.
- I noticed in the codes, we've used
zero_embedas one of the features for conditioning. What is the purpose of using it? Is it designed to allow the case of no prompt for input? - I also notice that the weight of
zero_embedis computed as1 - sum(weights), I think the1is to make them sum to one, but actually the weight ofzero_embedcould be a negative number, should weights be normalized before all the intermediate noise maps are weighted?
Thanks very much!!
Metadata
Metadata
Assignees
Labels
No labels