stablediffusion吧 关注:27,813贴子:96,345
  • 7回复贴,共1

关于HF Mirror这个网站下载不了怎么解决

只看楼主收藏回复

HF Mirror找到文件要下载,但是点进去无法显示此网页
网站连接超时,错误代码 ERR_CONNECTION_TIMED_OUT


IP属地:福建1楼2024-10-07 16:18回复

    整合包怎么在python执行这行命令


    IP属地:福建2楼2024-10-07 16:30
    收起回复

      下载命令huggingface-cli download [模型ID] --local-dir [本地目录]
      huggingface-cli download --resume-download merve/sam2-hiera-base-plus --local-dir F:\
      结果前两个几KB文件下载完成,第三个最大的文件出错
      urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x00000211738D34F0>: Failed to establish a new connection: [WinError 10049] 在其上下文中,该请求的地址无效。
      The above exception was the direct cause of the following exception:
      Traceback (most recent call last):
      File "F:\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\python\tutorial_env\lib\site-packages\requests\adapters.py", line 667, in send
      resp = conn.urlopen(
      File "F:\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\python\tutorial_env\lib\site-packages\urllib3\connectionpool.py", line 843, in urlopen
      retries = retries.increment(
      File "F:\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\python\tutorial_env\lib\site-packages\urllib3\util\retry.py", line 519, in increment
      raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
      urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='cdn-lfs-us-1.hf-mirror.com', port=443): Max retries exceeded with url: /repos/33/a2/33a217d604e00f1b708a7491ccc3cd5e56332d3a7c0da8319868f2296b19cfaf/d0bb7f236400a49669ffdd1be617959a8b1d1065081789d7bbff88eded3a8071?response-content-disposition=inline%3B+filename*%3DUTF-8%27%27sam2_hiera_base_plus.pt%3B+filename%3D%22sam2_hiera_base_plus.pt%22%3B&Expires=1728593002&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcyODU5MzAwMn19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy11cy0xLmhmLmNvL3JlcG9zLzMzL2EyLzMzYTIxN2Q2MDRlMDBmMWI3MDhhNzQ5MWNjYzNjZDVlNTYzMzJkM2E3YzBkYTgzMTk4NjhmMjI5NmIxOWNmYWYvZDBiYjdmMjM2NDAwYTQ5NjY5ZmZkZDFiZTYxNzk1OWE4YjFkMTA2NTA4MTc4OWQ3YmJmZjg4ZWRlZDNhODA3MT9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPSoifV19&Signature=QWK3ZW~w3oHd36PxAT5cbY2AiUsclTYvlnfbBfNnKSXoJuDlpk8SzHvpdrTRftHhzgEZIRAWBZE6mfQTzb4IL68PQUKqH7u0VPGqRDFk7AMoMqbOc22gQd-roKqla8ye-tX~NfvrFUnVA74PLXEcI2PkL299xV1X3buAf5YBJM5ujdnoxs~k~NvmO7pwuMQzFp54EewBWPDZ6O~g7LxA~zyaFobLmHEflXeWs1oGyXXn~Ilo4GDb9-lBwLzQNcS9BUyDfqeB0gBPx9POeU9m7v0XaJrXQgLSD1FydCBH0b2TR6kccyJ~rIDEimCEdGyBv5MXxEztcAwBlmnBxE74TA__&Key-Pair-Id=K24J24Z295AEI9 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x00000211738D34F0>: Failed to establish a new connection: [WinError 10049] 在其上下文中,该请求的地址无效。'))


      IP属地:福建4楼2024-10-08 04:53
      收起回复