thygate / stable-diffusion-webui-depthmap-script

High Resolution Depth Maps for Stable Diffusion WebUI
MIT License
1.72k stars 159 forks source link

ImportError: DLL load failed while importing _haar: 拒绝访问。 #318

Open swumagic opened 1 year ago

swumagic commented 1 year ago

*** Error loading script: depthmap.py Traceback (most recent call last): File "M:\SD\sdwebui\modules\scripts.py", line 319, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "M:\SD\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 "M:\SD\sdwebui\extensions\stable-diffusion-webui-depthmap-script\scripts\depthmap.py", line 8, in from src import common_ui File "M:\SD\sdwebui\extensions\stable-diffusion-webui-depthmap-script\src\common_ui.py", line 6, in from src import backbone, video_mode File "M:\SD\sdwebui\extensions\stable-diffusion-webui-depthmap-script\src\video_mode.py", line 8, in from src import core File "M:\SD\sdwebui\extensions\stable-diffusion-webui-depthmap-script\src\core.py", line 30, in from inpaint.mesh import write_mesh, read_mesh, output_3d_photo File "M:\SD\sdwebui\extensions\stable-diffusion-webui-depthmap-script\inpaint\mesh.py", line 22, in from inpaint.utils import path_planning, open_small_mask, clean_far_edge, refine_depth_around_edge File "M:\SD\sdwebui\extensions\stable-diffusion-webui-depthmap-script\inpaint\utils.py", line 18, in from skimage.feature import canny File "M:\SD\sdwebui\py310\lib\site-packages\skimage\feature__init__.py", line 26, in from .haar import (haar_like_feature, haar_like_feature_coord, File "M:\SD\sdwebui\py310\lib\site-packages\skimage\feature\haar.py", line 6, in from ._haar import haar_like_feature_coord_wrapper ImportError: DLL load failed while importing _haar: 拒绝访问。 提示:Python 运行时抛出了一个异常。请检查疑难解答页面。


*** Error loading script: depthmap_api.py Traceback (most recent call last): File "M:\SD\sdwebui\modules\scripts.py", line 319, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "M:\SD\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 "M:\SD\sdwebui\extensions\stable-diffusion-webui-depthmap-script\scripts\depthmap_api.py", line 15, in from src.core import core_generation_funnel File "M:\SD\sdwebui\extensions\stable-diffusion-webui-depthmap-script\src\core.py", line 30, in from inpaint.mesh import write_mesh, read_mesh, output_3d_photo File "M:\SD\sdwebui\extensions\stable-diffusion-webui-depthmap-script\inpaint\mesh.py", line 22, in from inpaint.utils import path_planning, open_small_mask, clean_far_edge, refine_depth_around_edge File "M:\SD\sdwebui\extensions\stable-diffusion-webui-depthmap-script\inpaint\utils.py", line 18, in from skimage.feature import canny File "M:\SD\sdwebui\py310\lib\site-packages\skimage\feature__init__.py", line 26, in from .haar import (haar_like_feature, haar_like_feature_coord, File "M:\SD\sdwebui\py310\lib\site-packages\skimage\feature\haar.py", line 6, in from ._haar import haar_like_feature_coord_wrapper ImportError: DLL load failed while importing _haar: 拒绝访问。 提示:Python 运行时抛出了一个异常。请检查疑难解答页面。