It is currently Sat Jun 29, 2024 11:34 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Lama Cleaner: a free, open-source inpainting tool
PostPosted: Wed Feb 01, 2023 7:21 am  (#1) 
Offline
GimpChat Member

Joined: Apr 25, 2011
Posts: 78
Location: Taiwan
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


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Lama Cleaner: a free, open-source inpainting tool
PostPosted: Wed Feb 01, 2023 1:18 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1450
Awesome! I love this!


Top
 Post subject: Re: Lama Cleaner: a free, open-source inpainting tool
PostPosted: Wed Feb 01, 2023 2:02 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1450
I tweeted about this.

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


Top
 Post subject: Re: Lama Cleaner: a free, open-source inpainting tool
PostPosted: Mon Feb 20, 2023 2:12 am  (#4) 
Offline
GimpChat Member

Joined: Nov 19, 2019
Posts: 207
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.


Top
 Post subject: Re: Lama Cleaner: a free, open-source inpainting tool
PostPosted: Mon Feb 20, 2023 4:27 am  (#5) 
Offline
GimpChat Member
User avatar

Joined: Sep 27, 2016
Posts: 345
Location: Germany, BW
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)

_________________
Regards
nelo

(Gimp 2.10 on Linux Mint MATE 20.1)


Top
 Post subject: Re: Lama Cleaner: a free, open-source inpainting tool
PostPosted: Mon Feb 20, 2023 5:01 am  (#6) 
Offline
GimpChat Member

Joined: Nov 19, 2019
Posts: 207
Thanks @nelo

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


Top
 Post subject: Re: Lama Cleaner: a free, open-source inpainting tool
PostPosted: Mon Feb 20, 2023 5:23 am  (#7) 
Offline
GimpChat Member
User avatar

Joined: Sep 27, 2016
Posts: 345
Location: Germany, BW
Does a list of dependencies help?
https://github.com/Sanster/lama-cleaner ... ements.txt

_________________
Regards
nelo

(Gimp 2.10 on Linux Mint MATE 20.1)


Top
 Post subject: Re: Lama Cleaner: a free, open-source inpainting tool
PostPosted: Mon Feb 20, 2023 5:24 am  (#8) 
Offline
GimpChat Member

Joined: Nov 19, 2019
Posts: 207
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.


Top
 Post subject: Re: Lama Cleaner: a free, open-source inpainting tool
PostPosted: Mon Feb 20, 2023 9:53 am  (#9) 
Offline
GimpChat Member

Joined: Nov 19, 2019
Posts: 207
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. :)


Top
 Post subject: Re: Lama Cleaner: a free, open-source inpainting tool
PostPosted: Mon Mar 06, 2023 1:18 pm  (#10) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1450
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.


Top
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Sandboxie, soon, will be going Open Source.

7

No new posts I'm bored of open source graphic design

0

No new posts Attachment(s) tgen texture generator - open source offline usable web app

1

No new posts Attachment(s) REMBG - an open source offline usable background removal AI

12

No new posts Attachment(s) erase background using free select tool?

3


cron

* Login  



Powered by phpBB3 © phpBB Group