comfy_mtb: [bug] [comfy_mtb] | ERROR -> guidedFilter not found, use opencv-contrib-python

Describe the bug

Installed the script, and I have missing modules. How can I fix? (thanks in advance!)

[comfy_mtb] | DEBUG -> Web extensions folder found at D:\ComfyUI\ComfyUI\web\extensions\mtb [comfy_mtb] | DEBUG -> Imported conditions nodes [comfy_mtb] | DEBUG -> Imported crop nodes [comfy_mtb] | DEBUG -> Imported deep_bump nodes [comfy_mtb] | DEBUG -> Imported graph_utils nodes [comfy_mtb] | ERROR -> guidedFilter not found, use opencv-contrib-python [comfy_mtb] | DEBUG -> Imported image_processing nodes [comfy_mtb] | DEBUG -> Imported latent_processing nodes [comfy_mtb] | DEBUG -> Imported mask nodes [comfy_mtb] | DEBUG -> Imported number nodes [comfy_mtb] | DEBUG -> Imported video nodes [comfy_mtb] | ERROR -> Some nodes failed to load: Failed to import faceswap because ModuleNotFoundError: No module named ‘ifnude’ Failed to import fun because ModuleNotFoundError: No module named ‘qrcode’

Check that you properly installed the dependencies.

Reproduction

Installing on Windows

Expected behavior

Complete installation of dependences

Platform and versions

Windows 11

Console output

D:\ComfyUI>.\python_embeded\python.exe -s ComfyUI\main.py  --preview-method auto --windows-standalone-build
Total VRAM 24564 MB, total RAM 130813 MB
xformers version: 0.0.20
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 4090
Using xformers cross attention
Adding extra search path checkpoints D:/stable-diffusion-webui\models/Stable-diffusion
Adding extra search path configs D:/stable-diffusion-webui\models/Stable-diffusion
Adding extra search path vae D:/stable-diffusion-webui\models/VAE
Adding extra search path loras D:/stable-diffusion-webui\models/Lora
Adding extra search path upscale_models D:/stable-diffusion-webui\models/ESRGAN
Adding extra search path upscale_models D:/stable-diffusion-webui\models/SwinIR
Adding extra search path upscale_models D:/stable-diffusion-webui\models/RealESRGAN
Adding extra search path upscale_models D:/stable-diffusion-webui\models/GFPGAN
Adding extra search path embeddings D:/stable-diffusion-webui\embeddings
Adding extra search path hypernetworks D:/stable-diffusion-webui\models/hypernetworks
Adding extra search path controlnet D:/stable-diffusion-webui\extensions/sd-webui-controlnet/models
Adding extra search path sam D:/stable-diffusion-webui\models/sam
### Loading: ComfyUI-Impact-Pack (V2.21.4)
### Loading: ComfyUI-Manager (V0.11.1)
### ComfyUI Revision: 1156 [b2f03164]
Failed to auto update `Quality of Life Suit`
QualityOfLifeSuit_Omar92_DIR: D:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-QualityOfLifeSuit_Omar92
### Loading: ComfyUI-Workflow-Component (V0.38.3) !! WARN: This is an experimental extension. Extremely unstable. !!
Comfyroll Custom Nodes: Loaded
Davemane42 Custom Nodes: Loaded
[tinyterraNodes] Loaded
[comfy_mtb] | DEBUG -> Web extensions folder found at D:\ComfyUI\ComfyUI\web\extensions\mtb
[comfy_mtb] | DEBUG -> Imported conditions nodes
[comfy_mtb] | DEBUG -> Imported crop nodes
[comfy_mtb] | DEBUG -> Imported deep_bump nodes
[comfy_mtb] | DEBUG -> Imported graph_utils nodes
[comfy_mtb] | ERROR -> guidedFilter not found, use opencv-contrib-python
[comfy_mtb] | DEBUG -> Imported image_processing nodes
[comfy_mtb] | DEBUG -> Imported latent_processing nodes
[comfy_mtb] | DEBUG -> Imported mask nodes
[comfy_mtb] | DEBUG -> Imported number nodes
[comfy_mtb] | DEBUG -> Imported video nodes
[comfy_mtb] | ERROR -> Some nodes failed to load:
        Failed to import faceswap because ModuleNotFoundError: No module named 'ifnude'
        Failed to import fun because ModuleNotFoundError: No module named 'qrcode'

Check that you properly installed the dependencies.
If you think this is a bug, please report it on the github page (https://github.com/melMass/comfy_mtb/issues)
[comfy_mtb] | DEBUG -> Loaded the following nodes:
        Smart Step (mtb): Utils to control the steps start/stop of the KAdvancedSampler in percentage
        Text To Image (mtb): Utils to convert text to image using a font
        Styles Loader (mtb): Load csv files and populate a dropdown from the rows (à la A111)
        B Box From Mask (mtb): From a mask extract the bounding box
        Bounding Box (mtb): The bounding box (BBOX) custom type used by other nodes
        Crop (mtb): Crops an image and an optional mask to a given bounding box
        Uncrop (mtb): Uncrops an image to a given bounding box
        Deep Bump (mtb): Normal & height maps generation from single pictures
        Save Tensors (mtb): Debug node that will probably be removed in the future
        Color Correct (mtb): Various color correction methods
        Hsv To Rgb (mtb): Convert HSV image to RGB
        Rgb To Hsv (mtb): Convert RGB image to HSV
        Image Compare (mtb): Compare two images and return a difference image
        Denoise (mtb): Denoise an image using total variation minimization.
        Blur (mtb): Blur an image using a Gaussian filter.
        Deglaze Image (mtb): Remove adversarial noise from images
        Mask To Image (mtb): Converts a mask (alpha) to an RGB image with a color and background
        Colored Image (mtb): Constant color image of given size
        Image Premultiply (mtb): Premultiply image with mask
        Image Resize Factor (mtb): Extracted mostly from WAS Node Suite, with a few edits (most notably multiple image support) and less features.
        Save Image Grid (mtb): Save all the images in the input batch as a grid of images.
        Latent Lerp (mtb): Linear interpolation (blend) between two latent vectors
        Image Remove Background Rembg (mtb): -
        Int To Number (mtb): Node addon for the WAS Suite. Converts a "comfy" INT to a NUMBER.
        Load Image Sequence (mtb): Load an image sequence from a folder. The current frame is used to determine which image to load.
        Save Image Sequence (mtb): Save an image sequence to a folder. The current frame is used to determine which image to save.
Total VRAM 24564 MB, total RAM 130813 MB
xformers version: 0.0.20
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 4090
WAS Node Suite: BlenderNeko's Advanced CLIP Text Encode found, attempting to enable `CLIPTextEncode` support.
WAS Node Suite: `CLIPTextEncode (BlenderNeko Advanced + NSP)` node enabled under `WAS Suite/Conditioning` menu.
WAS Node Suite: OpenCV Python FFMPEG support is enabled
WAS Node Suite Warning: `ffmpeg_bin_path` is not set in `D:\ComfyUI\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json` config file. Will attempt to use system ffmpeg binaries if available.
WAS Node Suite: Finished. Loaded 186 nodes successfully.

        "Success is not just about making money. It's about making a difference." - Unknown


Import times for custom nodes:
   0.0 seconds: D:\ComfyUI\ComfyUI\custom_nodes\sampler_tonemap.py
   0.0 seconds: D:\ComfyUI\ComfyUI\custom_nodes\Textnode.py
   0.0 seconds: D:\ComfyUI\ComfyUI\custom_nodes\advanced_model_merging.py
   0.0 seconds: D:\ComfyUI\ComfyUI\custom_nodes\ComfyUI_TiledKSampler
   0.0 seconds: D:\ComfyUI\ComfyUI\custom_nodes\ComfyUI_ADV_CLIP_emb
   0.0 seconds: D:\ComfyUI\ComfyUI\custom_nodes\ComfyUI_Comfyroll_CustomNodes
   0.0 seconds: D:\ComfyUI\ComfyUI\custom_nodes\ComfyUI_SeeCoder
   0.0 seconds: D:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-QualityOfLifeSuit_Omar92
   0.0 seconds: D:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Custom-Scripts
   0.0 seconds: D:\ComfyUI\ComfyUI\custom_nodes\images-grid-comfy-plugin
   0.0 seconds: D:\ComfyUI\ComfyUI\custom_nodes\Derfuu_ComfyUI_ModdedNodes
   0.0 seconds: D:\ComfyUI\ComfyUI\custom_nodes\ComfyUI_Dave_CustomNode
   0.1 seconds: D:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger
   0.1 seconds: D:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Workflow-Component
   0.1 seconds: D:\ComfyUI\ComfyUI\custom_nodes\comfy_mtb
   0.3 seconds: D:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Manager
   0.5 seconds: D:\ComfyUI\ComfyUI\custom_nodes\clipseg.py
   0.6 seconds: D:\ComfyUI\ComfyUI\custom_nodes\comfy_controlnet_preprocessors
   0.7 seconds: D:\ComfyUI\ComfyUI\custom_nodes\was-node-suite-comfyui
   0.9 seconds: D:\ComfyUI\ComfyUI\custom_nodes\ComfyUI_tinyterraNodes
   1.1 seconds: D:\ComfyUI\ComfyUI\custom_nodes\efficiency-nodes-comfyui
   1.4 seconds: D:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Impact-Pack

Starting server

To see the GUI go to: http://127.0.0.1:8188

Additional context

No response

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 2
  • Comments: 18 (9 by maintainers)

Most upvoted comments

My guess is it’s Comfy Roop and mtb that have incompatibilities since I’ve tested the install from scratch on all modes.

I will try Comfy roop next week, and honestly if it does exactly what my node do I will just remove FaceSwap, 90% of the dependency issues come from it.

Also as said before all other nodes will work fine if a few fail, maybe I’ll remove auto install for the “extra” nodes and add manual install instructions. I don’t want to spend this much time on solving all the various user configs which for now more than half the time I dedicate to this project is…