赞
踩
安装miniconda:https://docs.conda.io/en/latest/miniconda.html
在环境里更换镜像下载源:
conda config --set show_channel_urls yes
在C:\Users\Administrator用记事本打开并修改.condarc文件
把下面的内容全部复制进去,全部覆盖原内容
channels:
- defaults
show_channel_urls: true
default_channels:
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2
custom_channels:
conda-forge: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
msys2: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
bioconda: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
menpo: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
pytorch: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
pytorch-lts: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
simpleitk: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
conda create --name lmd python
安装git :Git - Downloading Package
下载SD:
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
下载SD模型 :https://huggingface.co/CompVis/stable-diffusion-v-1-4-original/tree/main
放置在sd-webui的models/stable-diffusion目录下
启动:
cd D:\
conda activate lmd
cd stable-diffusion-webui
webui-user.bat
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。