This repository has been archived by the owner on Oct 8, 2024. It is now read-only.
ValueError - OnnxUI doesn't generate images with converted Waifu Diffusion model #30
GitThirteen
started this conversation in
General
Replies: 2 comments
-
Update: No idea what went wrong yesterday, but I just did everything again including the changes in the newest pull request by averad and it's working perfectly fine now. (Had to edit the setup.bat a bit so it wouldn't override the changes on -update) Amazing project! |
Beta Was this translation helpful? Give feedback.
0 replies
-
You're correct. There was a change in the conversion scripts between v0.5.1 and v0.6.0. You need to reconvert the models using diffusers v0.6.0. It seems like you got it to work in the end. BTW waifu diffusion v1.3 has a diffusers version as well as a .ckpt. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Good morning/afternoon/evening,
I have been trying to get OnnxUI to work with waifu diffusion v1.3, and even though I (somehow) managed to convert the initial .ckpt into an onnx, the console is shouting the following at me after I click on Generate in the GUI:
Comparing the provided modules to the expected ones the 'vae_encoder' seems to be missing.
I did have to use diffusers 0.5.1 with an older version of the diffusers -> onnx script to convert without errors, so my theory is that it might have something to do with some change that occurred between diffusers v0.5.1 and v0.6.0 (especially as pulling the regular, pre-packed diffusion model and using it via the GUI works perfectly fine). I was hoping that it would at least work with 0.5.1, but the GUI doesn't like that version.
Working on Windows 11 with 32 GB RAM and an RX580 with 8 GB VRAM.
The waifu diffusion model: https://huggingface.co/hakurei/waifu-diffusion-v1-3/blob/main/wd-v1-3-float32.ckpt
Appreciate any ideas on how to make this work.
Beta Was this translation helpful? Give feedback.
All reactions