showlab / X-Adapter

[CVPR 2024] X-Adapter: Adding Universal Compatibility of Plugins for Upgraded Diffusion Model
https://showlab.github.io/X-Adapter/
Apache License 2.0
728 stars 43 forks source link

IndexError: index 51 is out of bounds for dimension 0 with size 51 #12

Closed kadirnar closed 7 months ago

kadirnar commented 7 months ago

Code:

python inference.py --plugin_type "lora" --prompt "masterpiece, best quality, ultra detailed, 1 girl , solo, smile, looking at viewer, holding flowers"  --prompt_sd1_5 "masterpiece, best quality, ultra detailed, 1 girl, solo, smile, looking at viewer, holding flowers, shuimobysim, wuchangshuo, bonian, zhenbanqiao, badashanren" --adapter_guidance_start_list 0.7 --adapter_condition_scale_list 1.00 --seed 3943946911

Error Message:

packages\diffusers\schedulers\scheduling_dpmsolver_multistep.py", line 649, in multistep_dpm_solver_second_order_update
    self.sigmas[self.step_index + 1],
IndexError: index 51 is out of bounds for dimension 0 with size 51
Semolce9 commented 7 months ago

Hi! Can you provide your diffusers version and LoRA you are using? Also in which line this error occurs?

kadirnar commented 7 months ago

I did pip install -r req.txt and the error was resolved. It may be giving errors with the current diffusers version.

s1ntecs commented 5 months ago

I did pip install -r req.txt and the error was resolved. It may be giving errors with the current diffusers version.

please tell me, how did you deal with this error?