AI绘画-Stable Diffusion解决报错教程-模型加载失败: 模型加载失败 (D:openai.wikistable-diffusion-webuiautomatic) D:openai.wikistable-diffusion-webui>webui-us……
哈喽!伙伴们,我是小智,你们的AI向导。欢迎来到每日的AI学习时间。今天,我们将一起深入AI的奇妙世界,探索“AI绘画-Stable Diffusion解决报错教程-模型加载失败”,并学会本篇文章中所讲的全部知识点。还是那句话“不必远征未知,只需唤醒你的潜能!”跟着小智的步伐,我们终将学有所成,学以致用,并发现自身的更多可能性。话不多说,现在就让我们开始这场激发潜能的AI学习之旅吧。
AI绘画-Stable Diffusion解决报错教程-模型加载失败:
模型加载失败
(D:openai.wikistable-diffusion-webuiautomatic) D:openai.wikistable-diffusion-webui>webui-user.bat
Creating venv in directory D:openai.wikistable-diffusion-webuivenv using python “D:openai.wikistable-diffusion-webuiautomaticpython.exe”
venv “D:openai.wikistable-diffusion-webuivenvScriptsPython.exe”
Python 3.10.10 | packaged by Anaconda, Inc. | (main, Mar 21 2023, 18:39:17) [MSC v.1916 64 bit (AMD64)]
Commit hash:
Installing torch and torchvision
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu117
Collecting torch==1.13.1+cu117
Downloading https://download.pytorch.org/whl/cu117/torch-1.13.1%2Bcu117-cp310-cp310-win_amd64.whl (2255.4 MB)
—————————————- 2.3/2.3 GB 1.0 MB/s eta 0:00:00
Collecting torchvision==0.14.1+cu117
Downloading https://download.pytorch.org/whl/cu117/torchvision-0.14.1%2Bcu117-cp310-cp310-win_amd64.whl (4.8 MB)
—————————————- 4.8/4.8 MB 8.1 MB/s eta 0:00:00
Collecting typing-extensions
Downloading typing_extensions-4.5.0-py3-none-any.whl (27 kB)
Collecting numpy
Downloading numpy-1.24.2-cp310-cp310-win_amd64.whl (14.8 MB)
—————————————- 14.8/14.8 MB 13.6 MB/s eta 0:00:00
Collecting requests
Downloading requests-2.28.2-py3-none-any.whl (62 kB)
—————————————- 62.8/62.8 kB 1.7 MB/s eta 0:00:00
Collecting pillow!=8.3.*,>=5.3.0
Downloading Pillow-9.4.0-cp310-cp310-win_amd64.whl (2.5 MB)
—————————————- 2.5/2.5 MB 19.7 MB/s eta 0:00:00
Collecting charset-normalizer=2
Downloading charset_normalizer-3.1.0-cp310-cp310-win_amd64.whl (97 kB)
—————————————- 97.1/97.1 kB 5.8 MB/s eta 0:00:00
Collecting idna=2.5
Downloading https://download.pytorch.org/whl/idna-3.4-py3-none-any.whl (61 kB)
—————————————- 61.5/61.5 kB 3.2 MB/s eta 0:00:00
Collecting urllib3=1.21.1
Downloading urllib3-1.26.15-py2.py3-none-any.whl (140 kB)
—————————————- 140.9/140.9 kB 8.7 MB/s eta 0:00:00
Collecting certifi>=2017.4.17
Downloading https://download.pytorch.org/whl/certifi-2022.12.7-py3-none-any.whl (155 kB)
—————————————- 155.3/155.3 kB 9.1 MB/s eta 0:00:00
Installing collected packages: urllib3, typing-extensions, pillow, numpy, idna, charset-normalizer, certifi, torch, requests, torchvision
Successfully installed certifi-2022.12.7 charset-normalizer-3.1.0 idna-3.4 numpy-1.24.2 pillow-9.4.0 requests-2.28.2 torch-1.13.1+cu117 torchvision-0.14.1+cu117 typing-extensions-4.5.0 urllib3-1.26.15
[notice] A new release of pip available: 22.3.1 -> 23.0.1
[notice] To update, run: D:openai.wikistable-diffusion-webuivenvScriptspython.exe -m pip install –upgrade pip
Installing gfpgan
Installing clip
Installing open_clip
Cloning Stable Diffusion into D:openai.wikistable-diffusion-webuirepositoriesstable-diffusion-stability-ai…
Cloning Taming Transformers into D:openai.wikistable-diffusion-webuirepositoriestaming-transformers…
Cloning K-diffusion into D:openai.wikistable-diffusion-webuirepositoriesk-diffusion…
Cloning CodeFormer into D:openai.wikistable-diffusion-webuirepositoriesCodeFormer…
Cloning BLIP into D:openai.wikistable-diffusion-webuirepositoriesBLIP…
Installing requirements for CodeFormer
Installing requirements for Web UI
Launching Web UI with arguments:
No module ‘xformers’. Proceeding without it.
Downloading: “https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.safetensors” to D:openai.wikistable-diffusion-webuimodelsStable-diffusionv1-5-pruned-emaonly.safetensors
100%|█████████████████████████████████████████████████████████████████████████████| 3.97G/3.97G [05:34<00:00, 12.7MB/s] Calculating sha256 for D:openai.wikistable-diffusion-webuimodelsStable-diffusionv1-5-pruned-emaonly.safetensors: 6ce0161689b3853acaa03779ec93eafe75a02f4ced659bee03f50797806fa2fa Loading weights [6ce0161689] from D:openai.wikistable-diffusion-webuimodelsStable-diffusionv1-5-pruned-emaonly.safetensors Creating model from config: D:openai.wikistable-diffusion-webuiconfigsv1-inference.yaml LatentDiffusion: Running in eps-prediction mode DiffusionWrapper has 859.52 M params. Downloading (…)olve/main/vocab.json: 100%|███████████████████████████████████████████| 961k/961k [00:01<00:00, 862kB/s] Downloading (…)olve/main/merges.txt: 100%|███████████████████████████████████████████| 525k/525k [00:00<00:00, 548kB/s] Downloading (…)cial_tokens_map.json: 100%|█████████████████████████████████████████████| 389/389 [00:00<00:00, 282kB/s] Downloading (…)okenizer_config.json: 100%|█████████████████████████████████████████████| 905/905 [00:00<00:00, 900kB/s] Downloading (…)lve/main/config.json: 100%|████████████████████████████████████████| 4.52k/4.52k [00:00> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
Stable diffusion model failed to load, exiting
这里出现了一个错误,似乎是 Stable Diffusion 模型加载失败导致的。建议检查一下网络连接,以及确保下载的模型文件完整无损。
你可以尝试重新运行这个命令,或者重新下载并安装 Stable Diffusion 模型文件。
嘿,伙伴们,今天我们的AI探索之旅已经圆满结束。关于“AI绘画-Stable Diffusion解决报错教程-模型加载失败”的内容已经分享给大家了。感谢你们的陪伴,希望这次旅程让你对AI能够更了解、更喜欢。谨记,精准提问是解锁AI潜能的钥匙哦!如果有小伙伴想要了解学习更多的AI知识,请关注我们的官网“AI智研社”,保证让你收获满满呦!
还没有评论呢,快来抢沙发~