-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: DLL load failed while importing inplace_abn: #1
Comments
First,type pip install to check if detectron2 and detectron2-densepose==0.6 has been installed successfully under your Comfyui python environment. as below pic shown |
Thanks! I installed dectron2 and densepose manually, but this time I got a new error. C:\Comfy\ComfyUI_windows_portable_2\python_embeded\Lib\site-packages\torch\utils\cpp_extension.py:1967: UserWarning: TORCH_CUDA_ARCH_LIST is not set, all archs for visible cards are included for compilation. |
I downgraded the pillow version to 9.5.0 and it works. |
|
Thanks for the nice work!
I installed the node, put Detectron2 and DensePose in the site-packages, but got the following error
C:\Comfy\ComfyUI_windows_portable_2\python_embeded\Lib\site-packages\torch\utils\cpp_extension.py:1967: UserWarning: TORCH_CUDA_ARCH_LIST is not set, all archs for visible cards are included for compilation.
If this is not desired, please set os.environ['TORCH_CUDA_ARCH_LIST'].
warnings.warn(
Traceback (most recent call last):
File "C:\Comfy\ComfyUI_windows_portable_2\ComfyUI\nodes.py", line 1931, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 940, in exec_module
File "", line 241, in call_with_frames_removed
File "C:\Comfy\ComfyUI_windows_portable_2\ComfyUI\custom_nodes\Comfyui-CatVTON_init.py", line 3, in
from .model.cloth_masker import AutoMasker as AM
File "C:\Comfy\ComfyUI_windows_portable_2\ComfyUI\custom_nodes\Comfyui-CatVTON\model\cloth_masker.py", line 9, in
from ..model.SCHP import SCHP # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Comfy\ComfyUI_windows_portable_2\ComfyUI\custom_nodes\Comfyui-CatVTON\model\SCHP_init_.py", line 1, in
from . import networks
File "C:\Comfy\ComfyUI_windows_portable_2\ComfyUI\custom_nodes\Comfyui-CatVTON\model\SCHP\networks_init_.py", line 3, in
from .AugmentCE2P import resnet101
File "C:\Comfy\ComfyUI_windows_portable_2\ComfyUI\custom_nodes\Comfyui-CatVTON\model\SCHP\networks\AugmentCE2P.py", line 21, in
from ..modules import InPlaceABNSync
File "C:\Comfy\ComfyUI_windows_portable_2\ComfyUI\custom_nodes\Comfyui-CatVTON\model\SCHP\modules_init_.py", line 1, in
from .bn import ABN, InPlaceABN, InPlaceABNSync
File "C:\Comfy\ComfyUI_windows_portable_2\ComfyUI\custom_nodes\Comfyui-CatVTON\model\SCHP\modules\bn.py", line 10, in
from .functions import *
File "C:\Comfy\ComfyUI_windows_portable_2\ComfyUI\custom_nodes\Comfyui-CatVTON\model\SCHP\modules\functions.py", line 10, in
_backend = load(name="inplace_abn",
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Comfy\ComfyUI_windows_portable_2\python_embeded\Lib\site-packages\torch\utils\cpp_extension.py", line 1309, in load
return _jit_compile(
^^^^^^^^^^^^^
File "C:\Comfy\ComfyUI_windows_portable_2\python_embeded\Lib\site-packages\torch\utils\cpp_extension.py", line 1745, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Comfy\ComfyUI_windows_portable_2\python_embeded\Lib\site-packages\torch\utils\cpp_extension.py", line 2143, in _import_module_from_library
module = importlib.util.module_from_spec(spec)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: DLL load failed while importing inplace_abn:The specified module could not be found
The text was updated successfully, but these errors were encountered: