lama icon indicating copy to clipboard operation
lama copied to clipboard

Inpaint a NEW thing?

Open csyhping opened this issue 2 years ago • 3 comments

Hi @windj007 , @AK391 , thanks for your excellent work. When I tried lama, I expected the chair to be removed in the output, but it seems it painted a new chair. Would you happen to have any idea how to solve this? Is it because my mask is too specified?

I've attached my input, mask, and output. I'd appreciate it a lot if you could help.

input 23

mask 23_mask

output 23_mask

csyhping avatar Apr 22 '24 09:04 csyhping

Update: Yeah, I tried with a coarse mask, and it worked well, so it seems the mask matters. Could you please give me a hint on how I should create a satisfactory mask (how accurate it should be like)?

csyhping avatar Apr 22 '24 09:04 csyhping

This data is amazing, I tried it, and the output is the same as your output @csyhping

chl916185 avatar May 16 '24 07:05 chl916185

Is it because you still have some color remaining around the edges of your masked boundary? I have noticed a similar issue, and I found that applying dilation to the mask effectively resolves it by removing the residual colors.

jiaxue-ai avatar May 30 '24 05:05 jiaxue-ai