![見出し画像](https://assets.st-note.com/production/uploads/images/101581396/rectangle_large_type_2_03d6c4e23dffcf714b8a438215b6a167.png?width=800)
ちびキャラを作りたい!
こんにちは、あるいは、こんばんは!
GANに始まり、MidjourneyやStable DiffusionなどのジェネレーティブAIに興味を持ち、ただ動かして遊んでいます。
アイコンなどに使えるちびキャラを作りたくて、いろいろ調べているところです。そんな取り組みをnoteに備忘録として記載しておきます。
Anacondaのインストール
conda create -n py310 python=3.10
conda activate py310
CUDA toolkit, PyCUDA, cuDNNの設定
(詳細は別の記事を参照してください。。。)
【私の環境】
nvcc -V
-> nvcc: NVIDIA (R) Cuda compiler driver
-> Copyright (c) 2005-2023 NVIDIA Corporation
-> Built on Fri_Jan__6_19:04:39_Pacific_Standard_Time_2023
-> Cuda compilation tools, release 12.0, V12.0.140
-> Build cuda_12.0.r12.0/compiler.32267302_0
python -m pip install --upgrade pip
pip install -U wheel
pip install pycuda
PyTorchのインストール
python -m pip install --upgrade pip setuptools
conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia
Gitのインストール
(詳細は別の記事を参照してください。。。)
Automatic1111_stable-diffusion-webuiの導入と実行
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
cd clone/stable-diffusion-webui
python launch.py --skip-python-version-check
ブラウザでhttp://localhost:7860/にアクセス
できた・・・のか?
![](https://assets.st-note.com/img/1680169769676-73q3wGadtz.png)
parameters
1 boy, solo, best quality, clearly outlined, (chibi anime:1.5), (full body view, standing:1.3), cute smile, (white coat, white shirt:1.2), neck tie, belt, etc.
Negative prompt: (EasyNegative:1.5), (ng_deepnegative_v1_75t:0.75), (worst quality, low quality, normal quality:1.2), etc.
Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 924029633, Size: 512x512, Model hash: f6957e654e, Model: 7th_anime_v3_C
この記事が気に入ったらサポートをしてみませんか?