赞
踩
错误信息如下:
- venv "E:\AI\stable-diffusion-webui-master\venv\Scripts\Python.exe"
- fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
- Use '--' to separate paths from revisions, like this:
- 'git <command> [<revision>...] -- [<file>...]'
- 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: <none>
- Cloning Stable Diffusion XL into E:\AI\stable-diffusion-webui-master\repositories\generative-models...
- Cloning into 'E:\AI\stable-diffusion-webui-master\repositories\generative-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:\AI\stable-diffusion-webui-master\launch.py", line 48, in <module>
- main()
- File "E:\AI\stable-diffusion-webui-master\launch.py", line 39, in main
- prepare_environment()
- File "E:\AI\stable-diffusion-webui-master\modules\launch_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:\AI\stable-diffusion-webui-master\modules\launch_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:\AI\stable-diffusion-webui-master\modules\launch_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:\AI\stable-diffusion-webui-master\repositories\generative-models"
- Error code: 128
这是由于E:\AI\stable-diffusion-webui-master\repositories/grnerative-models克隆下载出现问题导致的。将该文件夹删除,重新运行webui-user.bat,当网络通畅的时候,会下载成功
- venv "E:\AI\stable-diffusion-webui-master\venv\Scripts\Python.exe"
- fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
- Use '--' to separate paths from revisions, like this:
- 'git <command> [<revision>...] -- [<file>...]'
- 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: <none>
- Cloning Stable Diffusion XL into E:\AI\stable-diffusion-webui-master\repositories\generative-models...
- Cloning into 'E:\AI\stable-diffusion-webui-master\repositories\generative-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.
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。