Skip to content
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

Warning: Missing Node Types : When loading the graph, the following node types were not found: BiRefNet #110

Open
chamidusuraweera opened this issue Oct 21, 2024 · 4 comments
Labels
help wanted Extra attention is needed

Comments

@chamidusuraweera
Copy link

Hi everyone,

I'm trying to install Clothing Factory V2 - Magic Clothing Workflow in ComfyUI

But in there showing Warning: Missing Node Types When loading the graph, the following node types were not found: ReActorFaceSwap

Screenshot 2024-10-21 084719

My workflow

I trying to fix by these ways..

  1. Clicking Try Fix Button, and Restart
  2. Uninstall, and Restart
  3. Install Via Git URL ([https://github.com/Gourieff/comfyui-reactor-node.git])

Screenshot 2

But all the above 3 methods its showing This action is not allowed with this security level configuration.

3

Magic Clothing Model in "D:\ComfyUI_windows_portable\ComfyUI\models\checkpoints" path.
4


Here are my system specifications:

Laptop Model: Dell G5 5500
GPU: NVIDIA GeForce RTX 2070
Windows Version: 24H2
CUDA Version: 12.7

Current Versions:

Python: 3.12.0
pip: 23.2.1
xformers: 0.0.27

Browser - Google Chrome


Console log
provided cmd logs from the moment Istarted UI to the momemt I got an error.

D:\ComfyUI_windows_portable>.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build
[START] Security scan
[DONE] Security scan

ComfyUI-Manager: installing dependencies done.

** ComfyUI startup time: 2024-10-21 10:19:11.980737
** Platform: Windows
** Python version: 3.11.9 (tags/v3.11.9:de54cf5, Apr 2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)]
** Python executable: D:\ComfyUI_windows_portable\python_embeded\python.exe
** ComfyUI Path: D:\ComfyUI_windows_portable\ComfyUI
** Log path: D:\ComfyUI_windows_portable\comfyui.log

Prestartup times for custom nodes:
2.4 seconds: D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager

Total VRAM 8192 MB, total RAM 16146 MB
pytorch version: 2.4.1+cu124
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 2070 with Max-Q Design : cudaMallocAsync
Using pytorch cross attention
[Prompt Server] web root: D:\ComfyUI_windows_portable\ComfyUI\web
D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\kornia\feature\lightglue.py:44: FutureWarning: torch.cuda.amp.custom_fwd(args...) is deprecated. Please use torch.amp.custom_fwd(args..., device_type='cuda') instead.
@torch.cuda.amp.custom_fwd(cast_inputs=torch.float32)
Traceback (most recent call last):
File "D:\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2001, 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 "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-BiRefNet_init
.py", line 3, in
from .BiRefNet_node import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
File "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-BiRefNet\BiRefNet_node.py", line 7, in
from models.baseline import BiRefNet
File "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-BiRefNet\models\baseline.py", line 11, in
from models.backbones.build_backbone import build_backbone
File "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-BiRefNet\models\backbones\build_backbone.py", line 8, in
from utils import check_download_model
ImportError: cannot import name 'check_download_model' from 'utils' (D:\ComfyUI_windows_portable\ComfyUI\utils_init_.py)

Cannot import D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-BiRefNet module for custom nodes: cannot import name 'check_download_model' from 'utils' (D:\ComfyUI_windows_portable\ComfyUI\utils_init_.py)

Loading: ComfyUI-Impact-Pack (V7.10.3)

Loading: ComfyUI-Impact-Pack (Subpack: V0.7)

[Impact Pack] Wildcards loading done.

Loading: ComfyUI-Manager (V2.51.8)

ComfyUI Revision: 2775 [f9f9fafa] | Released on '2024-10-20'

Traceback (most recent call last):
File "D:\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2001, 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 "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node_init
.py", line 23, in
from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
File "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node\nodes.py", line 15, in
from insightface.app.common import Face
ModuleNotFoundError: No module named 'insightface'

Cannot import D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node module for custom nodes: No module named 'insightface'
[comfyui_controlnet_aux] | INFO -> Using ckpts path: D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts
[comfyui_controlnet_aux] | INFO -> Using symlinks: False
[comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider']
DWPose: Onnxruntime with acceleration providers detected

Import times for custom nodes:
0.0 seconds: D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py
0.0 seconds: D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\sd-perturbed-attention
0.0 seconds: D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\masquerade-nodes-comfyui
0.0 seconds: D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\cg-image-picker
0.0 seconds: D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-AutomaticCFG
0.0 seconds: D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-mask-util
0.0 seconds: D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-TiledDiffusion
0.0 seconds (IMPORT FAILED): D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node
0.0 seconds: D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_UltimateSDUpscale
0.1 seconds: D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux
0.5 seconds: D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-magic-clothing
0.5 seconds: D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager
0.7 seconds: D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_LayerStyle
0.7 seconds: D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack
0.7 seconds (IMPORT FAILED): D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-BiRefNet


Same Issue with ReActorFaceSwap Node

Has anyone experienced this issue and found a solution? Any help would be greatly appreciated!
Thank you!

@ZhengPeng7
Copy link
Owner

I'm not experienced at ComfyUI, but I hope someone can see this and give some suggestions.
But you can try some upgraded versions, such as lldacing/ComfyUI_BiRefNet_ll and MoonHugo/ComfyUI-BiRefNet-Hugo, instead of the very first one. Many people met some strange problems and conflicts with other nodes when using that old one.

@ZhengPeng7 ZhengPeng7 added the help wanted Extra attention is needed label Oct 21, 2024
@unpezcado
Copy link

Hi @chamidusuraweera Did you manage to solve the problem? The same thing happens to me and I can't find a solution.

@chamidusuraweera
Copy link
Author

Hi @chamidusuraweera Did you manage to solve the problem? The same thing happens to me and I can't find a solution.

Hello @unpezcado. Sadly No!, Tried several times. and searching how to solve.

@ZhengPeng7
Copy link
Owner

Have you tried other newer BiRefNet nodes I mentioned above?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants