diff --git a/README.md b/README.md index d6061c9..1e94c44 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,13 @@ Windows users need this verison https://eternallybored.org/misc/wget/ download the .exe and I copied it to my C:/Windows/System directory (this isn't the correct way just the fastest to get it working) +##### Install WSL +open a powershell terminal as administrator from your start menu and right mouse click over to the run as administrator and run the following +``` +wsl -install +``` +reboot your system and let wsl finish the install process + #### Linux Mint 22.04 Install git and wget with the following command diff --git a/install_sdco.bat b/install_sdco.bat new file mode 100755 index 0000000..15fbcea --- /dev/null +++ b/install_sdco.bat @@ -0,0 +1,20 @@ +echo This Script is now installing a Stable Diffusion cpu only variant. + +mkdir "models/ldm/stable-diffusion-v1/" +mkdir "outputs/extras-samples" +mkdir "outputs/img2img-samples/samples" +mkdir "outputs/txt2img-samples/samples" +copy sd-v1-4.ckpt "models/ldm/stable-diffusion-v1/model.ckpt" +del sd-v1-4.ckpt + +call conda install pytorch torchvision torchaudio cpuonly -c pytorch +call conda env create -f environment-cpuonly.yaml +call conda activate sdco + +call pip install pynvml gradio keras-unet fairseq basicsr facexlib +call pip install -e git+https://github.com/CompVis/taming-transformers.git@master#egg=taming-transformers +call pip install -e git+https://github.com/openai/CLIP.git@main#egg=clip +call pip install -e git+https://github.com/TencentARC/GFPGAN#egg=GFPGAN +call pip install -e git+https://github.com/xinntao/Real-ESRGAN#egg=realesrgan +call pip install -e git+https://github.com/hlky/k-diffusion-sd#egg=k_diffusion + diff --git a/run_sdco.bat b/run_sdco.bat new file mode 100755 index 0000000..8fd1a47 --- /dev/null +++ b/run_sdco.bat @@ -0,0 +1,3 @@ +call conda activate sdco +python ./webui.py --no-half +