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

2022-09-11 22:13:06 +08:00
 myneodream
点击“生成”后提示如下错误,麻烦大家帮忙看看如何解决,谢谢:

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
1548 次点击
所在节点    macOS
1 条回复
discrete
2022-09-12 07:12:46 +08:00
这不是写着么,下载的时 SSL 证书出错了。给你的命令行环境翻个墙吧。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/879341

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX