-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IndexError: list index out of range #19
Comments
I sometimes get this error when I click on generate if there is a syntax error in my negative prompt, eg a stray colon |
I am getting this error using img2img when I choose Generate. File "C:\Users\ready\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 337, in run_predict File "C:\Users\ready\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1013, in process_api File "C:\Users\ready\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 911, in preprocess_data File "C:\Users\ready\stable-diffusion-webui\venv\lib\site-packages\gradio\components.py", line 1492, in preprocess File "C:\Users\ready\stable-diffusion-webui\venv\lib\site-packages\gradio\processing_utils.py", line 53, in decode_base64_to_image IndexError: list index out of range |
can you pre
can you reproduce this with a simple one word prompt like 'house'? and no negative prompt? |
So I play around with a1111 alot and can attest that this error gets thrown for a range of reasons.
I will add more if other solutions come to mind and if there is interest in this. |
My issues may have stemmed from a faulty m.2 SSD (Samsung 980 Pro). I replaced the drive last week and am able to generate it now without this particular error. Thank you for the replies. :) |
I am Apple's m2, and I use the latest version of stable-diffusion-webui.
|
I've gotten this error too. But check your prompts. An unclosed paranthesis with :1.1 can cause this error. Example: (chair, bedroom:1.1. As a best-practice, or for error checking, remove prompts until you find out what's causing the error. |
Had this error myself (which led me here). Solved by closed my browser window for Automatic1111 and re-launching it. |
Already up to date.
venv "D:\SUPER-SD\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.7 (tags/v3.10.7:6cc6b13, Sep 5 2022, 14:08:36) [MSC v.1933 64 bit (AMD64)]
Commit hash: 7edd58d90dd08f68fab5ff84d26dedd0eb85cae3
Installing requirements for Web UI
Launching Web UI with arguments: --share
Traceback (most recent call last):
File "D:\SUPER-SD\stable-diffusion-webui\launch.py", line 169, in
start_webui()
File "D:\SUPER-SD\stable-diffusion-webui\launch.py", line 164, in start_webui
webui.webui()
File "D:\SUPER-SD\stable-diffusion-webui\webui.py", line 101, in webui
demo = modules.ui.create_ui(wrap_gradio_gpu_call=wrap_gradio_gpu_call)
File "D:\SUPER-SD\stable-diffusion-webui\modules\ui.py", line 925, in create_ui
extras_upscaler_1 = gr.Radio(label='Upscaler 1', choices=[x.name for x in shared.sd_upscalers], value=shared.sd_upscalers[0].name, type="index")
IndexError: list index out of range
The text was updated successfully, but these errors were encountered: