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

The denoising process In equ 1 does not match the inference code? #8

Open
bang123-box opened this issue Apr 12, 2024 · 0 comments
Open

Comments

@bang123-box
Copy link

The equ 1 can be seen as:
image
the $\epsilon(z_t, \emptyset, I_{prompt})$ is computed conditioned on empty image and $I_{prompt}$.
But I found in the inference code(line 895 in model/pipeline.py), you do not compute noise_pred_img according to $\epsilon(z_t, \emptyset, I_{prompt})$.
image
noise_pred_null represents $\epsilon(z_t, \emptyset, \emptyset)$,
noise_pred_text is $\epsilon(z_t, I_{e}^{'}, I_{prompt})$
noise_pred_img is $\epsilon(z_t, I_{e}, \emptyset)$,
noise_pred_full is $\epsilon(z_t, I_{e}, I_{prompt})$.

So based on the above analysis, can you explain why this happens?

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