File size: 2,526 Bytes
f292456 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
[Automatic1111 ์นUI](https://github.com/AUTOMATIC1111/stable-diffusion-webui)๋ฅผ ์ํ ํ๊น
(๋ผ๋ฒจ๋ง) ํ์ฅ ๊ธฐ๋ฅ
---
DeepDanbooru ์ ๊ฐ์ ๋ชจ๋ธ์ ํตํด ๋จ์ผ ๋๋ ์ฌ๋ฌ ์ด๋ฏธ์ง๋ก๋ถํฐ ๋ถ๋ฃจ์์ ์ฌ์ฉํ๋ ํ๊ทธ๋ฅผ ์์๋
๋๋ค.
[You don't know how to read Korean? Read it in English here!](README.md)
## ๋ค์ด๊ฐ๊ธฐ ์์
๋ชจ๋ธ๊ณผ ๋๋ถ๋ถ์ ์ฝ๋๋ ์ ๊ฐ ๋ง๋ค์ง ์์๊ณ [DeepDanbooru](https://github.com/KichangKim/DeepDanbooru) ์ MrSmillingWolf ์ ํ๊ฑฐ์์ ๊ฐ์ ธ์์ต๋๋ค.
## ์ค์นํ๊ธฐ
1. *ํ์ฅ๊ธฐ๋ฅ* -> *URL๋ก๋ถํฐ ํ์ฅ๊ธฐ๋ฅ ์ค์น* -> ์ด ๋ ํฌ์งํ ๋ฆฌ ์ฃผ์ ์
๋ ฅ -> *์ค์น*
- ๋๋ ์ด ๋ ํฌ์งํ ๋ฆฌ๋ฅผ `extensions/` ๋๋ ํฐ๋ฆฌ ๋ด์ ํด๋ก ํฉ๋๋ค.
```sh
$ git clone https://github.com/toriato/stable-diffusion-webui-wd14-tagger.git extensions/tagger
```
1. ๋ชจ๋ธ ์ถ๊ฐํ๊ธฐ
- #### *MrSmilingWolf's model (a.k.a. Waifu Diffusion 1.4 tagger)*
์ฒ์ ์คํํ ๋ [HuggingFace ๋ ํฌ์งํ ๋ฆฌ](https://huggingface.co/SmilingWolf/wd-v1-4-vit-tagger)๋ก๋ถํฐ ์๋์ผ๋ก ๋ฐ์์ต๋๋ค.
๋ชจ๋ธ๊ณผ ๊ด๋ จ๋ ๋๋ ์ถ๊ฐ ํ์ต์ ๋ํ ์ง๋ฌธ์ ์์์์ธ MrSmilingWolf#5991 ์ผ๋ก ๋ฌผ์ด๋ด์ฃผ์ธ์.
- #### *DeepDanbooru*
1. ๋ค์ํ ๋ชจ๋ธ ํ์ผ์ ์๋ ์ฃผ์์์ ์ฐพ์ ์ ์์ต๋๋ค.
- [DeepDanbooru model](https://github.com/KichangKim/DeepDanbooru/releases)
- [e621 model by ๐พZack๐พ#1984](https://discord.gg/BDFpq9Yb7K)
*(NSFW ์ฃผ์!)*
1. ๋ชจ๋ธ๊ณผ ์ค์ ํ์ผ์ด ํฌํจ๋ ํ๋ก์ ํธ ํด๋๋ฅผ `models/deepdanbooru` ๊ฒฝ๋ก๋ก ์ฎ๊น๋๋ค.
1. ํ์ผ ๊ตฌ์กฐ๋ ๋ค์๊ณผ ๊ฐ์ต๋๋ค:
```
models/
โโดdeepdanbooru/
โโดdeepdanbooru-v3-20211112-sgd-e28/
โ โโดproject.json
โ โโด...
โ
โโดdeepdanbooru-v4-20200814-sgd-e30/
โ โโดproject.json
โ โโด...
โ
โโดe621-v3-20221117-sgd-e32/
โ โโดproject.json
โ โโด...
โ
...
```
1. ์นUI ๋ฅผ ์์ํ๊ฑฐ๋ ์ฌ์์ํฉ๋๋ค.
- ๋๋ *Interrogator* ๋๋กญ๋ค์ด ์์ ์ฐ์ธก์ ์๋ ์๋ก๊ณ ์นจ ๋ฒํผ์ ๋๋ฆ
๋๋ค.
## ์คํฌ๋ฆฐ์ท

Artwork made by [hecattaart](https://vk.com/hecattaart?w=wall-89063929_3767)
## ์ ์๊ถ
๋น๋ ค์จ ์ฝ๋(์: `dbimutils.py`)๋ฅผ ์ ์ธํ๊ณ ๋ชจ๋ Public domain |