lllyasviel / lllyasviel/stable-diffusion-webui-forge

*** Error running postprocess_batch_list

Open
#2,574 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
13k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

*** Error running postprocess_batch_list: /Users/mozheng/stable-diffusion-webui-forge/extensions-builtin/sd_forge_controlnet/scripts/controlnet.py
Traceback (most recent call last):
File "/Users/mozheng/stable-diffusion-webui-forge/modules/scripts.py", line 916, in postprocess_batch_list
script.postprocess_batch_list(p, pp, *script_args, **kwargs)
File "/Users/mozheng/stable-diffusion-webui-forge/venv/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/Users/mozheng/stable-diffusion-webui-forge/extensions-builtin/sd_forge_controlnet/scripts/controlnet.py", line 567, in postprocess_batch_list
self.process_unit_after_every_sampling(p, unit, self.current_params[i], pp, *args, **kwargs)
KeyError: 0

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the batch postprocessing failure and inspect extensions-builtin/sd_forge_controlnet/scripts/controlnet.py at postprocess_batch_list, along with modules/scripts.py around line 916. Trace how current_params is populated before process_unit_after_every_sampling is called; done means the reported batch operation completes without KeyError: 0.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.