smthemex / ComfyUI_AnyDoor

You can using AnyDoor in comfyUI,you can change the clothes of the characters and move the position of the objects in the picture
MIT License
42 stars 3 forks source link

MESSY / ARTIFACTS output image #5

Open RGX650 opened 1 month ago

RGX650 commented 1 month ago

the final generated image is kind of messy, a bit scrambled. Is their any issue regarding how the masks are handled...?

RGX650 commented 1 month ago

With both methods, i have the same issue...

Screenshot 2024-07-23 064641 Screenshot 2024-07-23 064752 Screenshot 2024-07-23 064939

smthemex commented 1 month ago

RMBG needs to fill the canvas, and I remember the mask it got had transparent channels. You can try synthesizing with blank images, but of course, I haven't tested this SAM yet

RGX650 commented 1 month ago

@smthemex
So to be sure:

INPUT IMAGES: Convert RGBA to RGB (Reactor node) MASK Cloth: ImageRemoveAlpha (fill background Black, then RGB output) MASK IMAGE: ImageRemoveAlpha (fill background White, then RGB output)

I still have then same problem...

Screenshot 2024-07-23 142716 Screenshot 2024-07-23 142854 Screenshot 2024-07-23 142437

RGX650 commented 1 month ago

Another try with same issue: Screenshot 2024-07-23 175620 Screenshot 2024-07-23 180055

Always converting to RGB with plain color background to be sure: Screenshot 2024-07-23 175838

smthemex commented 1 month ago

i will check the code ,but i am busy in this week

RGX650 commented 1 month ago

@smthemex thanks! good luck ;)