GIMP Chat
http://gimpchat.com/

Lama Cleaner: a free, open-source inpainting tool
http://gimpchat.com/viewtopic.php?f=22&t=20268
Page 1 of 1

Author:  JamesH [ Wed Feb 01, 2023 7:21 am ]
Post subject:  Lama Cleaner: a free, open-source inpainting tool

Lama Cleaner is a free, open-source and fully self-hostable inpainting tool powered by state-of-the-art AI models. You can use it to remove any unwanted object, defect, people from your pictures or erase and replace anything on your pictures.

some test
remove watermark
Image

remove unwanted object
Image

Image
found at BigFoto

remove scratches
Image

Author:  contrast_ [ Wed Feb 01, 2023 1:18 pm ]
Post subject:  Re: Lama Cleaner: a free, open-source inpainting tool

Awesome! I love this!

Author:  contrast_ [ Wed Feb 01, 2023 2:02 pm ]
Post subject:  Re: Lama Cleaner: a free, open-source inpainting tool

I tweeted about this.

https://twitter.com/LinuxBeaver/status/ ... 1911284736

Author:  meetdilip [ Mon Feb 20, 2023 2:12 am ]
Post subject:  Re: Lama Cleaner: a free, open-source inpainting tool

Hi, I installed Lama Cleaner using these commands in Ubuntu 22.04

pip install lama-cleaner
lama-cleaner --model=lama --device=cpu --port=8080

It took a lot of space than I imagined ( around 4GB, I guess ) and it is not waiting till I draw the mask completely. The result was not very satisfactory for me either. So I tried to save some space by removing it using

pip uninstall lama-cleaner

The command was executed immediately, but I see that the space is still gone. I tried to remove the cache using Bleachbit as root, but only 320 MB was removed.

Any chance I can completely remove Lama Cleaner and win back the space?

Thanks.

Author:  nelo [ Mon Feb 20, 2023 4:27 am ]
Post subject:  Re: Lama Cleaner: a free, open-source inpainting tool

There seems to exist pip-autoremove https://pypi.org/project/pip-autoremove/
Sounds as if it would do what you need.
(No guarantee - didn't try myself)

Author:  meetdilip [ Mon Feb 20, 2023 5:01 am ]
Post subject:  Re: Lama Cleaner: a free, open-source inpainting tool

Thanks @nelo

I already removed Lama Cleaner, but the space is still occupied.

Author:  nelo [ Mon Feb 20, 2023 5:23 am ]
Post subject:  Re: Lama Cleaner: a free, open-source inpainting tool

Does a list of dependencies help?
https://github.com/Sanster/lama-cleaner ... ements.txt

Author:  meetdilip [ Mon Feb 20, 2023 5:24 am ]
Post subject:  Re: Lama Cleaner: a free, open-source inpainting tool

Thanks. I do not know how to handle this.

https://github.com/Sanster/lama-cleaner/issues/223

Started a bug report on GitHub. Hopefully, there will be an official answer.

Author:  meetdilip [ Mon Feb 20, 2023 9:53 am ]
Post subject:  Re: Lama Cleaner: a free, open-source inpainting tool

Manually uninstalled everything one by one except

pip uninstall markupsafe
Found existing installation: MarkupSafe 2.0.1
Not uninstalling markupsafe at /usr/lib/python3/dist-packages, outside environment /usr
Can't uninstall 'MarkupSafe'. No files were found to uninstall.


Thanks for all the help. :)

Author:  contrast_ [ Mon Mar 06, 2023 1:18 pm ]
Post subject:  Re: Lama Cleaner: a free, open-source inpainting tool

Lama Cleaner was the final tool that completed the ENTIRETY of my open source image editing mission. There isn't a single professional task I can't do with all the tools I have. Open source software in the 2020s is without a doubt better then commercial software of the early 2000s. The main reason why are AIs that had no counter part back then.

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/