This repository has been archived by the owner on Oct 8, 2024. It is now read-only.
The commands to convert from .ckpt to Onnx do not work #132
Unanswered
morpheuskibbe
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
"convert_stable_diffusion_checkpoint_to_onnx.py" does not apper to function correctly
It runs without error but the resulting files do not work for the diffuser. My first instance running into this was under the "Download Model and Convert to ONNX" section "Option 1" did not result in a functional situation, at least not when following the instructions as provided.
"Option 2" worked correctly and I am able to open the UI and generate images using the default stable diffusion model.
However the issue is that the same command in option 1 that didn't result in function is also the command called to convert 3rd party models from ckpt to onnx
Specifically:
python convert_original_stable_diffusion_to_diffusers.py --checkpoint_path="./name.ckpt" --dump_path="./name_diffusers"
python convert_stable_diffusion_checkpoint_to_onnx.py --model_path="./name_diffusers" --output_path="model/name_onnx"
results in a folder in models that does not contain things like the JSON file.
That files DOES exist in the diffusers folder, but moving the contents over doesn't solve the issue.
In any case as of now the current instructions do not function to convert cpkt properly. I would be happy if anyone could help me solve the issue.
Beta Was this translation helpful? Give feedback.
All reactions