Skip to content

Instantly share code, notes, and snippets.

@qdwang
Last active April 15, 2024 06:35
Show Gist options
  • Save qdwang/17ac1af0aeca99007be05e3b5d7f683e to your computer and use it in GitHub Desktop.
Save qdwang/17ac1af0aeca99007be05e3b5d7f683e to your computer and use it in GitHub Desktop.
kaggle简要指南
首次使用colab指南
  1. 登陆google
  2. 打开https://colab.research.google.com/drive/1ZN5YjxeYdz10DTbpfjqE8GhnZiMiP3C_?usp=sharing
  3. 点击开始按钮
image
  1. 然后就开始安装。
  2. 等到跑完,会出现个xxx.remote.moe链接,点它就能打开程序了。
首次使用kaggle指南
  1. 注册kaggle
  2. 首页右上角头像,点account,验证手机号
  3. 打开 https://www.kaggle.com/code/qdwang88/sd-webui
  4. 点击copy & edit
  5. 找到右侧settings,这样选
image
  1. 对配置做修改,有#表示此行不生效,去掉#表示生效。

默认装了anything v4.5和chilloutmix模型,如果需要其他模型,请在===== download sd models =====下面对齐添加

  1. 点击中间的run all

image

  1. 等到跑完,会出现个xxx.remote.moe 和 xxx.srv.us链接,点它们就能打开程序了。
怎么开关机

image

观察这个点,绿色表示已开机,灰色表示关机,橙色表示开机中。 开机后,gpu开始计时,一周30小时。 所以如果不用,就请关机。

image

为什么第二次开机那么慢 当你第二次开机的时候,会发现启动非常慢。是因为要把之前10G以上的模型和库文件都重新装载回来,所以需要等待一段时间
如何添加模型和插件 1. 新加一块code
image
  1. 在里面填写下载的模型的代码
image
  1. 停止其他代码块的运行(注意不是关机)
  2. 点击新加代码块的左边运行的小三角按钮
  3. 注意, 以后就不要run all了,就直接点击第一块大代码左侧的小三角来运行sd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment