Skip to content

Instantly share code, notes, and snippets.

# Script for converting a HF Diffusers saved pipeline to a Stable Diffusion checkpoint.
# *Only* converts the UNet, VAE, and Text Encoder.
# Does not convert optimizer state or any other thing.
# Written by jachiam
import argparse
import os.path as osp
import torch

Keybase proof

I hereby claim:

  • I am usermonk on github.
  • I am usermonk (https://keybase.io/usermonk) on keybase.
  • I have a public key ASAGWcRRCmSpTjd7hWwe6S2sNMr9OoSGCGjF8ayzEdwBFQo

To claim this, I am signing this object:

@usermonk
usermonk / glyphicon_font-awesome_convert.scss
Created December 31, 2018 01:20 — forked from blowsie/glyphicon_font-awesome_convert.scss
Map glyphicon icons to font-awesome
$fa-font-path: "~font-awesome/fonts";
@import '~font-awesome/scss/font-awesome';
.glyphicon {
@extend .fa;
&.glyphicon-chevron-up {
@extend .fa-chevron-up;
}
&.glyphicon-chevron-right {
@extend .fa-chevron-right;