ControlCom-Image-Composition icon indicating copy to clipboard operation
ControlCom-Image-Composition copied to clipboard

Bad results, any idea why?

Open aviadmx opened this issue 2 years ago • 1 comments

Blending and harmony generates new content in the background: ControlCom_blend_harm

Original aspect ratio is not preserved here, the cream is originally a narrow portrait image: ControlCom_blend_harm

Blending and harmony again generates noise in the background: ControlCom_blend_harm

Here is with view & composition alternation: ControlCom_general_model_view_comp

Been using the tests/test_controllable_composition.py script with my own images, nothing else is altered. Any idea how to improve results, or are these out of domain for the model?

aviadmx avatar Oct 01 '24 07:10 aviadmx

(1) This model does not have the ability to preserve the background within the bounding box. It will re-generate the background pixels within the bounding box. Sometimes the re-generated background is undesirable. (2) The foreground will fill up the bounding box by default, so its aspect ratio is determined by the bounding box. You can first remove the original object using image inpainting and then redraw the bounding box. (3) The same reason as (1). In this case, the model needs to re-generate the hand, which makes the results worse. (4) The shoe is rotated a little bit.

ustcnewly avatar Oct 01 '24 13:10 ustcnewly