背景
腾讯云近期上线了新人特别优惠的活动,60块钱,可以买15天的GPU,然后正好最近在研究stable-diffusion,所以就付了个款,然后体验了一下安装的过程。我买的是ubuntu 版本的操作系统。
首先下载
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui
如果还报错,需要安装pythone env
apt install python3.8-venv
python3 -m venv venv/
python launch.py
然后执行命令要这样子
## 装TCMalloc
sudo apt-get install libgoogle-perftools4 libtcmalloc-minimal4 -y
## 安装 torch
pip3 install torch torchvision torchaudio
# 在后台运行
nohup ./webui.sh --share --api --enable-insecure-extension-access --no-half &
nohup bash ./webui.sh --share --api --enable-insecure-extension-access &
## 直接运行
./webui.sh --share --api --enable-insecure-extension-access
汉化
C站
3d open pose
根模型
stable diffusion通用反向提示词
- Easy Negative, worst quality, low quality, normal quality, lowers, monochrome, grayscales, skin spots, acnes, skin blemishes, age spot, 6 more fingers on one hand, deformity, bad legs, error legs, bad feet, malformed limbs, extra limbs, ugly, poorly drawn hands, poorly drawn feet, poorly drawn face, text, mutilated, extra fingers, mutated hands, mutation, bad anatomy, cloned face, disfigured, fused fingers
Source:https://openai.wiki/controlnet-guide.html
Control Net 国内下载地址:https://openai.wiki/controlnet-models-download.html
Control Net 国外地址:https://huggingface.co/lllyasviel/ControlNet-v1-1/blob/main/control_v11p_sd15_inpaint.pth
赛文市场营销