Last active
July 29, 2023 20:44
-
-
Save FurkanGozukara/7c4413ef0eb88c7ad34d6e5ee08f8ca6 to your computer and use it in GitHub Desktop.
Kohya SS SECourses Tutorial Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
parameters | |
handsome portrait photo of (ohwx man:1.1) wearing a Gray fancy expensive suit <lora:test6-000005:1> | |
Negative prompt: (blue eyes, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), fat, text, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck | |
Steps: 30, Sampler: DPM++ SDE Karras, CFG scale: 5, Seed: 1117571876, Size: 640x720, Model hash: c0d1994c73, Model: realisticVisionV20_v20 | |
I changed the Gray color with other colors like red blue yellow etc. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tutorial Video Of This Gist: | |
https://youtu.be/TpuDOsuKIBo | |
2071 classification / regularization images of Realistic Vision 2 | |
https://www.patreon.com/posts/realistic-vision-82085317 | |
PDF file mentioned in the tutorial video: | |
https://www.patreon.com/posts/kohya-ss-lora-82085260 | |
Prerequisites | |
Full tutorial for python and git installation with venv : | |
https://youtu.be/B5U7LJOvH6g | |
Full tutorial for how to install and use Stable Diffusion Automatic1111 Web UI: | |
1 : https://youtu.be/AZg6vzWHOTA | |
2 : https://youtu.be/aAyvsX-EpG4 | |
Download and install Visual Studio 2015, 2017, 2019, and 2022 redistributable | |
https://aka.ms/vs/17/release/vc_redist.x64.exe | |
Download and install Python 3.10.9 | |
https://www.python.org/ftp/python/3.10.9/python-3.10.9-amd64.exe | |
Download and install git | |
https://github.com/git-for-windows/git/releases/download/v2.40.1.windows.1/Git-2.40.1-64-bit.exe | |
Kohya SS Gui Repo : https://github.com/bmaltais/kohya_ss | |
Kohya commit id : 63657088f4c35a376dd8a936f53e9b9a3b4b1168 | |
Realistic Vision V2 model file download link | |
https://civitai.com/api/download/models/29460 | |
Best VAE file to set as default to generate images : https://huggingface.co/stabilityai/sd-vae-ft-mse-original/blob/main/vae-ft-mse-840000-ema-pruned.ckpt | |
cudnn 8.6 files for torch 1.12 : https://b1.thefileditch.ch/mwxKTEtelILoIbMbruuM.zip | |
python .\tools\cudann_1.8_install.py | |
gui.bat --listen 127.0.0.1 --server_port 7860 --inbrowser | |
positive prompt : portrait photo of (ohwx man) wearing a fancy suit photoshoot <lora:test1-00000checkpoint:1> | |
negative prompt : (semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, close up, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck | |
x/y/z sr: checkpoint,1,2,3,4,5 | |
set cuda visible devince only 1 | |
setx CUDA_VISIBLE_DEVICES 1 | |
pip3 install torch==1.13.1 torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117 | |
pip install https://huggingface.co/MonsterMMORPG/SECourses/resolve/main/xformers-0.0.18.dev489-cp310-cp310-win_amd64.whl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment