[StaD] 安裝時遇到無法決定hash
就是安裝的時候遇到很多問題,查過 reddit 也問過 chatgpt 了。
可是還是無法解決。
我自己的電腦是都裝得好好的,可是幫人裝卻遇到很大障礙。
裝置配備大概是 i7-12700F + 3060Ti + 512G SSD。
不過 SSD 之前分割硬碟過,現在看起來是 428G。
真的很想幫他裝起來,有人有解法嗎?
以下是跑 webui-user.bat 的結果。
venv "D:\Stable Diffusion\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.7 (tags/v3.10.7:6cc6b13, Sep 5 2022, 14:08:36) [MSC v.1933 64
bit (AMD64)]
Commit hash: <none>
Traceback (most recent call last):
File "D:\Stable Diffusion\stable-diffusion-webui\launch.py", line 360, in
<module>
prepare_environment()
File "D:\Stable Diffusion\stable-diffusion-webui\launch.py", line 300, in
prepare_environment
git_clone(stable_diffusion_repo,
repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion",
stable_diffusion_commit_hash)
File "D:\Stable Diffusion\stable-diffusion-webui\launch.py", line 151, in
git_clone
current_hash = run(f'"{git}" -C "{dir}" rev-parse HEAD', None, f"Couldn't
determine {name}'s hash: {commithash}").strip()
File "D:\Stable Diffusion\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: <empty>
stderr: fatal: detected dubious ownership in repository at 'D:/Stable
Diffusion/stable-diffusion-webui/repositories/stable-diffusion-stability-ai'
'D:/Stable
Diffusion/stable-diffusion-webui/repositories/stable-diffusion-stability-ai'
is on a file system that doesnot record ownership
To add an exception for this directory, call:
git config --global --add safe.directory 'D:/Stable
Diffusion/stable-diffusion-webui/repositories/stable-diffusion-stability-ai'
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 220.129.54.146 (臺灣)
※ 文章網址: https://www.ptt.cc/bbs/AI_Art/M.1678374376.A.80F.html
→
03/09 23:41,
1年前
, 1F
03/09 23:41, 1F
→
03/10 00:03,
1年前
, 2F
03/10 00:03, 2F
推
03/10 04:30,
1年前
, 3F
03/10 04:30, 3F
→
03/10 09:09,
1年前
, 4F
03/10 09:09, 4F
推
03/10 15:12,
1年前
, 5F
03/10 15:12, 5F
→
03/10 23:15,
1年前
, 6F
03/10 23:15, 6F
C:\Users\oneda>git config --global --add safe.directory
error: wrong number of arguments, should be 2
usage: git config [<options>]
還是在說變數要兩個。真的不懂。
※ 編輯: Gadi (1.162.239.57 臺灣), 03/11/2023 02:04:08
推
03/11 11:29,
1年前
, 7F
03/11 11:29, 7F
→
03/11 13:35,
1年前
, 8F
03/11 13:35, 8F
→
03/11 13:36,
1年前
, 9F
03/11 13:36, 9F
→
03/11 21:39,
1年前
, 10F
03/11 21:39, 10F
→
03/11 21:40,
1年前
, 11F
03/11 21:40, 11F