quick fix

main
Christopher Williams 3 years ago
parent ccad8839bc
commit cb491bbd27

@ -28,6 +28,9 @@ run from stable-diffusion-cpuonly directory if you are running on nvidia gpu wit
```
mkdir -p models/ldm/stable-diffusion-v1/
mkdir -p outputs/extras-samples
mkdir -p outputs/img2img-samples/samples
mkdir -p outputs/txt2img-samples/samples
conda install pytorch torchvision torchaudio -c pytorch
conda env create -f environment.yaml
conda activate ldm
@ -39,10 +42,18 @@ run from stable-diffusion-cpuonly directory
```
mkdir -p models/ldm/stable-diffusion-v1/
conda install pytorch torchvision torchaudio cpuonly -c pytorch
conda env create -f environment-cpuonly.yaml
conda activate ldm
```
```
pip install -e git+https://github.com/CompVis/taming-transformers.git@master#egg=taming-transformers
pip install -e git+https://github.com/openai/CLIP.git@main#egg=clip
pip install -e git+https://github.com/TencentARC/GFPGAN#egg=GFPGAN
pip install -e git+https://github.com/xinntao/Real-ESRGAN#egg=realesrgan
pip install -e git+https://github.com/hlky/k-diffusion-sd#egg=k_diffusion
```
Go here and download the correct mode from here. YOu'll have to agree to the license setup an account, I believe.
This the bread and butter AI art generating learning model.
...
@ -52,18 +63,18 @@ https://huggingface.co/CompVis/stable-diffusion-v-1-4-original
copy it to your stable-diffusion-cpuonly/models/ldm/stable-diffusion-v1 directory and rename it to model.ckpt
Download the model - this is for better face generation or cleanup
...
```
https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv1.3.pth
...
```
and copy it to your stable-diffusion-cpuonly/src/GFPGAN/experiments/pretrained_models directory
Download the model - this is for upscaling your images
...
```
https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/RealESRGAN_x4plus.pth
...
...
```
```
https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.2.4/RealESRGAN_x4plus_anime_6B.pth
...
```
and copy these to your stable-diffusion-cpuonly/src/realsrgan/experiments/pretrained_models directory

@ -36,9 +36,4 @@ dependencies:
- gradio
- keras-unet
- fairseq
- -e git+https://github.com/CompVis/taming-transformers.git@master#egg=taming-transformers
- -e git+https://github.com/openai/CLIP.git@main#egg=clip
- -e git+https://github.com/TencentARC/GFPGAN#egg=GFPGAN
- -e git+https://github.com/xinntao/Real-ESRGAN#egg=realesrgan
- -e git+https://github.com/hlky/k-diffusion-sd#egg=k_diffusion
- -e .

@ -1,4 +0,0 @@
Metadata-Version: 2.1
Name: latent-diffusion
Version: 0.0.1
License-File: LICENSE

@ -1,8 +0,0 @@
LICENSE
README.md
setup.py
latent_diffusion.egg-info/PKG-INFO
latent_diffusion.egg-info/SOURCES.txt
latent_diffusion.egg-info/dependency_links.txt
latent_diffusion.egg-info/requires.txt
latent_diffusion.egg-info/top_level.txt
Loading…
Cancel
Save