Skip to content
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

Error occurred when executing WD14Tagger|pysssss: #58

Open
hasika001 opened this issue Jun 3, 2024 · 2 comments
Open

Error occurred when executing WD14Tagger|pysssss: #58

hasika001 opened this issue Jun 3, 2024 · 2 comments

Comments

@hasika001
Copy link

Cannot connect to host huggingface.co:443 ssl:default [指定的网络名不再可用。]

File "D:\SDnow\ComfyUI_FK_20240522\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\SDnow\ComfyUI_FK_20240522\ComfyUI\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\SDnow\ComfyUI_FK_20240522\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\SDnow\ComfyUI_FK_20240522\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\wd14tagger.py", line 200, in tag
tags.append(wait_for_async(lambda: tag(image, model, threshold, character_threshold, exclude_tags, replace_underscore, trailing_comma)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\SDnow\ComfyUI_FK_20240522\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\pysssss.py", line 214, in wait_for_async
loop.run_until_complete(run_async())
File "D:\SDnow\ComfyUI_FK_20240522\python_embeded\Lib\asyncio\base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "D:\SDnow\ComfyUI_FK_20240522\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\pysssss.py", line 204, in run_async
r = await async_fn()
^^^^^^^^^^^^^^^^
File "D:\SDnow\ComfyUI_FK_20240522\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\wd14tagger.py", line 55, in tag
await download_model(model_name, client_id, node)
File "D:\SDnow\ComfyUI_FK_20240522\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\wd14tagger.py", line 129, in download_model
await download_to_file(
File "D:\SDnow\ComfyUI_FK_20240522\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\pysssss.py", line 178, in download_to_file
async with session.get(url) as response:
File "D:\SDnow\ComfyUI_FK_20240522\python_embeded\Lib\site-packages\aiohttp\client.py", line 1197, in aenter
self._resp = await self.coro
^^^^^^^^^^^^^^^^
File "D:\SDnow\ComfyUI_FK_20240522\ComfyUI\custom_nodes\comfyui-mixlab-nodes_init
.py", line 438, in new_request
return await _original_request(self, method, url, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\SDnow\ComfyUI_FK_20240522\python_embeded\Lib\site-packages\aiohttp\client.py", line 581, in _request
conn = await self._connector.connect(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\SDnow\ComfyUI_FK_20240522\python_embeded\Lib\site-packages\aiohttp\connector.py", line 544, in connect
proto = await self._create_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\SDnow\ComfyUI_FK_20240522\python_embeded\Lib\site-packages\aiohttp\connector.py", line 944, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\SDnow\ComfyUI_FK_20240522\python_embeded\Lib\site-packages\aiohttp\connector.py", line 1257, in _create_direct_connection
raise last_exc
File "D:\SDnow\ComfyUI_FK_20240522\python_embeded\Lib\site-packages\aiohttp\connector.py", line 1226, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\SDnow\ComfyUI_FK_20240522\python_embeded\Lib\site-packages\aiohttp\connector.py", line 1033, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc

@bejaranoo
Copy link

manually download the model with your browser from here:
https://huggingface.co/SmilingWolf/wd-v1-4-convnext-tagger-v2/resolve/main/model.onnx?download=true

change its name to "wd-v1-4-moat-tagger-v2.onnx" and replace the one in \ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\models

@neozbr
Copy link

neozbr commented Jul 24, 2024

how to skip the download ? i've alredy put the model and everything from the folder and then when get to the node , it start to download again from the zero and cause the error!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants