🚀 Protogen v2.2(動漫)官方版本
Protogen v2.2是一款基於Stable Diffusion的模型,它在大量新的和熱門的數據集上進行了微調,能夠生成高質量的圖像,尤其在動漫風格圖像生成上表現出色。同時,它支持使用特定提示詞來控制生成效果,並且可以與Dreambooth結合使用。
🚀 快速開始
安裝
要運行此模型,請下載model.ckpt
或model.safetensor
文件,並將其安裝到stable-diffusion-webui\models\Stable-diffusion
目錄中。
運行示例
此模型可以像其他Stable Diffusion模型一樣使用。以下是一個使用Python代碼生成圖像的示例:
from diffusers import StableDiffusionPipeline, DPMSolverMultistepScheduler
import torch
prompt = (
"modelshoot style, (extremely detailed CG unity 8k wallpaper), full shot body photo of the most beautiful artwork in the world, "
"english medieval witch, black silk vale, pale skin, black silk robe, black cat, necromancy magic, medieval era, "
"photorealistic painting by Ed Blinkey, Atey Ghailan, Studio Ghibli, by Jeremy Mann, Greg Manchess, Antonio Moro, trending on ArtStation, "
"trending on CGSociety, Intricate, High Detail, Sharp focus, dramatic, photorealistic painting art by midjourney and greg rutkowski"
)
model_id = "darkstorm2150/Protogen_v2.2_Official_Release"
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
pipe.scheduler = DPMSolverMultistepScheduler.from_config(pipe.scheduler.config)
pipe = pipe.to("cuda")
image = pipe(prompt, num_inference_steps=25).images[0]
image.save("./result.jpg")
✨ 主要特性
通用信息
Protogen以Stable Diffusion v1 - 5為基礎進行預熱啟動,並在civitai.com上大量新的和熱門的大型數據集上進行了微調。
你可以通過在提示詞中使用“modelshoot style”來強制使用相機捕捉風格。此外,該模型非常適合使用Dreambooth,只需少量步驟就能生成高保真度的人臉(詳見dreambooth)。
粒度自適應學習
粒度自適應學習是一種機器學習技術,它專注於在細粒度級別上調整學習過程,而不是對模型進行全局調整。這種方法使模型能夠適應數據中的特定模式或特徵,而不是基於一般趨勢進行假設。
粒度自適應學習可以通過主動學習等技術實現,主動學習允許模型選擇它想要學習的數據;也可以通過強化學習實現,在強化學習中,模型會根據其性能獲得反饋並進行調整。此外,還可以通過在線學習等技術實現,在線學習使模型在接收更多數據時自我調整。
粒度自適應學習通常用於數據高度多樣化或非平穩的情況,以及模型需要快速適應變化模式的場景,如機器人技術、金融市場和自然語言處理等動態環境。
觸發詞
modelshoot style
此外,hassan1.4和f222也有可用的觸發詞,你可能需要通過谷歌搜索來獲取它們。
📦 安裝指南
要運行此模型,請下載以下文件之一:
然後將下載的文件安裝到stable-diffusion-webui\models\Stable-diffusion
目錄中。
💻 使用示例
基礎用法
from diffusers import StableDiffusionPipeline, DPMSolverMultistepScheduler
import torch
prompt = (
"modelshoot style, (extremely detailed CG unity 8k wallpaper), full shot body photo of the most beautiful artwork in the world, "
"english medieval witch, black silk vale, pale skin, black silk robe, black cat, necromancy magic, medieval era, "
"photorealistic painting by Ed Blinkey, Atey Ghailan, Studio Ghibli, by Jeremy Mann, Greg Manchess, Antonio Moro, trending on ArtStation, "
"trending on CGSociety, Intricate, High Detail, Sharp focus, dramatic, photorealistic painting art by midjourney and greg rutkowski"
)
model_id = "darkstorm2150/Protogen_v2.2_Official_Release"
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
pipe.scheduler = DPMSolverMultistepScheduler.from_config(pipe.scheduler.config)
pipe = pipe.to("cuda")
image = pipe(prompt, num_inference_steps=25).images[0]
image.save("./result.jpg")
📚 詳細文檔
空間支持
我們支持使用Gradio Web UI來運行dreamlike - diffusion - 1.0:

檢查點合併數據參考
模型 |
Protogen v2.2(動漫) |
Protogen x3.4(照片) |
Protogen x5.3(照片) |
Protogen x5.8(科幻/動漫) |
Protogen x5.9(龍) |
Protogen x7.4(日食) |
Protogen x8.0(新星) |
Protogen x8.6(無限) |
seek_art_mega v1 |
52.50% |
42.76% |
42.63% |
|
|
|
25.21% |
14.83% |
modelshoot v1 |
30.00% |
24.44% |
24.37% |
2.56% |
2.05% |
3.48% |
22.91% |
13.48% |
elldreth v1 |
12.64% |
10.30% |
10.23% |
|
|
|
6.06% |
3.57% |
photoreal v2 |
|
|
10.00% |
48.64% |
38.91% |
66.33% |
20.49% |
12.06% |
analogdiffusion v1 |
|
4.75% |
4.50% |
|
|
|
1.75% |
1.03% |
openjourney v2 |
|
4.51% |
4.28% |
|
|
4.75% |
2.26% |
1.33% |
hassan1.4 |
2.63% |
2.14% |
2.13% |
|
|
|
1.26% |
0.74% |
f222 |
2.23% |
1.82% |
1.81% |
|
|
|
1.07% |
0.63% |
hasdx |
|
|
|
20.00% |
16.00% |
4.07% |
5.01% |
2.95% |
moistmix |
|
|
|
16.00% |
12.80% |
3.86% |
4.08% |
2.40% |
roboDiffusion v1 |
|
4.29% |
|
12.80% |
10.24% |
3.67% |
4.41% |
2.60% |
RPG v3 |
|
5.00% |
|
|
20.00% |
4.29% |
4.29% |
2.52% |
anything&everything |
|
|
|
|
|
4.51% |
0.56% |
0.33% |
dreamlikediff v1 |
|
|
|
|
|
5.0% |
0.63% |
0.37% |
sci - fidiff v1 |
|
|
|
|
|
|
|
3.10% |
synthwavepunk v2 |
|
|
|
|
|
|
|
3.26% |
mashupv2 |
|
|
|
|
|
|
|
11.51% |
dreamshaper 252 |
|
|
|
|
|
|
|
4.04% |
comicdiff v2 |
|
|
|
|
|
|
|
4.25% |
artEros |
|
|
|
|
|
|
|
15.00% |
📄 許可證
通過下載此模型,你同意遵守以下許可證的條款: