V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
myneodream
V2EX  ›  macOS

Stable Diffusion Apple Silicon 懒人包 Charl-E 报错

  •  
  •   myneodream · 2022-09-11 22:13:06 +08:00 · 1581 次点击
    这是一个创建于 839 天前的主题,其中的信息可能已经有所发展或是发生改变。
    点击“生成”后提示如下错误,麻烦大家帮忙看看如何解决,谢谢:

    CHARL-E
    21:42:42
    * File "urllib/request.py", line 1391, in https_open File "urllib/request.py", line 1351, in do_open urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)> [8995] Failed to execute script 'txt2img' due to unhandled exception!
    * File "http/client.py", line 975, in send File "http/client.py", line 1454, in connect File "ssl.py", line 513, in wrap_socket File "ssl.py", line 1071, in _create File "ssl.py", line 1342, in do_handshake
    * File "http/client.py", line 1282, in request File "http/client.py", line 1328, in _send_request File "http/client.py", line 1277, in endheaders File "http/client.py", line 1037, in _send_output
    * Traceback (most recent call last): File "urllib/request.py", line 1348, in do_open
    * Downloading: "https://github.com/DagnyT/hardnet/raw/master/pretrained/train_liberty_with_aug/checkpoint_liberty_with_aug.pth" to /Users/dengxinrong/.cache/torch/hub/checkpoints/checkpoint_liberty_with_aug.pth
    * torch/_jit_internal.py:751: UserWarning: Unable to retrieve source for @torch.jit._overload function: <function _DenseLayer.forward at 0x1557fb760>. warnings.warn(f"Unable to retrieve source for @torch.jit._overload function: {func}.")
    * torch/_jit_internal.py:751: UserWarning: Unable to retrieve source for @torch.jit._overload function: <function _DenseLayer.forward at 0x1557fb5b0>. warnings.warn(f"Unable to retrieve source for @torch.jit._overload function: {func}.")
    * torchvision/io/image.py:13: UserWarning: Failed to load image Python extension:
    * [8993] WARNING: file already exists but should not: /var/folders/vy/rcg0l03n3fgfcdcrylfgdc3m0000gn/T/_MEI4ASBsV/torch/_dl.cpython-310-darwin.so
    * [8993] WARNING: file already exists but should not: /var/folders/vy/rcg0l03n3fgfcdcrylfgdc3m0000gn/T/_MEI4ASBsV/torch/_C_flatbuffer.cpython-310-darwin.so
    * [8993] WARNING: file already exists but should not: /var/folders/vy/rcg0l03n3fgfcdcrylfgdc3m0000gn/T/_MEI4ASBsV/torch/_C.cpython-310-darwin.so
    * [8993] WARNING: file already exists but should not: /var/folders/vy/rcg0l03n3fgfcdcrylfgdc3m0000gn/T/_MEI4ASBsV/pyarrow/lib.cpython-310-darwin.so
    * [8990] WARNING: file already exists but should not: /var/folders/vy/rcg0l03n3fgfcdcrylfgdc3m0000gn/T/_MEIrDn2mz/torch/_dl.cpython-310-darwin.so
    * [8990] WARNING: file already exists but should not: /var/folders/vy/rcg0l03n3fgfcdcrylfgdc3m0000gn/T/_MEIrDn2mz/torch/_C_flatbuffer.cpython-310-darwin.so
    * [8990] WARNING: file already exists but should not: /var/folders/vy/rcg0l03n3fgfcdcrylfgdc3m0000gn/T/_MEIrDn2mz/torch/_C.cpython-310-darwin.so
    * [8990] WARNING: file already exists but should not: /var/folders/vy/rcg0l03n3fgfcdcrylfgdc3m0000gn/T/_MEIrDn2mz/pyarrow/lib.cpython-310-darwin.so
    1 条回复    2022-09-12 07:12:46 +08:00
    discrete
        1
    discrete  
       2022-09-12 07:12:46 +08:00
    这不是写着么,下载的时 SSL 证书出错了。给你的命令行环境翻个墙吧。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2599 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 11:03 · PVG 19:03 · LAX 03:03 · JFK 06:03
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.