Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[help] Model is 1.60 GB. Model type identified as UNET-v1-BROKEN. Model components are: UNET-v1-SD. #40

Open
zethfoxster opened this issue Sep 24, 2023 · 6 comments

Comments

@zethfoxster
Copy link

I know you can replace a vae, but is there any way to fix this?

@Samael-1976
Copy link

same problem here!

@zethfoxster
Copy link
Author

a solution is to combine a model that has a working unet at a very very small ratio as model A...and this as model broken one at model B....it keeps the working unet

@QinCaii
Copy link

QinCaii commented Oct 2, 2023

same here,
The training script does not require a vae to be merged, and each checkpoint is BROKEN after the training, I wonder how this came about.

@arenasys
Copy link
Owner

arenasys commented Oct 2, 2023

Im guessing its a checkpoint that only contains a UNET, If thats the case you need to get a VAE and CLIP from an intact checkpoint.

Load the intact checkpoint, then import the UNET from your broken checkpoint, then save it under a new name. (Similar procedure to replacing a VAE, but its the UNET). Should work.

@QinCaii
Copy link

QinCaii commented Oct 2, 2023

Im guessing its a checkpoint that only contains a UNET, If thats the case you need to get a VAE and CLIP from an intact checkpoint.

Load the intact checkpoint, then import the UNET from your broken checkpoint, then save it under a new name. (Similar procedure to replacing a VAE, but its the UNET). Should work.

Your suggestion is correct, I got UNET and VAE from the checkpoint after training instead of using the VAE from base model, but it still works.

@QinCaii
Copy link

QinCaii commented Oct 2, 2023

Whether using VAE in the base model or the BROKEN checkpoint, the final result has the same hash value.
So.. maybe it didn't include a VAE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants