advimman / lama

🦙 LaMa Image Inpainting, Resolution-robust Large Mask Inpainting with Fourier Convolutions, WACV 2022
https://advimman.github.io/lama-project/
Apache License 2.0
7.91k stars 838 forks source link

infer faster than big-lama #292

Closed yumianhuli1 closed 8 months ago

yumianhuli1 commented 8 months ago

There are models that are faster than big-lama inference without much loss of accuracy ?And also have a download link thanks

windj007 commented 8 months ago

You can try more recent models from different authors - they may be better. In our repository, big-lama is the best. All the rest models are both faster and deliver a bit worse image quality. If you know the size of your images, you can try distilling big-lama into a lighter architecture without Fourier layers (but it will not be as good at repetitive patterns without that). Another option is to use torch.compile or port it to a different framework. Neither of this is done in this repo, so it is up to you and the community