Open yatoubusha opened 3 months ago
same here
same here
there are two methods this issue can be resolved.First,you can downgrade the diffusers version corresponding to diffusers==0.26.2 in the requirements.txt. Second,if you upgrade diffusers to updated version like 0.30.3, you should modify the code of
self.check_inputs(
prompt,
image,
callback_steps,
negative_prompt,
prompt_embeds,
negative_prompt_embeds,
controlnet_conditioning_scale,
control_guidance_start,
control_guidance_end,
callback_on_step_end_tensor_inputs,
)
located in pipelines/OmsDiffusionControlNetPipeline.py as below
self.check_inputs(
prompt,
image,
callback_steps,
negative_prompt,
prompt_embeds,
negative_prompt_embeds,
controlnet_conditioning_scale=controlnet_conditioning_scale,
control_guidance_start=control_guidance_start,
control_guidance_end=control_guidance_end,
callback_on_step_end_tensor_inputs=callback_on_step_end_tensor_inputs,
)
i print the type and value of controlnet_conditioning_scale before self.check_inputs, it is float tyle and the value equals 1.0, while the code still return this error? Is it possible that there is an issue with the version of the diffusers library?