Custom autoencoder: The popular WebUI has the script to load separate first_stage_model parameters. #3431
Unanswered
cibernicola
asked this question in
Q&A
Replies: 1 comment 1 reply
-
@cibernicola what is the vae trick? the renaming of model to .vae.pt? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
From trinart_characters_19.2m_stable_diffusion_v1
`Custom autoencoder
We also provide a separate checkpoint for the custom KL autoencoder. As suggested by the Latent Diffusion paper, we found that training the autoencoder and the latent diffusion model separately improves the result. Since the official stable diffusion script does not support loading the other VAE, in order to run it in your script, you'll need to override state_dict for first_stage_model.
The popular WebUI has the script to load separate first_stage_model parameters.`
https://huggingface.co/naclbit/trinart_characters_19.2m_stable_diffusion_v1
So.... any idea about how?
Found: the VAE trick, same as NAI.
Beta Was this translation helpful? Give feedback.
All reactions