-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LaMa and MAT's result is different with original repo #63
Comments
What original repo are you referring to? The reason it's blury is that it runs at low resolution (256 for LaMA, 512 for MAT). You can technically run it at higher resolution, but it results in those grainy patterns, I don't find it very useful. To inpaint this image I'd downscale it, use Lama/MAT inpaint at low resolution, do a 1st diffusion pass, upscale and crop, then run a 2nd diffusion pass at original resolution but only the inpaint area. So Lama/MAT is meant as a first step in a pipeline, not a final solution. |
original lama repo: https://github.com/advimman/lama.Use big-lama ckpt. |
I don't use VAEEncodeForInpaint and I downscale/crop images which makes the low resolution less of an issue. Lama still helps at 1.0 denoise as a base for conservative inpainting (remove objects and such). For a stand-alone solution that you can slap on an image like in your example, the node would have to be more complex. I'm not particularly motivated to go for that because I don't think results are good enough in general. |
For example, I want to remove something from original image:
Original LaMa output:
Your node output:
The painted area is blurry and border is clear. The same with MAT.
The text was updated successfully, but these errors were encountered: