toriato / stable-diffusion-webui-wd14-tagger

Labeling extension for Automatic1111's Web UI
1.34k stars 235 forks source link

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

Open Amber-Xxx opened 1 year ago

Amber-Xxx commented 1 year ago

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

raidenxu commented 1 year ago

me 2

o0arthur0o commented 1 year ago

me 2

xcreateadmin commented 1 year ago

Getting same on Mac M1 SD Web UI Local Installation

ghost commented 1 year ago

Same error on mac m1

AI-Based-Businesses commented 1 year ago

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

ZhelenZ commented 1 year ago

same error on mac m2

canoneosc70 commented 1 year ago

same error also

Dice-ksan commented 1 year ago

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

Tedrer commented 1 year ago

The same for me

vjsaw commented 1 year ago

same

NiggyPop commented 1 year ago

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

Tedrer commented 1 year ago

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.

canoneosc70 commented 1 year ago

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

shiranui1994 commented 1 year ago

me2, i cant load anything from extension_available.

ojama commented 1 year ago

same on iMac with intel cpu

lolpopkk commented 1 year ago

same on iMac with intel cpu same here