-
Notifications
You must be signed in to change notification settings - Fork 24
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
[cross_map_replace_steps not used?] #12
Comments
Line 214 in d631e8e
You should be able to reason out if you follow the tracing of the controller. self.local_blend is used for whether the some of latent image at each diffusion step of the generated image directly got swapped from the latent of the source image, so that the background pixel could be directly borrowed from the original image.
|
Thanks for quick reply: But I still don't find anything that inside The only used member functions are Line 164 in d631e8e
I have also check multiple times the code snippet in Nothing called in |
I think the cross-attention replacing threshold is actually defined by:
which takes cross_replace_steps as the parameter. self.cross_replace_alpha plays a role in
|
Dear authors,
Thanks for your brilliant work! I am wondering that when I dive into the
swapping_class.py
https://github.com/eric-ai-lab/photoswap/blob/main/swapping_class.py#L179
for understanding theusage of
cross_map_replace_steps
self_output_replace_steps
self_map_replace_steps
I didn't find the usage of these parameters in either self.replace_cross_attention(xxx) or self.replace_self_attention(xxx).
And I also want to know that the usage of
self.local_blend
, I didn't find it has been used in the code anywhere.Could you please tell me the meaning of these settings and how it actually influence the generated result?
Thanks.
justin biber checkpoint
The text was updated successfully, but these errors were encountered: