Premium Only Content
BRAND NEW Stable Diffusion 2 Model | Local Installation | Tutorial | Manual Command Line Prompting
Want to learn how to train Stable Diffusion with your own subjects instead? Watch my past tutorial which uses the past Stable Diffusion 1.4 model and AUTOMATIC1111's awesome Web UI here: https://www.youtube.com/watch?v=Ho5cjrNAXrs
THE NEW STABLE DIFFUSION 2 MODELS ARE HOT AND READY!
WALKTHROUGH:
Get Python version 3.9:
https://www.python.org/downloads/release/python-390/
Get Git:
https://git-scm.com/downloads
=========================================
Get Stable Diffusion dependencies:
1. Get OpenCV with PIP:
pip install opencv-python
2. Get NumPy with PIP:
pip install numpy
~~~~~~~~~~~~~~
3. Get PyTorch with PIP:
----- 3A. (need to modify registry first to enable long paths):
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
Set LongPathsEnabled to 1
----- 3B. (check CUDA version to get the correct PyTorch):
NVIDIA Control Panel - Help - System Information - Components
https://pytorch.org/get-started/locally/
~~~~~~~~~~~~~~
4. Get PyTorch Lighting with PIP:
pip install pytorch-lightning
5. Get OmegaConf with PIP:
pip install omegaconf
6. Get TQDM with PIP:
pip install TQDM
7. Get EINOPS with PIP:
pip install einops
8. Get watermarking modules with PIP:
pip install imwatermark
pip install invisible-watermark
9. Get Transformers with PIP:
pip install transformers
10. Get Open Clip with PIP:
pip install open_clip_torch
=========================================
Get Stable Diffusion base files (by cloning the repository):
https://github.com/Stability-AI/stablediffusion
Get the new Stable Diffusion 2 model checkpoints (via download link):
512 - https://huggingface.co/stabilityai/stable-diffusion-2-base/blob/main/512-base-ema.ckpt
768 - https://huggingface.co/stabilityai/stable-diffusion-2/blob/main/768-v-ema.ckpt
=========================================
11. Initiate the LDM environment:
pip install -e .
=========================================
GENERATE ART WITH THE NEW MODELS:
PROMPTING GUIDE: https://www.assemblyai.com/blog/how-to-run-stable-diffusion-locally-to-generate-images/
512px generation sample prompt:
python scripts/txt2img.py --prompt "a professional photograph of an astronaut riding a horse" --ckpt C:\STABLEDIFFUSION2\stablediffusion\models\512model.ckpt --H 512 --W 512 --steps 30 --seed -1 --n_samples 1 --n_iter 1
768px generation sample prompt:
python scripts/txt2img.py --prompt "a professional photograph of an astronaut riding a horse" --ckpt C:\STABLEDIFFUSION2\stablediffusion\models\768model.ckpt --config configs/stable-diffusion/v2-inference-v.yaml --H 768 --W 768
=========================================
Thank you so much for watching, listening to, and supporting my content!
- Mike Yeah
© YebbaProductions
-
1:26:50
Redacted News
1 hour agoWhat happened? Trump DESTROYS the Pete Buttigieg run FAA for tragic airline crash | Redacted News
22.9K44 -
43:37
Candace Show Podcast
1 hour agoThe Taylor Swift Plot Thickens | Candace Ep 142
12.2K25 -
LIVE
Revenge of the Cis
3 hours agoEpisode 1437: Kash Me Outside
2,192 watching -
LIVE
Dr Disrespect
5 hours ago🔴LIVE - DR DISRESPECT - WARZONE - CRAZY TRIPLE THREAT CHALLENGE
4,069 watching -
3:10:10
Power Slap
9 days agoPower Slap 11: Da Crazy Hawaiian vs Dumpling 2 | Thursday January 30th 12pET/9aPT
3.4M87 -
1:19:18
Dr. Drew
5 hours agoDr. Peter McCullough: RFK Jr. Faces Senate Hearing Circus, As 81,000 Doctors & Experts Publish New Demand For COVID-19 Vaccine Recall – Ask Dr. Drew
34.2K10 -
1:02:30
In The Litter Box w/ Jewels & Catturd
22 hours agoConfirm Kash & Tulsi! | In the Litter Box w/ Jewels & Catturd – Ep. 731 – 1/30/2025
42.5K21 -
1:54:36
PudgeTV
5 hours ago🟡 Practical Pudge Ep 52 | Sticker Mule CEO & Future NY Congressman - Anthony Constantino
9.39K -
LIVE
Major League Fishing
1 day agoLIVE! - Bass Pro Tour: Stage 1 - Day 1
153 watching -
1:45:07
The Quartering
4 hours agoWokeness Leads To PlaneCrash, Kash & Tulsi Confirmations, Daily Wire Blasted & More
110K24