错误信息如下:
venv "E:AIstable-diffusion-webui-mastervenvScriptsPython.exe"
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git [...] -- [...]'
fatal: No names found, cannot describe anything.
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: 1.9.4
Commit hash:
Cloning Stable Diffusion XL into E:AIstable-diffusion-webui-masterrepositoriesgenerative-models...
Cloning into 'E:AIstable-diffusion-webui-masterrepositoriesgenerative-models'...
remote: Enumerating objects: 941, done.
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
error: 585 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
Traceback (most recent call last):
File "E:AIstable-diffusion-webui-masterlaunch.py", line 48, in
main()
File "E:AIstable-diffusion-webui-masterlaunch.py", line 39, in main
prepare_environment()
File "E:AIstable-diffusion-webui-mastermoduleslaunch_utils.py", line 412, in prepare_environment
git_clone(stable_diffusion_xl_repo, repo_dir('generative-models'), "Stable Diffusion XL", stable_diffusion_xl_commit_hash)
File "E:AIstable-diffusion-webui-mastermoduleslaunch_utils.py", line 191, in git_clone
run(f'"{git}" clone --config core.filemode=false "{url}" "{dir}"', f"Cloning {name} into {dir}...", f"Couldn't clone {name}", live=True)
File "E:AIstable-diffusion-webui-mastermoduleslaunch_utils.py", line 115, in run
raise RuntimeError("n".join(error_bits))
RuntimeError: Couldn't clone Stable Diffusion XL.
Command: "git" clone --config core.filemode=false "https://github.com/Stability-AI/generative-models.git" "E:AIstable-diffusion-webui-masterrepositoriesgenerative-models"
Error code: 128
这是由于E:AIstable-diffusion-webui-masterrepositories/grnerative-models克隆下载出现问题导致的。将该文件夹删除,重新运行webui-user.bat,当网络通畅的时候,会下载成功
venv "E:AIstable-diffusion-webui-mastervenvScriptsPython.exe"
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git [...] -- [...]'
fatal: No names found, cannot describe anything.
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: 1.9.4
Commit hash:
Cloning Stable Diffusion XL into E:AIstable-diffusion-webui-masterrepositoriesgenerative-models...
Cloning into 'E:AIstable-diffusion-webui-masterrepositoriesgenerative-models'...
remote: Enumerating objects: 941, done.
remote: Total 941 (delta 0), reused 0 (delta 0), pack-reused 941
Receiving objects: 100% (941/941), 43.85 MiB | 2.81 MiB/s, done.
文章来源于互联网:部署stable-diffusion时遇到RuntimeError: Couldn‘t clone Stable Diffusion XL.问题
相关推荐: 利用Stable Diffusion AI图像模型评估智能车模型算法表现(下篇)
今天小李哥将介绍亚马逊云科技的Jupyter Notebook机器学习托管服务Amazon SageMaker上,通过AI图像生成模型Stable Diffusion Upscale和Depth、向量知识库和LangChain Agent,生成用于AI 智能车…
5bei.cn大模型教程网










