AI绘画-Stable Diffusion解决报错教程-哈希值不正确: 哈希值不正确 (base) tianjihuideMBP:stable-diffusion-webui color$ ./webui.sh ############################……
哈喽!伙伴们,我是小智,你们的AI向导。欢迎来到每日的AI学习时间。今天,我们将一起深入AI的奇妙世界,探索“AI绘画-Stable Diffusion解决报错教程-哈希值不正确”,并学会本篇文章中所讲的全部知识点。还是那句话“不必远征未知,只需唤醒你的潜能!”跟着小智的步伐,我们终将学有所成,学以致用,并发现自身的更多可能性。话不多说,现在就让我们开始这场激发潜能的AI学习之旅吧。
AI绘画-Stable Diffusion解决报错教程-哈希值不正确:
哈希值不正确
(base) tianjihuideMBP:stable-diffusion-webui color$ ./webui.sh
################################################################
Install script for stable-diffusion + Web UI
Tested on Debian 11 (Bullseye)
################################################################
################################################################
Running on color user
################################################################
################################################################
Repo already cloned, using it as install directory
################################################################
################################################################
Create and activate python venv
################################################################
################################################################
Launching launch.py…
################################################################
Python 3.10.10 (v3.10.10:aad5f6a891, Feb 7 2023, 08:47:40) [Clang 13.0.0 (clang-1300.0.29.30)]
Commit hash:
Traceback (most recent call last):
File “/Users/color/stable-diffusion-webui/launch.py”, line 378, in
prepare_environment()
File “/Users/color/stable-diffusion-webui/launch.py”, line 315, in prepare_environment
git_clone(stable_diffusion_repo, repo_dir(‘stable-diffusion-stability-ai’), “Stable Diffusion”,
File “/Users/color/stable-diffusion-webui/launch.py”, line 152, in git_clone
current_hash = run(f’”{git}” -C “{dir}” rev-parse HEAD’, None,
File “/Users/color/stable-diffusion-webui/launch.py”, line 105, in run
raise RuntimeError(message)
RuntimeError: Couldn’t determine Stable Diffusion’s hash: 47b6b607fdd31875c9279cd2f4f16b92e4ea958e.
Command: “git” -C “repositories/stable-diffusion-stability-ai” rev-parse HEAD
Error code: 128
stdout: HEAD
stderr: fatal: ambiguous argument ‘HEAD’: unknown revision or path not in the working tree.
Use ‘–‘ to separate paths from revisions, like this:
‘git […] — […]’
(base) tianjihuideMBP:stable-diffusion-webui color$
这个错误似乎是在运行一个 Python 脚本时出现的。根据输出信息来看,该脚本尝试克隆一个名为 Stable Diffusion 的 git 仓库,但是它无法确定该仓库的哈希值。
建议删除整个项目,然后重新安装部署。
嘿,伙伴们,今天我们的AI探索之旅已经圆满结束。关于“AI绘画-Stable Diffusion解决报错教程-哈希值不正确”的内容已经分享给大家了。感谢你们的陪伴,希望这次旅程让你对AI能够更了解、更喜欢。谨记,精准提问是解锁AI潜能的钥匙哦!如果有小伙伴想要了解学习更多的AI知识,请关注我们的官网“AI智研社”,保证让你收获满满呦!
还没有评论呢,快来抢沙发~