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

How is the autoencoding happening in the code during inference? #83

Open
Saranga7 opened this issue Jul 2, 2024 · 0 comments
Open

How is the autoencoding happening in the code during inference? #83

Saranga7 opened this issue Jul 2, 2024 · 0 comments

Comments

@Saranga7
Copy link

Saranga7 commented Jul 2, 2024

I understand that autoencoding is being performed on a sampled batch of images. I am, however, unsure where those original images are being used to condition the generation. In other words, I was expecting cond = encoder(x_start) to be used as a condition to the DDIM, but I don't see it happening, and yet somehow, the generated images are reconstructions of a sampled real image batch.

I am running the run_ffhq128.py (just the first train). I see that cond = None is being passed while sampling. I went deeper into the code and I thought atleast the _xstart would be used as coniditioning, but it is being passed as **kwargs in the p_mean_variance and ultimately not used. Am I missing something?

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

1 participant