注册谷歌账号

实测用Firefox浏览器挂VPN能成功注册谷歌账号了,+86号码可用,如果不可用,可以用在线号码接收网站# 便宜的虚拟电话号码辅助注册,YouTube上有教程。

在Google Colab+Drive中安装Stable Diffusion

Install the WebUI Colab to Google Drive

参照教程上面的依次运行即可

🦒 Install the WebUI Colab to Google Drive

文件体积较大,大概10G左右,提前确保google drive储存空间足够

Colab PageFunction
Open In ColabOne Time Install & Update
Open In ColabRun
Open In ColabAdd Model

Tutorials

Stable Diffusion WebUI Colab With Google Drive: https://www.youtube.com/watch?v=njW64feGMzI

🚨 Important for 15G Free Google Drive Users:

If you have enough space, remove the # character before the line

image

If you want to use more models, you can download your model into Colab, which has an empty 50GB space.

Download models into /content/models WebUI automaticly will find your models under /content/models and /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/models/Stable-diffusion

Screenshot 2023-03-20 133516

!aria2c –console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/andite/pastel-mix/resolve/main/pastelmix-fp16.ckpt -d /content/models -o pastelmix-fp16.ckpt !aria2c –console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/hakurei/waifu-diffusion-v1-4/resolve/main/vae/kl-f8-anime2.ckpt -d /content/models -o pastelmix-fp16.vae.pt

You can also free up more space by deleting the default model in your drive.

Screenshot 2023-02-24 140908

If you don’t plan to use ControlNet models, you can also free up space by deleting them. (thanks to twitter@muadoyoki ❤)

Screenshot 2023-02-24 141259

从CiviTai下载模型

Browse, share, and review custom AI art models——Civitai官网

常用模型LORA

原理:逐层加料

常用模型ControlNet

Diffusion扩散模型绘图原理

逆向降噪:从模糊到清晰

  • 为何加噪点?降维,RGB像素点,保留重要特征点
  • 如何降噪点?用采样器降维,采样步数:采样次数