admin 发表于 2023-2-23 23:55:21

低配电脑训练Lora | AI绘图 | Stable Diffusion零基础

<h2 id="wznav_1" style="box-sizing: border-box; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; line-height: 1.1; color: rgb(78, 83, 88); margin-top: 20px; margin-bottom: 20px; font-size: 18px; position: relative; padding-bottom: 8px; outline: 0px !important;">视频讲解</h2><p style="box-sizing: border-box; margin-bottom: 20px; color: rgb(78, 83, 88); font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; outline: 0px !important;">Lora是一种奇妙的、全新的方式,在Stable Diffusion中使用你自己的图像来训练一个主体。让我们一起告别昂贵的显存要求,向这种创新的微调方式迈进。本期视频,我将向你展示如何使用kohya ss GUI,在不到7GB的显存条件下,训练LORA权重,最终在Stable Diffusion中,使用LORA权重创作精美的人像图片</p><div class="wp-block-zibllblock-dplayer new-dplayer post-dplayer dplayer dplayer-initialized dplayer-hide-controller" video-url="" media-id="" video-pic="" data-loop="" data-hide="" data-autoplay="" data-volume="1" id="dplayer-12078" data-fullscreen-container="true" style="box-sizing: border-box; margin-bottom: 20px; position: relative; overflow: hidden; user-select: none; line-height: 1; cursor: none; color: rgb(78, 83, 88); font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; outline: 0px !important;">

<iframe src="https://vdn5.vzuu.com/mediacloud/catchingfire/video/c3f48ade34c74582-0bbebe8407b526c2b39dd82d1bfaae14-720p_mp4_h265_1.mp4?pkey=AAWfRVonfRtF-9C4MX0DaASTVyKqwkTViaYMMaszwHVNVl0VV9FKmbByEHxRK9mdT0eHZ7WeFoH0iq77q7_u_z9-&c=hevc.8.0&f=mp4&pu=1513c7c2&bu=http-1513c7c2&expiration=1677202539&v=ks&pf=Web&pt=ks" frameborder="0" align="" width="100%" height="500px"></iframe>

<div class="dplayer-controller-mask" style="box-sizing: content-box; outline: 0px !important; background: url(&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAADGCAYAAAAT+OqFAAAAdklEQVQoz42QQQ7AIAgEF/T/D+kbq/RWAlnQyyazA4aoAB4FsBSA/bFjuF1EOL7VbrIrBuusmrt4ZZORfb6ehbWdnRHEIiITaEUKa5EJqUakRSaEYBJSCY2dEstQY7AuxahwXFrvZmWl2rh4JZ07z9dLtesfNj5q0FU3A5ObbwAAAABJRU5ErkJggg==&quot;) center bottom repeat-x; height: 98px; width: 784px; position: absolute; bottom: 0px; transition: all 0.3s ease 0s; opacity: 0; transform: translateY(100%);"></div><div class="dplayer-controller" style="box-sizing: content-box; position: absolute; bottom: 0px; transition: all 0.3s ease 0s; left: 0px; right: 0px; height: 41px; padding-right: 20px; padding-left: 20px; user-select: none; opacity: 0; transform: translateY(100%); outline: 0px !important;"><div class="dplayer-icons dplayer-icons-left" style="box-sizing: content-box; outline: 0px !important; height: 38px; position: absolute; bottom: 0px;"><button type="button" class="dplayer-icon dplayer-play-icon" style="outline: none; font: inherit; overflow: visible; appearance: button; cursor: pointer; width: 40px; height: 38px; border-width: initial; border-style: none; border-color: initial; position: relative; vertical-align: middle; padding: 7px;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 17 32"><path d="M14.080 4.8q2.88 0 2.88 2.048v18.24q0 2.112-2.88 2.112t-2.88-2.112v-18.24q0-2.048 2.88-2.048zM2.88 4.8q2.88 0 2.88 2.048v18.24q0 2.112-2.88 2.112t-2.88-2.112v-18.24q0-2.048 2.88-2.048z"></path></svg></button>&nbsp;<div class="dplayer-volume" style="box-sizing: content-box; outline: 0px !important; position: relative; display: inline-block; cursor: pointer; height: 38px;"><button type="button" class="dplayer-icon dplayer-volume-icon" style="outline: none; font: inherit; overflow: visible; appearance: button; cursor: pointer; width: 43px; height: 38px; border-width: initial; border-style: none; border-color: initial; position: relative; vertical-align: middle; padding: 7px;"><span class="dplayer-icon-content" style="box-sizing: content-box; outline: 0px !important; transition: all 0.2s ease-in-out 0s; opacity: 0.8;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 21 32"><path d="M13.728 6.272v19.456q0 0.448-0.352 0.8t-0.8 0.32-0.8-0.32l-5.952-5.952h-4.672q-0.48 0-0.8-0.352t-0.352-0.8v-6.848q0-0.48 0.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32 0.8-0.32t0.8 0.32 0.352 0.8zM20.576 16q0 1.344-0.768 2.528t-2.016 1.664q-0.16 0.096-0.448 0.096-0.448 0-0.8-0.32t-0.32-0.832q0-0.384 0.192-0.64t0.544-0.448 0.608-0.384 0.512-0.64 0.192-1.024-0.192-1.024-0.512-0.64-0.608-0.384-0.544-0.448-0.192-0.64q0-0.48 0.32-0.832t0.8-0.32q0.288 0 0.448 0.096 1.248 0.48 2.016 1.664t0.768 2.528zM25.152 16q0 2.72-1.536 5.056t-4 3.36q-0.256 0.096-0.448 0.096-0.48 0-0.832-0.352t-0.32-0.8q0-0.704 0.672-1.056 1.024-0.512 1.376-0.8 1.312-0.96 2.048-2.4t0.736-3.104-0.736-3.104-2.048-2.4q-0.352-0.288-1.376-0.8-0.672-0.352-0.672-1.056 0-0.448 0.32-0.8t0.8-0.352q0.224 0 0.48 0.096 2.496 1.056 4 3.36t1.536 5.056z"></path></svg></span></button>&nbsp;<div class="dplayer-volume-bar-wrap" style="box-sizing: content-box; display: inline-block; margin-right: 15px; margin-left: -5px; vertical-align: middle; height: 38px; outline: 0px !important;"><div class="dplayer-volume-bar" style="box-sizing: content-box; outline: 0px !important; position: relative; top: 17px; width: 0px; height: 3px; background: rgb(170, 170, 170); transition: all 0.3s ease-in-out 0s;"><div class="dplayer-volume-bar-inner" style="box-sizing: content-box; outline: 0px !important; background: rgb(240, 68, 148); position: absolute; bottom: 0px; left: 0px; height: 3px; transition: all 0.1s ease 0s; will-change: width; width: 0px;"><span class="dplayer-thumb" style="box-sizing: content-box; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; position: absolute; top: 0px; right: 5px; margin-top: -4px; margin-right: -10px; height: 11px; width: 11px; border-radius: 50%; cursor: pointer; transition: all 0.3s ease-in-out 0s; transform: scale(0); outline: 0px !important;"></span></div></div></div></div>&nbsp;<span class="dplayer-time" style="box-sizing: content-box; outline: 0px !important; line-height: 38px; color: rgb(238, 238, 238); text-shadow: rgba(0, 0, 0, 0.5) 0px 0px 2px; vertical-align: middle; font-size: 13px; cursor: default;"><span class="dplayer-ptime" style="box-sizing: content-box; outline: 0px !important;">00:53</span>&nbsp;/&nbsp;<span class="dplayer-dtime" style="box-sizing: content-box; outline: 0px !important;">21:13</span></span></div><div class="dplayer-icons dplayer-icons-right" style="box-sizing: content-box; outline: 0px !important; height: 38px; position: absolute; bottom: 0px; right: 20px;"><div class="dplayer-loop" style="box-sizing: content-box; outline: 0px !important; display: inline-block; height: 38px;"><button type="button" class="dplayer-icon dplayer-loop-icon" style="outline: none; font: inherit; overflow: visible; appearance: button; cursor: pointer; width: 40px; height: 38px; border-width: initial; border-style: none; border-color: initial; position: relative; vertical-align: middle; padding: 8px;"><span class="dplayer-icon-content" style="box-sizing: content-box; outline: 0px !important; transition: all 0.2s ease-in-out 0s; opacity: 0.4;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M1.882 16.941c0 4.152 3.221 7.529 7.177 7.529v1.882c-4.996 0-9.060-4.222-9.060-9.412s4.064-9.412 9.060-9.412h7.96l-3.098-3.098 1.331-1.331 5.372 5.37-5.37 5.372-1.333-1.333 3.1-3.098h-7.962c-3.957 0-7.177 3.377-7.177 7.529zM22.94 7.529v1.882c3.957 0 7.177 3.377 7.177 7.529s-3.221 7.529-7.177 7.529h-7.962l3.098-3.098-1.331-1.331-5.37 5.37 5.372 5.372 1.331-1.331-3.1-3.1h7.96c4.998 0 9.062-4.222 9.062-9.412s-4.064-9.412-9.060-9.412z"></path></svg></span></button></div>&nbsp;<div class="dplayer-full-in" style="box-sizing: content-box; outline: 0px !important; display: inline-block; height: 38px;"><button type="button" class="dplayer-icon dplayer-full-in-icon" style="outline: none; font: inherit; overflow: visible; appearance: button; cursor: pointer; width: 40px; height: 38px; border-width: initial; border-style: none; border-color: initial; position: relative; vertical-align: middle; padding: 8px;"><span class="dplayer-icon-content" style="box-sizing: content-box; outline: 0px !important; transition: all 0.2s ease-in-out 0s; opacity: 0.8;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 33"><path d="M24.965 24.38h-18.132c-1.366 0-2.478-1.113-2.478-2.478v-11.806c0-1.364 1.111-2.478 2.478-2.478h18.132c1.366 0 2.478 1.113 2.478 2.478v11.806c0 1.364-1.11 2.478-2.478 2.478zM6.833 10.097v11.806h18.134l-0.002-11.806h-18.132zM2.478 28.928h5.952c0.684 0 1.238-0.554 1.238-1.239 0-0.684-0.554-1.238-1.238-1.238h-5.952v-5.802c0-0.684-0.554-1.239-1.238-1.239s-1.239 0.556-1.239 1.239v5.802c0 1.365 1.111 2.478 2.478 2.478zM30.761 19.412c-0.684 0-1.238 0.554-1.238 1.238v5.801h-5.951c-0.686 0-1.239 0.554-1.239 1.238 0 0.686 0.554 1.239 1.239 1.239h5.951c1.366 0 2.478-1.111 2.478-2.478v-5.801c0-0.683-0.554-1.238-1.239-1.238zM0 5.55v5.802c0 0.683 0.554 1.238 1.238 1.238s1.238-0.555 1.238-1.238v-5.802h5.952c0.684 0 1.238-0.554 1.238-1.238s-0.554-1.238-1.238-1.238h-5.951c-1.366-0.001-2.478 1.111-2.478 2.476zM32 11.35v-5.801c0-1.365-1.11-2.478-2.478-2.478h-5.951c-0.686 0-1.239 0.554-1.239 1.238s0.554 1.238 1.239 1.238h5.951v5.801c0 0.683 0.554 1.237 1.238 1.237 0.686 0.002 1.239-0.553 1.239-1.236z"></path></svg></span></button></div>&nbsp;<div class="dplayer-full" style="box-sizing: content-box; outline: 0px !important; display: inline-block; height: 38px;"><button type="button" class="dplayer-icon dplayer-full-icon" style="outline: none; font: inherit; overflow: visible; appearance: button; cursor: pointer; width: 40px; height: 38px; border-width: initial; border-style: none; border-color: initial; position: relative; vertical-align: middle; padding: 8px;"><span class="dplayer-icon-content" style="box-sizing: content-box; outline: 0px !important; transition: all 0.2s ease-in-out 0s; opacity: 0.8;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 33"><path d="M6.667 28h-5.333c-0.8 0-1.333-0.533-1.333-1.333v-5.333c0-0.8 0.533-1.333 1.333-1.333s1.333 0.533 1.333 1.333v4h4c0.8 0 1.333 0.533 1.333 1.333s-0.533 1.333-1.333 1.333zM30.667 28h-5.333c-0.8 0-1.333-0.533-1.333-1.333s0.533-1.333 1.333-1.333h4v-4c0-0.8 0.533-1.333 1.333-1.333s1.333 0.533 1.333 1.333v5.333c0 0.8-0.533 1.333-1.333 1.333zM30.667 12c-0.8 0-1.333-0.533-1.333-1.333v-4h-4c-0.8 0-1.333-0.533-1.333-1.333s0.533-1.333 1.333-1.333h5.333c0.8 0 1.333 0.533 1.333 1.333v5.333c0 0.8-0.533 1.333-1.333 1.333zM1.333 12c-0.8 0-1.333-0.533-1.333-1.333v-5.333c0-0.8 0.533-1.333 1.333-1.333h5.333c0.8 0 1.333 0.533 1.333 1.333s-0.533 1.333-1.333 1.333h-4v4c0 0.8-0.533 1.333-1.333 1.333z"></path></svg></span></button></div></div><div class="dplayer-bar-wrap" style="box-sizing: content-box; padding-top: 5px; padding-bottom: 5px; cursor: pointer; position: absolute; bottom: 33px; width: calc(100% - 40px); height: 3px; outline: 0px !important;"><div class="dplayer-bar" style="box-sizing: content-box; outline: 0px !important; position: relative; height: 3px; width: 744px; background: rgba(255, 255, 255, 0.2); cursor: pointer;"><div class="dplayer-loaded" style="box-sizing: content-box; outline: 0px !important; background: rgba(255, 255, 255, 0.4); transition: all 0.5s ease 0s; position: absolute; left: 0px; top: 0px; bottom: 0px; height: 3px; will-change: width; width: 222.898px;"></div><div class="dplayer-played" style="box-sizing: content-box; outline: 0px !important; background: rgb(240, 68, 148); position: absolute; left: 0px; top: 0px; bottom: 0px; height: 3px; will-change: width; width: 31.2266px;"><span class="dplayer-thumb" style="box-sizing: content-box; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; position: absolute; top: 0px; right: 5px; margin-top: -4px; margin-right: -10px; height: 11px; width: 11px; border-radius: 50%; cursor: pointer; transition: all 0.3s ease-in-out 0s; transform: scale(0); outline: 0px !important;"></span></div></div></div></div><div class="dplayer-notice" style="box-sizing: content-box; outline: 0px !important; opacity: 0; position: absolute; bottom: 60px; left: 20px; font-size: 14px; border-radius: 2px; background: rgba(28, 28, 28, 0.9); padding: 7px 20px; transition: all 0.3s ease-in-out 0s; overflow: hidden; color: rgb(255, 255, 255); pointer-events: none;"></div></div><div data-quantity="1" data-radius="true" class="wp-block-zibllblock-buttons radius" style="box-sizing: border-box; border-radius: 100px; margin-bottom: 20px; color: rgb(78, 83, 88); font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; outline: 0px !important;"><span class="an_1 but jb-blue" style="box-sizing: border-box; display: inline-block; border-radius: 50px; transition: all 0.15s ease 0s; border: none; vertical-align: middle; padding: 6px 18px; text-align: center; box-shadow: var(--this-shadow); background: var(--this-bg); color: var(--this-color); --main-color:var(--this-color); --this-bg:linear-gradient(135deg, #59c3fb 10%, #268df7 100%); --this-border:transparent; --this-shadow:none; --this-color:#fff; text-shadow: 0px 0px 0px; line-height: 1.44; margin: 0.4em; overflow: hidden; position: relative; outline: 0px !important;"><a href="https://www.iculture.cc/?golink=aHR0cHM6Ly93d3cuemhpaHUuY29tL3p2aWRlby8xNjEyMDMzNTY1NDc4MjY4OTI4" target="_blank" rel="noreferrer noopener" style="box-sizing: border-box; background-color: transparent; color: inherit; text-decoration-line: none; cursor: pointer; transition: color 0.2s ease 0s, background 0.3s ease 0s, opacity 0.3s ease 0s, box-shadow 0.3s ease 0s, transform 0.3s ease 0s; outline: 0px !important;">备用播放线路</a></span></div><h2 id="wznav_2" style="box-sizing: border-box; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; line-height: 1.1; color: rgb(78, 83, 88); margin-top: 20px; margin-bottom: 20px; font-size: 18px; position: relative; padding-bottom: 8px; outline: 0px !important;">相关资料</h2><div data-quantity="4" data-radius="true" class="wp-block-zibllblock-buttons radius" style="box-sizing: border-box; border-radius: 100px; margin-bottom: 20px; color: rgb(78, 83, 88); font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; outline: 0px !important;"><span class="an_1 but jb-red" style="box-sizing: border-box; display: inline-block; border-radius: 50px; transition: all 0.15s ease 0s; border: none; vertical-align: middle; padding: 6px 18px; text-align: center; box-shadow: var(--this-shadow); background: var(--this-bg); color: var(--this-color); --main-color:var(--this-color); --this-bg:linear-gradient(135deg, #fd7a64 10%, #fb2d2d 100%); --this-border:transparent; --this-shadow:none; --this-color:#fff; text-shadow: 0px 0px 0px; line-height: 1.44; margin: 0.4em; overflow: hidden; position: relative; outline: 0px !important;"><a href="https://www.iculture.cc/?golink=aHR0cHM6Ly9naXRodWIuY29tL2JtYWx0YWlzL2tvaHlhX3Nz" target="_blank" rel="noreferrer noopener" style="box-sizing: border-box; background-color: transparent; color: inherit; text-decoration-line: none; cursor: pointer; transition: color 0.2s ease 0s, background 0.3s ease 0s, opacity 0.3s ease 0s, box-shadow 0.3s ease 0s, transform 0.3s ease 0s; outline: 0px !important;">Kohya GUI Github地址</a></span><span class="an_2 but jb-purple" style="box-sizing: border-box; display: inline-block; border-radius: 50px; transition: all 0.15s ease 0s; border: none; vertical-align: middle; padding: 6px 18px; text-align: center; box-shadow: var(--this-shadow); background: var(--this-bg); color: var(--this-color); --main-color:var(--this-color); --this-bg:linear-gradient(135deg, #f98dfb 10%, #ea00f9 100%); --this-border:transparent; --this-shadow:none; --this-color:#fff; text-shadow: 0px 0px 0px; line-height: 1.44; margin: 0.4em; outline: 0px !important;"><a href="https://pan.iculture.cc/s/RWzYcV" target="_blank" rel="noreferrer noopener" style="box-sizing: border-box; background-color: transparent; color: inherit; text-decoration-line: none; cursor: pointer; transition: color 0.2s ease 0s, background 0.3s ease 0s, opacity 0.3s ease 0s, box-shadow 0.3s ease 0s, transform 0.3s ease 0s; outline: 0px !important;">CUDNN 8.6 提取码tamf19</a></span><span class="an_3 but jb-yellow" style="box-sizing: border-box; display: inline-block; border-radius: 50px; transition: all 0.15s ease 0s; border: none; vertical-align: middle; padding: 6px 18px; text-align: center; box-shadow: var(--this-shadow); background: var(--this-bg); color: var(--this-color); --main-color:var(--this-color); --this-bg:linear-gradient(135deg, #f59f54 10%, #ff6922 100%); --this-border:transparent; --this-shadow:none; --this-color:#fff; text-shadow: 0px 0px 0px; line-height: 1.44; margin: 0.4em; outline: 0px !important;"><a href="https://pan.iculture.cc/s/88QvIR" target="_blank" rel="noreferrer noopener" style="box-sizing: border-box; background-color: transparent; color: inherit; text-decoration-line: none; cursor: pointer; transition: color 0.2s ease 0s, background 0.3s ease 0s, opacity 0.3s ease 0s, box-shadow 0.3s ease 0s, transform 0.3s ease 0s; outline: 0px !important;">LoraBasicSettings.json文件</a></span><span class="an_4 but jb-green" style="box-sizing: border-box; display: inline-block; border-radius: 50px; transition: all 0.15s ease 0s; border: none; vertical-align: middle; padding: 6px 18px; text-align: center; box-shadow: var(--this-shadow); background: var(--this-bg); color: var(--this-color); --main-color:var(--this-color); --this-bg:linear-gradient(135deg, #60e464 10%, #5cb85b 100%); --this-border:transparent; --this-shadow:none; --this-color:#fff; text-shadow: 0px 0px 0px; line-height: 1.44; margin: 0.4em; outline: 0px !important;"><a href="https://pan.iculture.cc/s/mepXtj" target="_blank" rel="noreferrer noopener" style="box-sizing: border-box; background-color: transparent; color: inherit; text-decoration-line: none; cursor: pointer; transition: color 0.2s ease 0s, background 0.3s ease 0s, opacity 0.3s ease 0s, box-shadow 0.3s ease 0s, transform 0.3s ease 0s; outline: 0px !important;">LoraLowVRAMSettings.json文件</a></span></div><p></p>
页: [1]
查看完整版本: 低配电脑训练Lora | AI绘图 | Stable Diffusion零基础