Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Way of obtaining latents embedding #1

Open
yuhaoliu7456 opened this issue Aug 8, 2023 · 1 comment
Open

Way of obtaining latents embedding #1

yuhaoliu7456 opened this issue Aug 8, 2023 · 1 comment

Comments

@yuhaoliu7456
Copy link

Great work. I see that the latent embedding is extracted from the denoising process in your paper, but you set the 'latents_forward' as the default way in this code. Can you explain this? Is there any difference between these two settings? And Do you think which one is better?

@MichalGeyer
Copy link
Owner

Hi @yuhaoliu7456 !
sorry for the delay in reply (almost a year, wow, I wasn't maintaining this repo properly)
In the paper it is shown this way for simplicity.
However, when working with real images, it is both faster and more accurate to work with the features from the forward noising DDIM process; it accumulates less error and the time-consuming backward sampling is not needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants