Windows
一键脚本安装
conda create -n df_env python==3.10
python -m pip install --upgrade pip
pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
webui-user.bat
pip install -r .\requirements.txt
pip install -r .\requirements_versions.txt
pip install accelerate==0.21.0
pip install tb_nightly -i https://mirrors.aliyun.com/pypi/simple
运行
python3 launch.py --disable-nan-check
accelerate launch --num_cpu_threads_per_process=6 launch.py --disable-nan-check
效果

下载模型
git config --global http.proxy "http://127.0.0.1:7890"
git config --global https.proxy "http://127.0.0.1:7890"
cd openai
git clone https://huggingface.co/openai/clip-vit-large-patch14