当前位置:   article > 正文

lama-cleaner:基于SOTA AI 模型Stable Diffusion驱动的图像修复工具_lama cleaner

lama cleaner

在这里插入图片描述

介绍

由 SOTA AI 模型提供支持的图像修复工具。从照片中删除任何不需要的物体、缺陷、人物,或擦除并替换(由Stable Diffusion驱动)照片上的任何东西。

特征

1.多种SOTA AI模型

擦除模型:LaMa/LDM/ZITS/MAT/FcF/Manga
擦除和替换模型:稳定扩散/绘制示例

2.后期处理 插件

RemoveBG:删除图像背景
RealESRGAN:超分辨率
GFPGAN:面部恢复
RestoreFormer : 脸部修复
Segment Anything:准确快速的交互式对象分割

快速上手

# 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
  • 1
  • 2
  • 3
  • 4

就是这样,Lama Cleaner 现在正在http://localhost:8080上运行
查看lama-cleaner-docs中的所有命令行参数

地址

lama-cleaner

截图

lama-cleaner:基于SOTA AI 模型Stable Diffusion驱动的图像修复工具

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/天景科技苑/article/detail/949041
推荐阅读
相关标签
  

闽ICP备14008679号