@Colter23
这个报错还有下面一截
Traceback (most recent call last):
File "E:\Git here\stable-diffusion-webui\launch.py", line 171, in <module>
start_webui()
File "E:\Git here\stable-diffusion-webui\launch.py", line 166, in start_webui
webui.webui()
File "E:\Git here\stable-diffusion-webui\webui.py", line 92, in webui
initialize()
File "E:\Git here\stable-diffusion-webui\webui.py", line 85, in initialize
shared.sd_model = modules.sd_models.load_model()
File "E:\Git here\stable-diffusion-webui\modules\sd_models.py", line 190, in load_model
load_model_weights(sd_model, checkpoint_info)
File "E:\Git here\stable-diffusion-webui\modules\sd_models.py", line 140, in load_model_weights
if "global_step" in pl_sd:
TypeError: argument of type 'NoneType' is not iterable
954386273 发布的最新帖子
-
RE: 本地搭建NovelAi (免费的色图生成器,可用colab在线运行)
-
RE: 本地搭建NovelAi (免费的色图生成器,可用colab在线运行)
@Colter23
Downloading: 100%|███████████████████████████████████████████████████████████████| 1.59G/1.59G [1:06:18<00:00, 430kB/s]
Loading weights [e6e8e1fc] from E:\Git here\stable-diffusion-webui\models\Stable-diffusion\model.ckpt
Error verifying pickled file from E:\Git here\stable-diffusion-webui\models\Stable-diffusion\model.ckpt:
Traceback (most recent call last):
File "E:\Git here\stable-diffusion-webui\modules\safe.py", line 97, in load
check_pt(filename)
File "E:\Git here\stable-diffusion-webui\modules\safe.py", line 81, in check_pt
unpickler.load()
File "E:\Git here\stable-diffusion-webui\venv\lib\site-packages\torch_utils.py", line 138, in _rebuild_tensor_v2
tensor = _rebuild_tensor(storage, storage_offset, size, stride)
File "E:\Git here\stable-diffusion-webui\venv\lib\site-packages\torch_utils.py", line 134, in rebuild_tensor
return t.set(storage._untyped(), storage_offset, size, stride)
RuntimeError: [enforce fail at ..\c10\core\impl\alloc_cpu.cpp:81] data. DefaultCPUAllocator: not enough memory: you tried to allocate 3932160 bytes.The file may be malicious, so the program is not going to read it.
You can skip this check with --disable-safe-unpickle commandline argument.
现在来到这个进度了,想问下这个--disable-safe-unpickle应该加到哪个指令的后面? -
RE: 本地搭建NovelAi (免费的色图生成器,可用colab在线运行)
@Colter23 RuntimeError: Couldn't checkout commit c5b4593074ba6214284d6acd5f1719b6c5d739af for CodeFormer.
Command: "git" -C repositories\CodeFormer checkout c5b4593074ba6214284d6acd5f1719b6c5d739af
Error code: 128
stdout: <empty>
stderr: fatal: reference is not a tree: c5b4593074ba6214284d6acd5f1719b6c5d739af -
RE: 本地搭建NovelAi (免费的色图生成器,可用colab在线运行)
@Colter23 我一开始就是用webui-user.bat,然后失败了,于是我手动下载了包括cuda,依赖,模型这些,然后再跑还是出问题(这里就是我上面一开始发的报错信息),话说如果在cloab加载大模型会怎么样?加载失败吗?
-
RE: 本地搭建NovelAi (免费的色图生成器,可用colab在线运行)
@Colter23 我现在colab上面运行成功了,很快乐,不过想问一下,这个会受外界影响吗,跟本地版有没有区别,我是不是每次都要在colab上面启动
-
RE: 本地搭建NovelAi (免费的色图生成器,可用colab在线运行)
@Colter23 我现在改到colab上面运行试试,之前还没试过,在等它上传到Google云盘,还要两个多小时
-
RE: 本地搭建NovelAi (免费的色图生成器,可用colab在线运行)
可以帮我看看这个什么问题吗
venv "E:\Git here\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: cc5803603b8591075542d99ae8596ab5b130a82f
Fetching updates for CodeFormer...
Checking out commint for CodeFormer with hash: c5b4593074ba6214284d6acd5f1719b6c5d739af...
Traceback (most recent call last):
File "E:\Git here\stable-diffusion-webui\launch.py", line 168, in <module>
prepare_enviroment()
File "E:\Git here\stable-diffusion-webui\launch.py", line 146, in prepare_enviroment
git_clone("https://github.com/sczhou/CodeFormer.git", repo_dir('CodeFormer'), "CodeFormer", codeformer_commit_hash)
File "E:\Git here\stable-diffusion-webui\launch.py", line 79, in git_clone
run(f'"{git}" -C {dir} checkout {commithash}', f"Checking out commint for {name} with hash: {commithash}...", f"Couldn't checkout commit {commithash} for {name}")
File "E:\Git here\stable-diffusion-webui\launch.py", line 32, in run
raise RuntimeError(message)
RuntimeError: Couldn't checkout commit c5b4593074ba6214284d6acd5f1719b6c5d739af for CodeFormer.
Command: "git" -C repositories\CodeFormer checkout c5b4593074ba6214284d6acd5f1719b6c5d739af
Error code: 128
stdout: <empty>
stderr: fatal: reference is not a tree: c5b4593074ba6214284d6acd5f1719b6c5d739af