Skip to main content

Image inpainting tool powered by SOTA AI Model

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lama-cleaner-custom-0.0.1.tar.gz (688.9 kB view details)

Uploaded Source

Built Distribution

lama_cleaner_custom-0.0.1-py3-none-any.whl (715.8 kB view details)

Uploaded Python 3

File details

Details for the file lama-cleaner-custom-0.0.1.tar.gz.

File metadata

  • Download URL: lama-cleaner-custom-0.0.1.tar.gz
  • Upload date:
  • Size: 688.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for lama-cleaner-custom-0.0.1.tar.gz
Algorithm Hash digest
SHA256 0dc013e29487b33225e3428fdaaef64ce83cc2c7e68d42496c64550950b0b881
MD5 3985949a137d3f96a9ee401637045bef
BLAKE2b-256 c06efdd63954420c88dcb18fd723e6acf90408c94ac40bfe723c6caf4b2067e7

See more details on using hashes here.

File details

Details for the file lama_cleaner_custom-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for lama_cleaner_custom-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9fb379e058e0966c5c13137f65e0b4c74a9ccde39ef1e443342312958329d888
MD5 452932f60ec73889b8fb86185a8adac2
BLAKE2b-256 8f8d4b3e9b98125b21861d2aa32e31d0c62f485d3fead5697e2490ddcf477d6f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page