8000 GitHub - Rootport-AI/lama: 🦙 LaMa Image Inpainting, Resolution-robust Large Mask Inpainting with Fourier Convolutions, WACV 2022
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
forked from advimman/lama

🦙 LaMa Image Inpainting, Resolution-robust Large Mask Inpainting with Fourier Convolutions, WACV 2022

License

Notifications You must be signed in to change notification settings

Rootport-AI/lama

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lama (GPU-Enhanced Fork)

This is a fork of advimman/lama, an awesome open-source inpainting project. We've modified bin/predict.py to enable GPU support via command-line arguments, making it faster on systems with CUDA-compatible GPUs like the RTX 4070 Ti SUPER.

Why This Fork?

The original predict.py was hardcoded to use CPU (device = torch.device("cpu")), which slowed down inference despite GPU availability. This fork allows you to specify device=cuda for blazing-fast performance. Tested on RTX 4070 Ti SUPER (Inference: 0.5s)

How to Use

  1. Clone this repository:

    git clone https://github.com/Rootport-AI/lama.git

  2. Follow the original LaMa instructions for setup.

  3. Run with GPU: python bin/predict.py model.path= indir= outdir= device=cuda

Acknowledgments

  • Huge thanks to advimman and the LaMa team for their amazing work!
  • Licensed under Apache 2.0, same as the original (see LICENSE).

Happy inpainting!

About

🦙 LaMa Image Inpainting, Resolution-robust Large Mask Inpainting with Fourier Convolutions, WACV 2022

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 86.0%
  • Python 13.5%
  • Other 0.5%
0