Skip to content

自动下载模型300秒超时问题 #115

@chaoscloudcn

Description

@chaoscloudcn
使用VPN下载模型默认300秒后,如果没下载完,就出报错。

最大的模型 wd-eva02-large-tagger-v3.onnx 下载始终报错
我手动下载复制 ComfyUI\custom_nodes\ComfyUI-WD14-Tagger\models 下,系统无法识别,还是自动下载,进入死循环

wd14tagger.py文件中

#async with aiohttp.ClientSession(loop=asyncio.get_event_loop()) as session:
timeout = aiohttp.ClientTimeout(total=1200) # 允许最长下载20分钟
print(f"[WD14Tagger] Starting download of {model} (timeout={timeout.total} seconds)")
async with aiohttp.ClientSession(timeout=timeout, loop=asyncio.get_event_loop()) as session:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions