<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:wfw="http://wellformedweb.org/CommentAPI/">
<channel>
<title>解说文案 - 去水印</title>
<link>https://xwean.com/tag/%E5%8E%BB%E6%B0%B4%E5%8D%B0/</link>
<atom:link href="https://xwean.com/feed/tag/%E5%8E%BB%E6%B0%B4%E5%8D%B0/" rel="self" type="application/rss+xml" />
<language>zh-CN</language>
<description></description>
<lastBuildDate>Tue, 17 Sep 2024 12:14:00 +0800</lastBuildDate>
<pubDate>Tue, 17 Sep 2024 12:14:00 +0800</pubDate>
<item>
<title>Lama-Cleaner 本地安装使用教程 Ai去除水印</title>
<link>https://xwean.com/2031.html</link>
<guid>https://xwean.com/2031.html</guid>
<pubDate>Tue, 17 Sep 2024 12:14:00 +0800</pubDate>
<dc:creator>hhs</dc:creator>
<description><![CDATA[Lama-Cleaner 本地安装使用教程 Ai去除水印本来可以花钱解决的问题.....但就是想尝试一下免费的科技的意义  似乎是改变生活的...流程开始1需要安装Python去官网下载即可ht...]]></description>
<content:encoded xml:lang="zh-CN"><![CDATA[
<h3>Lama-Cleaner 本地安装使用教程 Ai去除水印</h3><p>本来可以花钱解决的问题.....但就是想尝试一下免费的</p><ul><li>科技的意义  似乎是改变生活的...</li></ul><p><strong>流程开始</strong></p><p>1</p><p>需要安装<code>Python</code></p><p>去官网下载即可</p><p><code>https://www.python.org/downloads/windows/</code></p><p>安装时,要选择,就最下面的下√</p><p><code>Add python.exe to PATH</code></p><p>2</p><p>安装<code>pytorch</code></p><p>官网地址  <code>https://pytorch.org/</code></p><p><img src="http://pic2.xwean.com/typora1/2023/202409171114495.png" alt="image-20240917111447355" title="image-20240917111447355"></p><p>注意一个问题</p><p>如果直接<code>win+R cmd</code>运行的话 会出现???????????  <em>应该是之前安装过python的 会出现这个状态</em></p><p>此时升级一下<code>python</code></p><p><code>python -m pip install --upgrade pip</code></p><p>建议是进入安装目录 在地址栏输入<code>cmd</code></p><p><img src="http://pic2.xwean.com/typora1/2023/202409171133991.png" alt="image-20240917113333962" title="image-20240917113333962"></p><p>然后等待即可</p><p><img src="http://pic2.xwean.com/typora1/2023/202409171133133.png" alt="image-20240917113356098" title="image-20240917113356098"></p><p>一会....</p><p><img src="http://pic2.xwean.com/typora1/2023/202409171139197.png" alt="image-20240917113844837" title="image-20240917113844837"></p><p>这就安装完毕了</p><p>3</p><p>安装<code>Lama-Cleaner</code></p><p><code>pip install Lama-Cleaner</code></p><p>注意 变量或者路径错误 都会导致错误</p><ul><li><p>出现报错检查</p><ul><li>我的电脑-属性-高级-环境变量</li><li>找到正确的环境变量 - 地址栏打开cmd</li></ul></li></ul><p>升级命令 最高级的就不需要了</p><p><img src="http://pic2.xwean.com/typora1/2023/202409171212158.png" alt="image-20240917121209116" title="image-20240917121209116"></p><p><code>python.exe -m pip install --upgrade pip</code></p><p>4</p><p>运行</p><p>在刚才的<code>cmd</code>里面直接输入</p><p><code>lama-cleaner --model=lama --device=cpu --port=8011</code></p><p>第一次运行 会自动下载东西</p><p><img src="http://pic2.xwean.com/typora1/2023/202409171216740.png" alt="image-20240917121605706" title="image-20240917121605706"></p><p>等到完毕后</p><p>在浏览器输入 <code>http://127.0.0.1:8011/</code></p><p>如图</p><p><img src="http://pic2.xwean.com/typora1/2023/202409171216121.png" alt="image-20240917121654069" title="image-20240917121654069"></p><p><strong>注意一点</strong></p><p><img src="http://pic2.xwean.com/typora1/2023/202409171217328.png" alt="image-20240917121734297" title="image-20240917121734297"></p><p><code>lama-cleaner --model=lama --device=cpu --port=8011</code></p><p>其中的cpu 代表只用cpu进行工作</p><p>如果有N卡 </p><p>建议使用这个命令</p><p><code>lama-cleaner --model=lama --device=cuda --port=8011</code></p><p>然后重新打开即可</p><p>5</p><p>快捷键</p><p><img src="http://pic2.xwean.com/typora1/2023/202409171220506.png" alt="image-20240917122012471" title="image-20240917122012471"></p><p><img src="http://pic2.xwean.com/typora1/2023/202409171220975.png" alt="image-20240917122031937" title="image-20240917122031937"></p><p>如果做局域网</p><p>则需要使用这条命令</p><p><code> lama-cleaner --model=lama --device=cuda --port=8011  --host=0.0.0.0</code></p><p><strong>延伸</strong></p><p>可以部署在自己的服务器上,然后绑定域名 做个收费的项目......  (未测试)</p><p>或者部署在自家电脑上 然后通过隧道服务 巴拉巴拉 进行远程访问..... (测试成功,工程量还行吧,技术稍微有点敏感,不做教程了)</p><p><img src="http://pic2.xwean.com/typora1/2023/202409171224564.png" alt="image-20240917122423528" title="image-20240917122423528"></p><p>在右上角的设置 还可以选择很多模型进行处理</p><p><strong>最后</strong></p><p><img src="http://pic2.xwean.com/typora1/2023/202409171227621.png" alt="image-20240917122731518" title="image-20240917122731518"></p><p>效果非常不错!!</p><p><strong>下课</strong></p><p>所以,某个软件你收费那么贵 还用自己的电脑算力跑软件,真会玩!!</p>
]]></content:encoded>
<slash:comments>1</slash:comments>
<comments>https://xwean.com/2031.html#comments</comments>
<wfw:commentRss>https://xwean.com/feed/tag/%E5%8E%BB%E6%B0%B4%E5%8D%B0/</wfw:commentRss>
</item>
</channel>
</rss>