Shilin-LU / TF-ICON

[ICCV 2023] "TF-ICON: Diffusion-Based Training-Free Cross-Domain Image Composition" (Official Implementation)

Home Page:https://shilin-lu.github.io/tf-icon.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can I merge a 30 * 30 pixel foreground image into a 720 * 1280 background image

sjz-hub opened this issue · comments

Can I merge a 30 * 30 pixel foreground image into a 720 * 1280 background image?

The 30*30 foreground may be too small. Our method may not be able to handle small object compositions.

30x30 may be okay, but 720x1280 is not the resolution that can be handled by SD v1 & v2. You may need to resize or crop to 512x512, or look for other base models like SDXL. But we haven't implemented our method on it.

Thanks!Can you recommend some fusion of small target foreground objects? I am interested in this area.

Thank you very much. I will try to merge the foreground image of 30 * 30 into 512 * 512 and see how the effect works

No problem :)
You can also check the paper 'paint by example: exemplar-based image editing with diffusion models' to see if it is helpful for you.