pip设置和SD使用

记录一些命令和链接为自己方便使用

首先是国内的pip源,如下:

阿里云 http://mirrors.aliyun.com/pypi/simple/

中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/

豆瓣(douban) http://pypi.douban.com/simple/

清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/

中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/

据说清华的有问题,不知道现在fix了没有,我一般用科技大学的。

设置pip config

pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
pip config set install.trusted-host mirrors.aliyun.com

执行完上面两条命令就可以啦。

pip config set 命令能自动把配置写入到用户对应的配置文件中:

[global]
index-url = https://mirrors.aliyun.com/pypi/simple/

[install]
trusted-host=mirrors.aliyun.com

如果不想改变缺省(default)链接,又想添加国内镜像,下面这个命令就很重要:

pip config set global.extra-index-url "url"

安装control-net在A1111里面:

1.打开stable diffusion webui,进入"Extensions"选项卡

2.点击"Install from URL",注意"URL for extension's git repository"下方的输入框

3.粘贴或输入本Git仓库地址https://github.com/Mikubill/sd-webui-controlnet

4.点击下方的黄色按钮"Install"即可完成安装,然后重启WebUI(点击"Install from URL"左方的"Installed",然后点击黄色按钮"Apply and restart UI"网页下方的"Reload UI"完成重启)

方法2:手动下载复制
1.在任意目录下使用git clone https://github.com/Mikubill/sd-webui-controlnet

2.进入下载好的文件夹,复制至stable-diffusion-webui\extensions 

npm就是安装Node.js。可以从Node.js官方网站(Node.js)下载安装。

Facexlib:facexlib · PyPI

几个关于prompt的网站:

https://aigccafe.com/

PirateDiffusion – The Stable Diffusion Community | Prompt Different.

sinkin

RandomSeed

animemaker

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值