国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

win10部署NovelAI繪畫(huà),Stable Diffusion,Chilloutmix,實(shí)現(xiàn)txt2img,img2img(含調(diào)參)

這篇具有很好參考價(jià)值的文章主要介紹了win10部署NovelAI繪畫(huà),Stable Diffusion,Chilloutmix,實(shí)現(xiàn)txt2img,img2img(含調(diào)參)。希望對(duì)大家有所幫助。如果存在錯(cuò)誤或未考慮完全的地方,請(qǐng)大家不吝賜教,您也可以點(diǎn)擊"舉報(bào)違法"按鈕提交疑問(wèn)。

1、Stable Diffusion是什么

  • Stable Diffusion是2022年發(fā)布的深度學(xué)習(xí)文本到圖像生成模型。它主要用于根據(jù)文本的描述產(chǎn)生詳細(xì)圖像,盡管它也可以應(yīng)用于其他任務(wù),如內(nèi)補(bǔ)繪制、外補(bǔ)繪制,以及在提示詞?(英語(yǔ))指導(dǎo)下產(chǎn)生圖生圖的翻譯。
  • Stable Diffusion是由德國(guó)慕尼黑大學(xué)機(jī)器視覺(jué)與學(xué)習(xí)研究小組和Runway的研究人員基于CVPR2022的一篇論文:《High-Resolution Image Synthesis with Latent Diffusion Models》,并與其他社區(qū)團(tuán)隊(duì)合作開(kāi)發(fā)的一款開(kāi)源模型。

2、深度學(xué)習(xí)環(huán)境搭建

  1. Anaconda下載與安裝:地址
  2. Pycharm(IDE)下載與安裝:地址
  3. CUDA、CuDNN下載與安裝:地址

3、Stable Diffusion環(huán)境搭建(可跳過(guò))

參考資料:地址

程序下載:地址
模型下載:地址

Github下載項(xiàng)目并打開(kāi)運(yùn)行,缺一小部分庫(kù)。
stable diffusion chilloutmix,# 機(jī)器學(xué)習(xí),AI作畫(huà),stable diffusion,python

打開(kāi)終端,安裝相關(guān)庫(kù)
pytorch_lightning, omegaconf, einops
stable diffusion chilloutmix,# 機(jī)器學(xué)習(xí),AI作畫(huà),stable diffusion,python

或者使用conda創(chuàng)建虛擬環(huán)境一鍵安裝依賴
conda env create -f environment.yaml
conda activate ldm
stable diffusion chilloutmix,# 機(jī)器學(xué)習(xí),AI作畫(huà),stable diffusion,python

下載權(quán)重
地址
在項(xiàng)目目錄models/ldm下手動(dòng)創(chuàng)建stable-diffusion-v1文件夾,用來(lái)存放下載好的權(quán)重文件,即需要把下載文件夾里的sd-v1-4.ckpt文件改名為model.ckpt,然后粘貼到手動(dòng)創(chuàng)建的stable-diffusion-v1文件夾下即可
stable diffusion chilloutmix,# 機(jī)器學(xué)習(xí),AI作畫(huà),stable diffusion,python

遇到報(bào)錯(cuò)NameError: name ‘trainer’ is not defined. Did you mean: ‘Trainer’?
根據(jù)官方wiki的教程進(jìn)行修補(bǔ) 地址
stable diffusion chilloutmix,# 機(jī)器學(xué)習(xí),AI作畫(huà),stable diffusion,python

報(bào)錯(cuò)2
地址
stable diffusion chilloutmix,# 機(jī)器學(xué)習(xí),AI作畫(huà),stable diffusion,python

4、Stable Diffusion WebUI環(huán)境搭建(主要)

Github下載star最多的stable-diffusion-webui項(xiàng)目(自帶圖形化包)
地址

  • 使用conda創(chuàng)建python.3.10.6虛擬環(huán)境
    conda create -n stable-webui python=3.10.6
    stable diffusion chilloutmix,# 機(jī)器學(xué)習(xí),AI作畫(huà),stable diffusion,python

  • 激活虛擬環(huán)境
    conda activate stable-webui
    stable diffusion chilloutmix,# 機(jī)器學(xué)習(xí),AI作畫(huà),stable diffusion,python

  • 進(jìn)入剛剛git clone的目錄,運(yùn)行webui-user.bat
    等待自動(dòng)安裝進(jìn)度條
    stable diffusion chilloutmix,# 機(jī)器學(xué)習(xí),AI作畫(huà),stable diffusion,python

  • 根據(jù)提示增加一些git配置信息
    git config --global --add safe.directory xxx/stable-diffusion-webui/repositories/taming-transformers
    stable diffusion chilloutmix,# 機(jī)器學(xué)習(xí),AI作畫(huà),stable diffusion,python

  • 修改配置文件
    增加—share解決本地localhost權(quán)限問(wèn)題
    stable diffusion chilloutmix,# 機(jī)器學(xué)習(xí),AI作畫(huà),stable diffusion,python

  • 繼續(xù)執(zhí)行webui-user.bat,成功啟動(dòng)服務(wù)
    stable diffusion chilloutmix,# 機(jī)器學(xué)習(xí),AI作畫(huà),stable diffusion,python

  • 改一下參數(shù),網(wǎng)上復(fù)制一段描述性的話,使用默認(rèn)模型隨機(jī)生成幾張圖。
    stable diffusion chilloutmix,# 機(jī)器學(xué)習(xí),AI作畫(huà),stable diffusion,python

5、NovelAI模型的修改與調(diào)參

模型可以在網(wǎng)上資源貼中下載合適的模型(.ckpt),放到models\Stable-diffusion里。
比如:地址
stable diffusion chilloutmix,# 機(jī)器學(xué)習(xí),AI作畫(huà),stable diffusion,python

這里我們選擇NovelAI泄漏的完整版本,用于二次元繪畫(huà)
使用剛才的參數(shù)直接訓(xùn)練一下
stable diffusion chilloutmix,# 機(jī)器學(xué)習(xí),AI作畫(huà),stable diffusion,python
stable diffusion chilloutmix,# 機(jī)器學(xué)習(xí),AI作畫(huà),stable diffusion,python
stable diffusion chilloutmix,# 機(jī)器學(xué)習(xí),AI作畫(huà),stable diffusion,python

描述詞

{anime screenshot}(masterpiece, best quality, illustration, cinematic lighting,CG,wallpaper)
1 girl , beautifully detailed eyes,messy hair,long hair, flipped hair,Hair glows,pov,
blush,White hair,Red eyes,animal ears, looking at viewer,collar,dramatic angle,
(Intense POV) Highly detailed still professional portrait of anime film (a cute kawaii girl) destroyed in a tunic on a balcony in the city (overgrown with stuff), focus on the shoulders from above Pale skin on white marble glow very beautiful blue eyes pupil iris blush soft ambient light lens flare light particles beautiful composition window

stable diffusion chilloutmix,# 機(jī)器學(xué)習(xí),AI作畫(huà),stable diffusion,python
stable diffusion chilloutmix,# 機(jī)器學(xué)習(xí),AI作畫(huà),stable diffusion,python

排除詞

multiple breasts, (mutated hands and fingers:1.5 ), (long body :1.3), (mutation, poorly drawn :1.2) , black-white, bad anatomy, liquid body, liquid tongue, disfigured, malformed, mutated, anatomical nonsense, text font ui, error, malformed hands, long neck, blurred, lowers, lowres, bad anatomy, bad proportions, bad shadow, uncoordinated body, unnatural body, fused breasts, bad breasts, huge breasts, poorly drawn breasts, extra breasts, liquid breasts, heavy breasts, missing breasts, huge haunch, huge thighs, huge calf, bad hands, fused hand, missing hand, disappearing arms, disappearing thigh, disappearing calf, disappearing legs, fused ears, bad ears, poorly drawn ears, extra ears, liquid ears, heavy ears, missing ears, fused animal ears, bad animal ears, poorly drawn animal ears, extra animal ears, liquid animal ears, heavy animal ears, missing animal ears, text, ui, error, missing fingers, missing limb, fused fingers, one hand with more than 5 fingers, one hand with less than 5 fingers, one hand with more than 5 digit, one hand with less than 5 digit, extra digit, fewer digits, fused digit, missing digit, bad digit, liquid digit, colorful tongue, black tongue, cropped, watermark, username, blurry, JPEG artifacts, signature, 3D, 3D game, 3D game scene, 3D character, malformed feet, extra feet, bad feet, poorly drawn feet, fused feet, missing feet, extra shoes, bad shoes, fused shoes, more than two shoes, poorly drawn shoes, bad gloves, poorly drawn gloves, fused gloves, bad cum, poorly drawn cum, fused cum, bad hairs, poorly drawn hairs, fused hairs, big muscles, ugly, bad face, fused face, poorly drawn face, cloned face, big face, long face, bad eyes, fused eyes poorly drawn eyes, extra eyes, malformed limbs, more than 2 nipples, missing nipples, different nipples, fused nipples, bad nipples, poorly drawn nipples, black nipples, colorful nipples, gross proportions. short arm, (((missing arms))), missing thighs, missing calf, missing legs, mutation, duplicate, morbid, mutilated, poorly drawn hands, more than 1 left hand, more than 1 right hand, deformed, (blurry), disfigured, missing legs, extra arms, extra thighs, more than 2 thighs, extra calf, fused calf, extra legs, bad knee, extra knee, more than 2 legs, bad tails, bad mouth, fused mouth, poorly drawn mouth, bad tongue, tongue within mouth, too long tongue, black tongue, big mouth, cracked mouth, bad mouth, dirty face, dirty teeth, dirty pantie, fused pantie, poorly drawn pantie, fused cloth, poorly drawn cloth, bad pantie, yellow teeth, thick lips, bad cameltoe, colorful cameltoe, bad asshole, poorly drawn asshole, fused asshole, missing asshole, bad anus, bad pussy, bad crotch, bad crotch seam, fused anus, fused pussy, fused anus, fused crotch, poorly drawn crotch, fused seam, poorly drawn anus, poorly drawn pussy, poorly drawn crotch, poorly drawn crotch seam, bad thigh gap, missing thigh gap, fused thigh gap, liquid thigh gap, poorly drawn thigh gap, poorly drawn anus, bad collarbone, fused collarbone, missing collarbone, liquid collarbone, strong girl, obesity, worst quality, low quality, normal quality, liquid tentacles, bad tentacles, poorly drawn tentacles, split tentacles, fused tentacles, missing clit, bad clit, fused clit, colorful clit, black clit, liquid clit, QR code, bar code, censored, safety panties, safety knickers, beard, furry ,pony, pubic hair, mosaic, excrement, faeces, shit
  • 然后是img2img,我們?cè)黾咏Y(jié)果與原圖的不同程度,得到如下
    stable diffusion chilloutmix,# 機(jī)器學(xué)習(xí),AI作畫(huà),stable diffusion,python

6、Chilloutmix-Ni模型

模型尋找攻略:1
2

  • 然后我們?cè)贀Q用常用的3D模型生成一些圖
    stable diffusion chilloutmix,# 機(jī)器學(xué)習(xí),AI作畫(huà),stable diffusion,python
    stable diffusion chilloutmix,# 機(jī)器學(xué)習(xí),AI作畫(huà),stable diffusion,python

  • 最后我們使用真人模型Chilloutmix-Ni進(jìn)行訓(xùn)練
    stable diffusion chilloutmix,# 機(jī)器學(xué)習(xí),AI作畫(huà),stable diffusion,python

    文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-800733.html

到了這里,關(guān)于win10部署NovelAI繪畫(huà),Stable Diffusion,Chilloutmix,實(shí)現(xiàn)txt2img,img2img(含調(diào)參)的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來(lái)自互聯(lián)網(wǎng)用戶投稿,該文觀點(diǎn)僅代表作者本人,不代表本站立場(chǎng)。本站僅提供信息存儲(chǔ)空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請(qǐng)注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實(shí)不符,請(qǐng)點(diǎn)擊違法舉報(bào)進(jìn)行投訴反饋,一經(jīng)查實(shí),立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費(fèi)用

相關(guān)文章

  • AIGC:騰訊云服務(wù)器快速部署stable-diffusion環(huán)境,使用ChilloutMix模型進(jìn)行畫(huà)圖

    AIGC:騰訊云服務(wù)器快速部署stable-diffusion環(huán)境,使用ChilloutMix模型進(jìn)行畫(huà)圖

    前兩天在某公眾號(hào)的軟文刷到了AI繪畫(huà)領(lǐng)域最新的ChilloutMix模型。大概是下面這張圖的效果: 激動(dòng)的心顫抖的手,學(xué)了這么多年計(jì)算機(jī),就是為了走在時(shí)代前沿,事到如今終于可以活學(xué)活用了。然而自己的電腦配置完全不夠用,咋整?開(kāi)臺(tái)GPU云服務(wù)器吧。踩了無(wú)數(shù)坑之后,終

    2024年02月16日
    瀏覽(27)
  • 在win10電腦上搭建python環(huán)境下的本地AI繪畫(huà)工具Stable Diffusion(我的電腦AI作品欣賞)

    在win10電腦上搭建python環(huán)境下的本地AI繪畫(huà)工具Stable Diffusion(我的電腦AI作品欣賞)

    ?寧?kù)o的午后 孿生姐妹 ? 美女 街景 ??印象大師 ?

    2024年02月15日
    瀏覽(27)
  • stable-diffusion-webui(1.2.1版本) win10系統(tǒng)本地電腦部署

    stable-diffusion-webui(1.2.1版本) win10系統(tǒng)本地電腦部署

    在安裝stable-diffusion-webui(1.2.1版本)之前需要確認(rèn)win10本地電腦具有的環(huán)境 1.顯卡類型:NVIDIA(英偉達(dá)) 建議顯存高于4G以上,這樣512*512的還是可以運(yùn)行的 2.python(版本必須最好是3.10.6)和 git最新版 正式安裝 找到stable-diffusion-webui 這里找到1.2.1版本下載壓縮包后來(lái)安裝(固定版本

    2024年02月09日
    瀏覽(27)
  • Win 10部署stable-diffusion-webui時(shí)github報(bào)錯(cuò)的解決方法

    這篇博客就是簡(jiǎn)單記錄一下。有很多文章已經(jīng)詳細(xì)介紹了怎么在Windows上部署stable-diffusion-webui了,例如: 本地部署Stable Diffusion教程,詳細(xì)教學(xué),已安裝成功 - 知乎 (zhihu.com) 五千字長(zhǎng)文:Stable Diffusion 保姆級(jí)教程,附帶免費(fèi)繪畫(huà)小程序 - 嗶哩嗶哩 (bilibili.com) 一份保姆級(jí)的Stab

    2024年02月03日
    瀏覽(15)
  • Stable Diffusion 模型分享:ChilloutMix(真實(shí)、亞洲面孔)chilloutmix_NiPrunedFp32Fix

    Stable Diffusion 模型分享:ChilloutMix(真實(shí)、亞洲面孔)chilloutmix_NiPrunedFp32Fix

    本文收錄于《AI繪畫(huà)從入門(mén)到精通》專欄,專欄總目錄:點(diǎn)這里,訂閱后可閱讀專欄內(nèi)所有文章。 相信近來(lái)吸引大家想一試 Stable Diffusion 圖像生成,都是因?yàn)榫W(wǎng)上流傳大量仿如真人的東方美女照片。原來(lái)這些美女照片不少都是由一個(gè)名為 ChilloutMix 的模型生成的,不過(guò)由于訓(xùn)練

    2024年04月26日
    瀏覽(16)
  • 如何本地部署基于stable-diffusion的AI繪畫(huà)(jupyter,python實(shí)現(xiàn),詳細(xì),附代碼)

    如何本地部署基于stable-diffusion的AI繪畫(huà)(jupyter,python實(shí)現(xiàn),詳細(xì),附代碼)

    自從Stable Diffusion 1.0模型發(fā)布以來(lái),“AI文本圖片生成”真正的變成普通人也能使用的技術(shù)。同時(shí)各種國(guó)內(nèi)外AI繪圖軟件,也不斷頻繁更新,AI繪畫(huà)的關(guān)注度也越來(lái)越高。 以下是本人自己生成出來(lái)的一些AI繪圖(夾帶私貨木木梟^ ^) 對(duì)應(yīng)的提示語(yǔ)prompt為: 那么如果我們想要 本

    2023年04月22日
    瀏覽(29)
  • 安裝 NovelAI 原版后端(stable diffusion)

    詳見(jiàn)此教程:?NovelAI 原版網(wǎng)頁(yè)UI+后端部署教程 一臺(tái)擁有一張至少有 11G 顯存的 NVIDIA GPU 的 Linux 系統(tǒng)的 x86 設(shè)備。 建議顯存低于 24G 不要嘗試使用官方版本前后端。 NVIDIA CUDA 驅(qū)動(dòng) (CUDA Toolkit 11.6) Docker 19+ nvidia-container-toolkit 安裝 Docker# bash 驅(qū)動(dòng)相關(guān)# 安裝顯卡驅(qū)動(dòng) 使用? nvidia-smi

    2024年02月09日
    瀏覽(12)
  • Stable Diffusion AI繪畫(huà)學(xué)習(xí)指南【本地環(huán)境搭建win+mac】

    Stable Diffusion AI繪畫(huà)學(xué)習(xí)指南【本地環(huán)境搭建win+mac】

    一、硬件配配置要求 系統(tǒng):windows 10 ?/ Mac os 硬盤(pán):C 盤(pán)預(yù)留 15GB 以上,其他盤(pán) 50GB 以上,Stable Ddiffusion的很多大模型都是以 GB 起步。 顯卡:4GB 以上,建議 8GB, 效率高,能玩大尺寸的圖 CPU:i5 CPU 以上 內(nèi)存:16GB 以上 二、windows 環(huán)境搭建 python下載:https://www.python.org/downloads/??

    2024年02月14日
    瀏覽(25)
  • AIGC繪畫(huà):kaggle部署stable diffusion項(xiàng)目繪畫(huà)

    AIGC繪畫(huà):kaggle部署stable diffusion項(xiàng)目繪畫(huà)

    kaggle介紹 Kaggle 成立于2010年,是一個(gè)進(jìn)行數(shù)據(jù)發(fā)掘和預(yù)測(cè)競(jìng)賽的在線平臺(tái)。從公司的角度來(lái)講,可以提供一些數(shù)據(jù),進(jìn)而提出一個(gè)實(shí)際需要解決的問(wèn)題;從參賽者的角度來(lái)講,他們將組隊(duì)參與項(xiàng)目,針對(duì)其中一個(gè)問(wèn)題提出解決方案,最終由公司選出的最佳方案可以獲得5K-10K美

    2024年02月12日
    瀏覽(21)
  • stable-diffusion、stable-diffusion-webui、novelai、naifu區(qū)別介紹

    Stable Diffusion 是一個(gè)基于 Latent Diffusion Models (潛在擴(kuò)散模型,LDMs)的文圖生成(text-to-image)模型。它由 CompVis 、 Stability AI 和 LAION 共同開(kāi)發(fā),通過(guò) LAION-5B 子集大量的 512x512 圖文模型進(jìn)行訓(xùn)練。我們只要簡(jiǎn)單的輸入一段文本, Stable Diffusion 就可以迅速將其轉(zhuǎn)換為圖像,同樣我

    2024年02月09日
    瀏覽(94)

覺(jué)得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請(qǐng)作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包