国产精品天干天干,亚洲毛片在线,日韩gay小鲜肉啪啪18禁,女同Gay自慰喷水

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

Stable Diffusion WebUI下載repositories超時的問題

2023-04-25 21:34 作者:哂哂哩哩  | 我要投稿

一開始的安裝我就不說了,有空去看我之前的那篇:https://www.bilibili.com/read/cv22932989

異常問題:超時下載資源

下載資源文件報(bào)錯異常,例如:

Python 3.10.10 (main, Feb 16 2023, 02:49:39) [Clang 14.0.0 (clang-1400.0.29.202)]

Commit hash: 22bcc7be428c94e9408f589966c2040187245d81

Cloning Stable Diffusion into /Users/mac/my-project/stable-diffusion-webui/repositories/stable-diffusion-stability-ai...

Cloning Taming Transformers into /Users/mac/my-project/stable-diffusion-webui/repositories/taming-transformers...

Traceback (most recent call last):

? File "/Users/mac/my-project/stable-diffusion-webui/launch.py", line 355, in <module>

? ? prepare_environment()

? File "/Users/mac/my-project/stable-diffusion-webui/launch.py", line 289, in prepare_environment

? ? git_clone(taming_transformers_repo, repo_dir('taming-transformers'), "Taming Transformers", taming_transformers_commit_hash)

? File "/Users/mac/my-project/stable-diffusion-webui/launch.py", line 151, in git_clone

? ? run(f'"{git}" clone "{url}" "{dir}"', f"Cloning {name} into {dir}...", f"Couldn't clone {name}")

? File "/Users/mac/my-project/stable-diffusion-webui/launch.py", line 97, in run

? ? raise RuntimeError(message)

RuntimeError: Couldn't clone Taming Transformers.

Command: "git" clone "https://ghproxy.com/https://github.com/CompVis/taming-transformers.git" "/Users/mac/my-project/stable-diffusion-webui/repositories/taming-transformers"

Error code: 128

stdout: <empty>

stderr: 正克隆到 '/Users/mac/my-project/stable-diffusion-webui/repositories/taming-transformers'...

錯誤:RPC 失敗。curl 56 Recv failure: Connection reset by peer

錯誤:預(yù)期仍然需要 5787 個字節(jié)的正文

fetch-pack: unexpected disconnect while reading sideband packet

致命錯誤:過早的文件結(jié)束符(EOF)

致命錯誤:fetch-pack:無效的 index-pack 輸出

由于異常我們可以發(fā)現(xiàn)它是下載倉庫資源,導(dǎo)致下載失敗。

就算我們把項(xiàng)目下launch.py文件中的下載地址改了,但有時候還是會很慢甚至超時,所以這里我們可以手動下載資源文件。

我們先確定我需要下載幾個資源文件包

步驟如下:

  1. 先找到項(xiàng)目下的這個倉庫文件夾repositories(路徑看我上文截圖),然后你右擊鼠標(biāo)進(jìn)入命令終端窗口。執(zhí)行命令的路徑一定不要錯哦

  2. 依次執(zhí)行如下命令:

    (1)輸入git clone https://github.com/Stability-AI/stablediffusion.git

    (2)輸入git clone https://github.com/CompVis/taming-transformers.git

    (3)輸入git clone https://github.com/crowsonkb/k-diffusion.git

    (4)輸入git clone https://github.com/sczhou/CodeFormer.git

    (5)輸入git clone https://github.com/salesforce/BLIP.git

命令操作如下:

5個命令執(zhí)行完后之后,在repositories文件中就會下載生成對應(yīng)的5個資源包了,我們這時再去啟動項(xiàng)目就不會再去下下載文件,接下來它就會順利的啟動完成了。


Stable Diffusion WebUI下載repositories超時的問題的評論 (共 條)

分享到微博請遵守國家法律
灵山县| 安庆市| 印江| 昭苏县| 甘南县| 华蓥市| 舞钢市| 眉山市| 崇阳县| 靖安县| 长汀县| 松原市| 乐安县| 通许县| 河津市| 崇阳县| 浏阳市| 双辽市| 迭部县| 江陵县| 鸡东县| 子长县| 仁寿县| 札达县| 清河县| 那坡县| 巴楚县| 彭泽县| 龙州县| 包头市| 陵川县| 张掖市| 九台市| 玛多县| 怀仁县| 启东市| 上思县| 彩票| 金溪县| 秦皇岛市| 腾冲县|