"vscode:/vscode.git/clone" did not exist on "39b6343dcf6e5aa23bbfe1121113d0771d2bc8a2"
Unverified Commit 039958ea authored by Suraj Patil's avatar Suraj Patil Committed by GitHub
Browse files

Stable diffusion text2img conversion script. (#154)



* begin text2img conversion script

* add fn to convert config

* create config if not provided

* update imports and use UNet2DConditionModel

* fix imports, layer names

* fix unet coversion

* add function to convert VAE

* fix vae conversion

* update main

* create text model

* update config creating logic for unet

* fix config creation

* update script to create and save pipeline

* remove unused imports

* fix checkpoint loading

* better name

* save progress

* finish

* up

* up
Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
parent d8b0e4f4
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment