kousw / stable-diffusion-webui-daam

DAAM for Stable Diffusion Web UI
Other
161 stars 28 forks source link

Cannot load DAAM after installation via webui extensions tab #11

Closed PGadoury closed 1 year ago

PGadoury commented 1 year ago

Relevant error in terminal:

Error loading script: daam_script.py
Traceback (most recent call last):
  File "D:\stable-diffusion-webui\modules\scripts.py", line 184, in load_scripts
    module = script_loading.load_module(scriptfile.path)
  File "D:\stable-diffusion-webui\modules\script_loading.py", line 13, in load_module
    exec(compiled, module.__dict__)
  File "D:\stable-diffusion-webui\extensions\stable-diffusion-webui-daam\scripts\daam_script.py", line 20, in <module>
    from scripts.daam import trace, utils
ModuleNotFoundError: No module named 'scripts.daam'

Looking around in file explorer, there does seem to be a scripts/daam directory

D:\stable-diffusion-webui\extensions\stable-diffusion-webui-daam\scripts\daam

ArgentVASIMR commented 1 year ago

This might be a stupid question, but have you updated your webui to the latest version? If you have, I recommend deleting DAAM from extensions folder, restarting webui, and installing again.

PGadoury commented 1 year ago

Ok, after a few reinstalls, it seems it was a (user) error due to conda environment and webui using python 3.7. Thanks for your help!

ArgentVASIMR commented 1 year ago

What exact version of Python are you using now? Is it 3.10, or 3.10.6? Does the actual heatmap generate as intended? I'm currently encountering an issue personally where the heatmap just doesn't generate, even when using the DAAM script.

PGadoury commented 1 year ago

3.10.6, as recommended by the webui install guide.

On Sun, Dec 11, 2022 at 6:03 AM Sequentilian @.***> wrote:

What exact version of Python are you using now? Is it 3.10, or 3.10.6?

— Reply to this email directly, view it on GitHub https://github.com/kousw/stable-diffusion-webui-daam/issues/11#issuecomment-1345522787, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJA7AY5MN6HFZSXXOXDAYITWMWYHDANCNFSM6AAAAAAS2HEKIU . You are receiving this because you modified the open/close state.Message ID: @.***>

ArgentVASIMR commented 1 year ago

Does the heatmap generate as intended by the script? I can't get it to work myself, submitted an issue about it. https://github.com/kousw/stable-diffusion-webui-daam/issues/10

PGadoury commented 1 year ago

The script works as intended for me

On Sun, Dec 11, 2022 at 10:07 AM Sequentilian @.***> wrote:

Does the heatmap generate as intended by the script? I can't get it to work myself, submitted an issue about it.

10 https://github.com/kousw/stable-diffusion-webui-daam/issues/10

— Reply to this email directly, view it on GitHub https://github.com/kousw/stable-diffusion-webui-daam/issues/11#issuecomment-1345578548, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJA7AY25PDTZ5GVNLOC3TJTWMXU3BANCNFSM6AAAAAAS2HEKIU . You are receiving this because you modified the open/close state.Message ID: @.***>