AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
140.56k stars 26.6k forks source link

[Bug]: AssertionError: Couldn't find Stable Diffusion in any of: #8353

Open Dusty0ldQrow opened 1 year ago

Dusty0ldQrow commented 1 year ago

Is there an existing issue for this?

What happened?

the program seems to be missing files that I cannot find

Steps to reproduce the problem

  1. use directml version
  2. install as per instructions

What should have happened?

there should be a module there

Commit where the problem happens

https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Install-and-Run-on-AMD-GPUs

What platforms do you use to access the UI ?

Windows

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

no

List of extensions

no

Console logs

venv "C:\Users\kingo\stable-diffusion-webui-directml\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Commit hash: ff558348682fea569785dcfae1f1282cfbefda6b
Installing requirements for Web UI
Launching Web UI with arguments:
Traceback (most recent call last):
  File "C:\Users\kingo\stable-diffusion-webui-directml\launch.py", line 357, in <module>
    start()
  File "C:\Users\kingo\stable-diffusion-webui-directml\launch.py", line 348, in start
    import webui
  File "C:\Users\kingo\stable-diffusion-webui-directml\webui.py", line 15, in <module>
    from modules import import_hook, errors, extra_networks, ui_extra_networks_checkpoints
  File "C:\Users\kingo\stable-diffusion-webui-directml\modules\ui_extra_networks_checkpoints.py", line 6, in <module>
    from modules import shared, ui_extra_networks, sd_models
  File "C:\Users\kingo\stable-diffusion-webui-directml\modules\shared.py", line 12, in <module>
    import modules.interrogate
  File "C:\Users\kingo\stable-diffusion-webui-directml\modules\interrogate.py", line 15, in <module>
    from modules import devices, paths, shared, lowvram, modelloader, errors
  File "C:\Users\kingo\stable-diffusion-webui-directml\modules\paths.py", line 26, in <module>
    assert sd_path is not None, "Couldn't find Stable Diffusion in any of: " + str(possible_sd_paths)
AssertionError: Couldn't find Stable Diffusion in any of: ['C:\\Users\\kingo\\stable-diffusion-webui-directml\\repositories/stable-diffusion-stability-ai', '.', 'C:\\Users\\kingo']
Press any key to continue . . .

Additional information

No response

r4debox commented 1 year ago

bump

Samchen2003 commented 3 months ago

The same happens for me. How to solve this?