stable-diffusion-webui-depthmap-script
stable-diffusion-webui-depthmap-script copied to clipboard
new startup issue error loading depthmap.py
Error loading script: depthmap.py
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\scripts.py", line 229, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\stable-diffusion-webui\modules\script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "
same error
force reinstall a recent version of timm
pip install --force-reinstall timm==0.6.12
pip install --force-reinstall timm==0.6.12
doing that broke my current install
can't help you if you don't give me any info
can't help you if you don't give me any info
My apologies. I forgot to capture the error log, and I deleted the venv for a fresh install. Next time I try it out, I'll capture the log.
Edit: Surprise surprise, it's conflicting with the extension 'unprompted' again. Same error comes up when I added unprompted back in. Except before, unprompted wouldn't work, but depthmap would. Now depth map doesn't work, but unprompted does when they're both in the extensions folder.
I'll let him know about it too.
In the end, I don't think the timm version was the issue (in the launch file it's the same one); it's almost certainly an extension conflict. I loaded it up by itself without issue. Now off to see which one is conflicting with it.
The error message in the original post indicates you were using an old timm version that did not yet have the beit models. The new midas models will not work without it, possibly another extension is still installing the old version.
Error loading script: depthmap.py
Traceback (most recent call last):
File "/content/drive/MyDrive/stable-diffusion-webui/modules/scripts.py", line 229, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "/content/drive/MyDrive/stable-diffusion-webui/modules/script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "
Same here:
Error loading script: depthmap.py
Traceback (most recent call last):
File "I:\Super SD 2.0\stable-diffusion-webui\modules\scripts.py", line 229, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "I:\Super SD 2.0\stable-diffusion-webui\modules\script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "
My concern with the suggestion to force install timm 0.6.12 is that A1111 itself has a requirement defined as timm 0.4.12
How can two versions exist at the same time?