pythongosssss / ComfyUI-WD14-Tagger

A ComfyUI extension allowing for the interrogation of booru tags from images.
MIT License
597 stars 70 forks source link

Error occurred when executing WD14Tagger|pysssss: #58

Open hasika001 opened 4 months ago

hasika001 commented 4 months ago

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 _createconnection , 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 commented 3 months ago

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 commented 2 months ago

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!!