Skip to main content

Lama Cleaner

A free and open-source inpainting tool powered by SOTA AI model.

total download version Open in Colab Hugging Face Spaces python version version

https://user-images.githubusercontent.com/3998421/196976498-ba1ad3ab-fa18-4c55-965f-5c6683141375.mp4

Sponsor

❤️ Your logo

Features

Quick Start

Lama Cleaner make it easy to use SOTA AI model in just two commands:

# In order to use the GPU, install cuda version of pytorch first.
# pip install torch==1.13.1+cu117 torchvision==0.14.1 --extra-index-url https://download.pytorch.org/whl/cu117
pip install lama-cleaner
lama-cleaner --model=lama --device=cpu --port=8080

That's it, Lama Cleaner is now running at http://localhost:8080

See all command line arguments at lama-cleaner-docs

Development

Only needed if you plan to modify the frontend and recompile yourself.

Frontend

Frontend code are modified from cleanup.pictures, You can experience their great online services here.

  • Install dependencies:cd lama_cleaner/app/ && pnpm install
  • Start development server: pnpm start
  • Build: pnpm build

Metadata

Release files for lama-cleaner-custom 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lama-cleaner-custom 0.0.2
File Size Uploaded
lama-cleaner-custom-0.0.2.tar.gz 688.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lama-cleaner-custom 0.0.2
File Interpreter ABI Platform
lama_cleaner_custom-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 1.6 MB

Release files / lama-cleaner-custom-0.0.2.tar.gz

Download URL lama-cleaner-custom-0.0.2.tar.gz
Size 688.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0deda111e1bbea31d5207614ad0da1e485e4b9ad3363e7e731cc963b3ef5e375
BLAKE2b-256 checksum
How to use checksums
01eaf5e59ee54a877d30fb992130964bc86b01e894bd0ac7ccc84c2e1d29e0ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Release files / lama_cleaner_custom-0.0.2-py3-none-any.whl

Download URL lama_cleaner_custom-0.0.2-py3-none-any.whl
Size 943.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1b933c7e4e48f032f5381cfc821180a04c8a02514a11aba323d39d3ff3431261
BLAKE2b-256 checksum
How to use checksums
9ced7b0e5c58a860e7dbf7778d8314798bce8526d84ac6144ea02057be1dc23f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page