AIGC大模型智能擦除:Sanster/IOPaint,python(1)

AIGC大模型智能擦除:Sanster/IOPaint,python(1)

基于github上的开源项目:https://github.com/Sanster/IOPainticon-default.png?t=O83Ahttps://github.com/Sanster/IOPaint 

1、安装。直接python的pip安装:

pip3 install iopaint

2、启动。

默认的启动命令是:

iopaint start --model=lama --device=cpu --port=8080

但是这样会把巨大的模型默认下载到C盘下,参数 --model-dir 可以修改默认模型下载路径:

iopaint start --model=lama --device=cpu --port=8080 --model-dir=D:/code/python/Sanster/IOPaint

模型会下载到指导的 D:/code/python/Sanster/IOPaint 目录下。

启动后,如果一切顺利,就可以在浏览器用 127.0.0.1:8080 访问。

3、AIGC智能擦除效果。

原图:

调画笔宽度:

选中一部分区域消除:

最终消除的结果图:

Windows安装docker,启动ollama运行open-webui使用AIGC大模型写周杰伦歌词-CSDN博客文章浏览阅读424次,点赞4次,收藏5次。webui-user.bat启动stable-diffusion-webui报错:RuntimeError: Torch is not able to use GPU,AIGC,Python。webui-user.bat启动stable-diffusion-webui报错:RuntimeError: Torch is not able to use GPU,AIGC,Python-CSDN博客。2、设置 - 系统 - 可选功能 - 更多Windows功能 - 启用或关闭Windows功能。https://blog.csdn.net/zhangphil/article/details/141829276

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

zhangphil

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值