sled-group / InfEdit

[CVPR 2024] Official implementation of CVPR 2024 paper: "Inversion-Free Image Editing with Natural Language"
https://sled-group.github.io/InfEdit/
Other
269 stars 8 forks source link

P2P and UAC #24

Closed quickjkee closed 4 months ago

quickjkee commented 4 months ago

Thanks for your great work! Is it possible to use P2P instead of UAC in your code? My goal is to see the improvements behind UAC compared to P2P.

h6kplus commented 4 months ago

Hi, a quick version is to set the Self attn control schedule to 1.0, so there will be no mutual self attention editing. If you really want to change the code, you can go the ptp_utils.py and then change the class AttnProcessor():.