volotat / SD-CN-Animation

This script allows to automate video stylization task using StableDiffusion and ControlNet.
MIT License
807 stars 62 forks source link

Index out of range when generating a video (latest commit) #96

Open Pychnight opened 1 year ago

Pychnight commented 1 year ago

Error save prompt file Traceback (most recent call last): File "D:\stable-diffusion-webui\extensions\sd-dynamic-prompts\sd_dynamic_prompts\callbacks.py", line 24, in on_save png_info = image_save_params.pnginfo["parameters"] KeyError: 'parameters' An exception occurred while trying to process the frame: list index out of range Traceback (most recent call last): File "D:\stable-diffusion-webui\extensions\SD-CN-Animation\scripts\base_ui.py", line 141, in process yield from txt2vid.start_process(*args) File "D:\stable-diffusion-webui\extensions\SD-CN-Animation\scripts\core\txt2vid.py", line 156, in start_process processed_frame = np.array(processed_frames[0]) IndexError: list index out of range

seems like the newest commit has a conflict with some of the drop down add-ons, even if i disable the add-ons this issue shows up.

i had removed the add-on below but the above issue is still happening. Traceback (most recent call last): File "D:\stable-diffusion-webui\extensions\sd-dynamic-prompts\sd_dynamic_prompts\callbacks.py", line 24, in on_save png_info = image_save_params.pnginfo["parameters"] KeyError: 'parameters' Error save prompt file Traceback (most recent call last): File "D:\stable-diffusion-webui\extensions\sd-dynamic-prompts\sd_dynamic_prompts\callbacks.py", line 24, in on_save png_info = image_save_params.pnginfo["parameters"]

this issue was different enough from issue 70. has a different cause, but might be related.

Wtaosa commented 1 year ago

yeah me too

alexmihaic commented 1 year ago

Same here...

Dimart1 commented 1 year ago

https://dimart.artstation.com понедельник, 15 мая 2023г., 11:25 +03:00 от alexmihaic @.*** :

Same here... — Reply to this email directly, view it on GitHub , or unsubscribe . You are receiving this because you are subscribed to this thread. Message ID: @ github . com>

darthzulder commented 1 year ago

In ControlNet settings, you need to uncheck the "Allow other script to control this extension". That works for me.

josephrocca commented 1 year ago

you need to uncheck the "Allow other script to control this extension"

Mine was already unchecked, but I tried checking it, and that fixed it

Enferlain commented 1 year ago

Yep, same issue, reticking controlnet allow other scripts to control +restarting ui helped, thanks

DrNothing42 commented 9 months ago

Same! Wow, thanks! Reddit was NO HELP with this. THIS was it! :):):)