Yasunori Ozaki commited on
Commit ·
80cd106
1
Parent(s): 02de1fd
Update readme
Browse files- README.md +6 -4
- README_en.md +1 -1
README.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
| 1 |
---
|
| 2 |
license: other
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
| 4 |
|
| 5 |
# Cool Japan Diffusion 2.1.2 Model Card
|
|
@@ -66,7 +70,7 @@ Stable Diffusion v2と同じ使い方です。
|
|
| 66 |
- Diffusers
|
| 67 |
|
| 68 |
### Web UIの場合
|
| 69 |
-
**今回からは
|
| 70 |
こちらの[取扱説明書](https://alfredplpl.hatenablog.com/entry/2023/01/11/182146)に従って作成してください。
|
| 71 |
|
| 72 |
### Diffusersの場合
|
|
@@ -85,7 +89,7 @@ pip install --upgrade git+https://github.com/huggingface/diffusers.git transform
|
|
| 85 |
from diffusers import StableDiffusionPipeline, EulerAncestralDiscreteScheduler
|
| 86 |
import torch
|
| 87 |
|
| 88 |
-
model_id = "aipicasso/cool-japan-diffusion-2-1-2
|
| 89 |
|
| 90 |
scheduler = EulerAncestralDiscreteScheduler.from_pretrained(model_id, subfolder="scheduler")
|
| 91 |
pipe = StableDiffusionPipeline.from_pretrained(model_id, scheduler=scheduler, torch_dtype=torch.float32)
|
|
@@ -137,8 +141,6 @@ images[0].save("girl.png")
|
|
| 137 |
|
| 138 |
# 使用してはいけない用途や悪意のある用途
|
| 139 |
- デジタル贋作 ([Digital Forgery](https://arxiv.org/abs/2212.03860)) は公開しないでください(著作権法に違反するおそれ)
|
| 140 |
-
- 特に既存のキャラクターは公開しないでください(著作権法に違反するおそれ)
|
| 141 |
-
- なお、学習していない[キャラクターも生成できる](https://twitter.com/ThePioneerJPnew/status/1609074173892235264?s=20&t=-rY1ufzNeIDT3Fm5YdME6g)そうです。(このツイート自体は研究目的として許可しています。)
|
| 142 |
- 他人の作品を無断でImage-to-Imageしないでください(著作権法に違反するおそれ)
|
| 143 |
- わいせつ物を頒布しないでください (刑法175条に違反するおそれ)
|
| 144 |
- いわゆる業界のマナーを守らないようなこと
|
|
|
|
| 1 |
---
|
| 2 |
license: other
|
| 3 |
+
tags:
|
| 4 |
+
- stable-diffusion
|
| 5 |
+
- text-to-image
|
| 6 |
+
inference: false
|
| 7 |
---
|
| 8 |
|
| 9 |
# Cool Japan Diffusion 2.1.2 Model Card
|
|
|
|
| 70 |
- Diffusers
|
| 71 |
|
| 72 |
### Web UIの場合
|
| 73 |
+
**今回からはxformersをインストールすることをおすすめします。**
|
| 74 |
こちらの[取扱説明書](https://alfredplpl.hatenablog.com/entry/2023/01/11/182146)に従って作成してください。
|
| 75 |
|
| 76 |
### Diffusersの場合
|
|
|
|
| 89 |
from diffusers import StableDiffusionPipeline, EulerAncestralDiscreteScheduler
|
| 90 |
import torch
|
| 91 |
|
| 92 |
+
model_id = "aipicasso/cool-japan-diffusion-2-1-2"
|
| 93 |
|
| 94 |
scheduler = EulerAncestralDiscreteScheduler.from_pretrained(model_id, subfolder="scheduler")
|
| 95 |
pipe = StableDiffusionPipeline.from_pretrained(model_id, scheduler=scheduler, torch_dtype=torch.float32)
|
|
|
|
| 141 |
|
| 142 |
# 使用してはいけない用途や悪意のある用途
|
| 143 |
- デジタル贋作 ([Digital Forgery](https://arxiv.org/abs/2212.03860)) は公開しないでください(著作権法に違反するおそれ)
|
|
|
|
|
|
|
| 144 |
- 他人の作品を無断でImage-to-Imageしないでください(著作権法に違反するおそれ)
|
| 145 |
- わいせつ物を頒布しないでください (刑法175条に違反するおそれ)
|
| 146 |
- いわゆる業界のマナーを守らないようなこと
|
README_en.md
CHANGED
|
@@ -40,7 +40,7 @@ Therefore, we cannot use the model for commercially except for news reporting.
|
|
| 40 |
- Diffusers
|
| 41 |
|
| 42 |
## Web UI
|
| 43 |
-
Download the model [here](
|
| 44 |
Then, install [Web UI](https://github.com/AUTOMATIC1111/stable-diffusion-webui) by AUTIMATIC1111.
|
| 45 |
|
| 46 |
## Diffusers
|
|
|
|
| 40 |
- Diffusers
|
| 41 |
|
| 42 |
## Web UI
|
| 43 |
+
Download the model [here](v2-1-2.safetensors).
|
| 44 |
Then, install [Web UI](https://github.com/AUTOMATIC1111/stable-diffusion-webui) by AUTIMATIC1111.
|
| 45 |
|
| 46 |
## Diffusers
|