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
{{ message }}
Repository navigation
question about the role of prompt depth features #18
I’m a beginner in diffusion models, and in your code, directly setting the encoded prompt depth to 0, detaching it, and then adding it to the image features essentially means that the prompt depth has no effect. Wouldn’t that just be using someone else’s model? If I’m mistaken, please forgive me.
" directly setting the encoded prompt depth to 0, detaching it"
This operation does not exist in our implementation. You may double-check it. Any issues or concerns are welcome.
Thank you for your reply, but I think the function of your zero_module for prompt depth encoding is directly setting the encoded prompt depth to 0 and detach it. Specifically, the function of this module is to set all weights and biases of this layer to 0, which also means that all outputs will be set to 0
Activity
haotongl commentedon Jan 16, 2025
" directly setting the encoded prompt depth to 0, detaching it"
This operation does not exist in our implementation. You may double-check it. Any issues or concerns are welcome.
questioner879 commentedon Jan 19, 2025
Thank you for your reply, but I think the function of your zero_module for prompt depth encoding is directly setting the encoded prompt depth to 0 and detach it. Specifically, the function of this module is to set all weights and biases of this layer to 0, which also means that all outputs will be set to 0