Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Error occured while using some of the controlnet model #124

Answered by uchuusen
magicalz asked this question in Q&A
Discussion options

You must be logged in to vote

Ah, sorry about that, I guess I forgot to test those schedulers, since I mainly use DPMS, DEIS, or UniPC. I'll have a look at it.
For the the error message about cnet_image, you can work around that by checking the Don't preprocess image checkbox, but you'll have to get the preprocessed images yourself. It currently only supports Canny, Openpose, Scribble and Depth by default, but I'll see about getting the others in too. Should be an easy fix.
Edit:
Okay, here's a fix for the scheduler bug if you want to patch it locally. Open up pipeline_onnx_stable_diffusion_controlnet.py under the modules subdir and edit line 175 so it looks like this:
latents = latents * np.float64(self.scheduler.in…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@magicalz
Comment options

Answer selected by magicalz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants