Created
September 20, 2022 00:46
-
-
Save jstenquist/13d6cf0abcc0123827e57c43526e85c7 to your computer and use it in GitHub Desktop.
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
# Type the commands below in terminal and press Enter: | |
Install Homebrew from http://brew.sh | |
brew update | |
brew install python | |
git clone -b apple-silicon-mps-support https://github.com/bfirsh/stable-diffusion.git | |
cd stable-diffusion | |
mkdir -p models/ldm/stable-diffusion-v1/ | |
python3 -m pip install virtualenv | |
python3 -m virtualenv venv | |
source venv/bin/activate | |
brew install Cmake protobuf rust | |
pip install -r requirements.txt | |
Now go to https://huggingface.co/CompVis/stable-diffusion-v-1-4-original, read and understand the license, then click "Access repository" | |
Download sd-v1-4.ckpt (~4 GB) and save it under stable-diffusion/models/ldm/stable-diffusion-v1/model.ckpt | |
python scripts/txt2img.py --n_samples 1 --n_iter 1 --plms --prompt "new born baby Corgi. Hyper Detail, 8K, HD, Octane Rendering, Unreal Engine, V-Ray, full hd" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment