Closed swumagic closed 9 months ago
Issue was that the sd-webui-GPT4V-Image-Captioner/lib folder was shadowing the stable-diffusion-webui-depthmap-script/lib folder.can you changed the name of the "lib" folder in sd-webui-GPT4V-Image-Captioner to "lib???" to solve this.
After inspection, there was indeed a bug. Thank you for fixing it.
Error loading script: depthmap.py and ModuleNotFoundError: No module named 'lib.multi_depth_model_woauxi'
*** Error loading script: depthmap.py Traceback (most recent call last): File "J:\StableDiffusion\sdwebui\modules\scripts.py", line 469, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "J:\StableDiffusion\sdwebui\modules\script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "J:\StableDiffusion\sdwebui\extensions\stable-diffusion-webui-depthmap-script\scripts\depthmap.py", line 8, in
from src import common_ui
File "J:\StableDiffusion\sdwebui\extensions\stable-diffusion-webui-depthmap-script\src\common_ui.py", line 6, in
from src import backbone, video_mode
File "J:\StableDiffusion\sdwebui\extensions\stable-diffusion-webui-depthmap-script\src\video_mode.py", line 8, in
from src import core
File "J:\StableDiffusion\sdwebui\extensions\stable-diffusion-webui-depthmap-script\src\core.py", line 23, in
from src.depthmap_generation import ModelHolder
File "J:\StableDiffusion\sdwebui\extensions\stable-diffusion-webui-depthmap-script\src\depthmap_generation.py", line 21, in
from lib.multi_depth_model_woauxi import RelDepthModel
ModuleNotFoundError: No module named 'lib.multi_depth_model_woauxi'
*** Error loading script: depthmap_api.py Traceback (most recent call last): File "J:\StableDiffusion\sdwebui\modules\scripts.py", line 469, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "J:\StableDiffusion\sdwebui\modules\script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "J:\StableDiffusion\sdwebui\extensions\stable-diffusion-webui-depthmap-script\scripts\depthmap_api.py", line 16, in
from src.core import core_generation_funnel, run_makevideo
File "J:\StableDiffusion\sdwebui\extensions\stable-diffusion-webui-depthmap-script\src\core.py", line 23, in
from src.depthmap_generation import ModelHolder
File "J:\StableDiffusion\sdwebui\extensions\stable-diffusion-webui-depthmap-script\src\depthmap_generation.py", line 21, in
from lib.multi_depth_model_woauxi import RelDepthModel
ModuleNotFoundError: No module named 'lib.multi_depth_model_woauxi'