advimman / lama

🦙 LaMa Image Inpainting, Resolution-robust Large Mask Inpainting with Fourier Convolutions, WACV 2022

Home Page:https://advimman.github.io/lama-project/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inpaint a NEW thing?

csyhping opened this issue · 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

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)?

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

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.