volotat / SD-CN-Animation

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

Setting the scripts throws an "IndexError: list index out of range" #169

Open Starzilla29 opened 1 year ago

Starzilla29 commented 1 year ago

Maybe this should be added to the IndexError issue in general. However, I find specifically when I try to use alternative test script on this it will throw the index error after running the first frame. That's unfortunate because I figure video coherency can be vastly improved in alternative test since the noise created from that is based on the actual images lending to more consistent noise which should, in theory, help with coherence. It might just be that this extension doesn't support the scripts at all. This seems easy to reproduce, it's as easy as default settings and then just turning the scripts on to alternative img2img, I will have to try some other scripts to learn more. Here is the traceback:

100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:15<00:00, 1.28it/s] 100%|██████████████████████████████████████████████████████████████████████████████████| 16/16 [00:15<00:00, 1.00it/s] Total progress: 50%|█████████████████████████████████ | 16/32 [00:15<00:15, 1.03it/s] An exception occurred while trying to process the frame: list index out of range | 16/32 [00:15<00:14, 1.10it/s] Traceback (most recent call last): File "D:\Work\corridor\stable-diffusion-webui\extensions\SD-CN-Animation\scripts\base_ui.py", line 144, in process yield from vid2vid.start_process(*args) File "D:\Work\corridor\stable-diffusion-webui\extensions\SD-CN-Animation\scripts\core\vid2vid.py", line 113, in start_process processed_frame = np.array(processed_frames[0])[...,:3] IndexError: list index out of range