Skip to content

[cross_map_replace_steps not used?] #12

@tomguluson92

Description

@tomguluson92

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 the
usage 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.

  • source image

image

justin biber checkpoint

  • cross_map_replace_steps = 0.6 self_output_replace_steps = 0.8

image

  • cross_map_replace_steps = 0.9 self_output_replace_steps = 0.6

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions