赞
踩
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
cd D:\..\..
git clone https://github.com/CompVis/stable-diffusion.git
cd stable-diffusion
conda env create -f environment.yaml
conda activate ldm
conda install pytorch torchvision -c pytorch
pip install transformers==4.19.2 diffusers invisible-watermark
pip install -e .
python scripts/txt2img.py --prompt "a photograph of an astronaut riding a horse" --plms
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。