stable-diffusion-webui-wd14-tagger icon indicating copy to clipboard operation
stable-diffusion-webui-wd14-tagger copied to clipboard

ValueError: Number of output components does not match number of values returned from from function f

Open Amber-Xxx opened this issue 2 years ago • 16 comments
trafficstars

Traceback (most recent call last): File "/Users/yjx/Desktop/SDAI/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 987, in postprocess_data if predictions[i] is components._Keywords.FINISHED_ITERATING: IndexError: tuple index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/yjx/Desktop/SDAI/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/routes.py", line 394, in run_predict output = await app.get_blocks().process_api( File "/Users/yjx/Desktop/SDAI/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1078, in process_api data = self.postprocess_data(fn_index, result["prediction"], state) File "/Users/yjx/Desktop/SDAI/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 991, in postprocess_data raise ValueError( ValueError: Number of output components does not match number of values returned from from function f

Amber-Xxx avatar Mar 28 '23 12:03 Amber-Xxx

me 2

raidenxu avatar Mar 31 '23 16:03 raidenxu

me 2

o0arthur0o avatar Apr 09 '23 13:04 o0arthur0o

Getting same on Mac M1 SD Web UI Local Installation

xcreateadmin avatar Apr 16 '23 03:04 xcreateadmin

Same error on mac m1

ghost avatar Apr 17 '23 16:04 ghost

I'm getting the exact same error when trying to use Deforum for the first time, but everything else works fine.

AI-Based-Businesses avatar Apr 20 '23 03:04 AI-Based-Businesses

same error on mac m2

ZhelenZ avatar Apr 26 '23 03:04 ZhelenZ

same error also

canoneosc70 avatar Apr 26 '23 20:04 canoneosc70

The same thing happened to me as well. I hope some genious to solve this.

Dice-ksan avatar Apr 27 '23 05:04 Dice-ksan

The same for me

Tedrer avatar Apr 27 '23 18:04 Tedrer

same

vjsaw avatar Apr 27 '23 23:04 vjsaw

samesies.... has there been a solution for this?

NiggyPop avatar Apr 28 '23 03:04 NiggyPop

Ok guys. I discovered that it is happen after out of memory in the GPU. Try to decrease the output resolution. That's in my area, hope it will help for u2.

Tedrer avatar Apr 28 '23 10:04 Tedrer

here my soltuion after a long period of searching , all what you have to do is change your model, here the link for the model https://civitai.com/images/293422?period=AllTime&sort=Most+Reactions&view=categories&modelVersionId=20937&modelId=11718&postId=78726

canoneosc70 avatar Apr 29 '23 12:04 canoneosc70

me2, i cant load anything from extension_available.

shiranui1994 avatar Apr 30 '23 03:04 shiranui1994

same on iMac with intel cpu

ojama avatar Apr 30 '23 12:04 ojama

same on iMac with intel cpu same here

lolpopkk avatar May 08 '23 14:05 lolpopkk