picobyte / stable-diffusion-webui-wd14-tagger

Labeling extension for Automatic1111's Web UI
539 stars 64 forks source link

It's can't work,my CUDA is v12.1 #90

Open xlibfly opened 7 months ago

xlibfly commented 7 months ago

Traceback (most recent call last): File "D:\miaoshouai-sd-webui-v230222full\python\lib\site-packages\gradio\routes.py", line 488, in run_predict output = await app.get_blocks().process_api( File "D:\miaoshouai-sd-webui-v230222full\python\lib\site-packages\gradio\blocks.py", line 1434, in process_api data = self.postprocess_data(fn_index, result["prediction"], state) File "D:\miaoshouai-sd-webui-v230222full\python\lib\site-packages\gradio\blocks.py", line 1297, in postprocess_data self.validate_outputs(fn_index, predictions) # type: ignore File "D:\miaoshouai-sd-webui-v230222full\python\lib\site-packages\gradio\blocks.py", line 1272, in validate_outputs raise ValueError( ValueError: An event handler (on_interrogate_image_submit) didn't receive enough output values (needed: 7, received: 3). 提示:Python 运行时抛出了一个异常。请检查疑难解答页面。 Wanted outputs: [state, html, html, label, label, label, html] Received outputs: [None, "", "

RuntimeError: D:\a_work\1\s\onnxruntime\python\onnxruntime_pybind_state.cc:743 onnxruntime::python::CreateExecutionProviderInstance CUDA_PATH is set but CUDA wasn't able to be loaded. Please install the correct version of CUDA and cuDNN as mentioned in the GPU requirements page (https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html#requirements), make sure they're in the PATH, and that your GPU is supported.

Time taken: 1.1 sec.

A: 2.20 GB, R: 2.28 GB, Sys: 3.4/16 GB (21.4%)

"]

MinagiCN commented 6 months ago

same here

UnsleepingCat commented 6 months ago

me too.

s567901 commented 6 months ago

me too, torch: 2.1.1+cu121

Zolilio commented 4 months ago

I have the same problem

Zolilio commented 4 months ago

I've tried to used WD14 in the Data Editor extension (https://github.com/toshiaki1729/stable-diffusion-webui-dataset-tag-editor) and for some reason it works for me.

Mike1932 commented 3 months ago

same, torch: 2.1.2+cu121

Mike1932 commented 3 months ago

I've tried to used WD14 in the Data Editor extension (https://github.com/toshiaki1729/stable-diffusion-webui-dataset-tag-editor) and for some reason it works for me.

It still doesn’t work, showing the same error.

nitinmukesh commented 2 months ago

Same error. Any solution?

COMFUCAS commented 2 months ago

cuda12.3-->12.1 same erro

nitinmukesh commented 1 month ago

Same error, no solution :(

qooyvonne commented 1 month ago

same here QQ

qooyvonne commented 1 month ago

By downloading this version https://github.com/67372a/stable-diffusion-webui-wd14-tagger I solved my problem

Mike1932 commented 1 month ago

After I removed the local CUDA Toolkit, Tagger ran successfully.