-
Notifications
You must be signed in to change notification settings - Fork 49
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
[bug] [comfy_mtb] | ERROR -> guidedFilter not found, use opencv-contrib-python #27
Comments
Hi, Thanks for the report, the The rest seems all ok, you can safely ignore the opencv mismatch, it's just for one node that I will probably remove in the next release: ImageDeglaze which is based on AdverseCleaner. Basically there are a few flavors of opencv for python, but each are exclusive... WAS Suite for instance installs the |
Yep I can confirm that ifnude is not used anymore since this commit: da3e6f4 Maybe try pulling the latest changes: |
A new release is due today, but will more realistically be done tomorrow :) |
Thanks so much for your help!! I tried git fetch && git pull, and it opened the Connect to Github requestor to sign in via broswer or personal token. Neither has never worked for me, even with the correct info, so I receive this fetch In face, none of the custom scripts that use the Connect to Github sign in via browser has worked for me. Is there a way to fix? From there, I downloaded the latest zip file , overwrote the existing distro, and received a failed to import error. See below: logD:\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.22)
### Loading: ComfyUI-Manager (V0.11.1)
### ComfyUI Revision: 1174 [ee8f8ee0]
Failed to auto update `Quality of Life Suit`
QualityOfLifeSuit_Omar92_DIR: D:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-QualityOfLifeSuit_Omar92
### Loading: ComfyUI-Workflow-Component (V0.39.5) !! WARN: This is an experimental extension. Extremely unstable. !!
Comfyroll Custom Nodes: Loaded
Davemane42 Custom Nodes: Loaded
[tinyterraNodes] Loaded
Log level: 20
[comfy_mtb] | WARNING -> cv2.ximgproc.guidedFilter not found, use opencv-contrib-python
[comfy_mtb] | ERROR -> Some nodes failed to load:
Failed to import faceenhance because ModuleNotFoundError: No module named 'gfpgan'
Failed to import faceswap because ModuleNotFoundError: No module named 'insightface'
Failed to import fun because ModuleNotFoundError: No module named 'qrcode'
Failed to import image_interpolation because ModuleNotFoundError: No module named 'frame_interpolation.eval'
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] | INFO -> 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\sampler_rescalecfg.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_Dave_CustomNode
0.0 seconds: D:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Custom-Scripts
0.0 seconds: D:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-QualityOfLifeSuit_Omar92
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-Workflow-Component
0.0 seconds: D:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger
0.1 seconds: D:\ComfyUI\ComfyUI\custom_nodes\comfy_mtb
0.2 seconds: D:\ComfyUI\ComfyUI\custom_nodes\clipseg.py
0.2 seconds: D:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Manager
0.3 seconds: D:\ComfyUI\ComfyUI\custom_nodes\comfy_controlnet_preprocessors
0.4 seconds: D:\ComfyUI\ComfyUI\custom_nodes\ComfyUI_tinyterraNodes
0.4 seconds: D:\ComfyUI\ComfyUI\custom_nodes\efficiency-nodes-comfyui
0.6 seconds: D:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Impact-Pack
0.7 seconds: D:\ComfyUI\ComfyUI\custom_nodes\was-node-suite-comfyui
Starting server
To see the GUI go to: http://127.0.0.1:8188 |
Thanks for the details, yes the zip from github don't include the submodules unfortunately (dear-github/dear-github#214), my release script does bundle them into the zip file though so by tomorrow I should release 0.1.0. If you want to try manually you can just unzip these into the
Note that even if some node fails the others don't. |
Downloaded the two files and placed them in the "extern" folder: Log below: D:\ComfyUI>.\python_embeded\python.exe -s ComfyUI\main.py --preview-method auto --windows-standalone-build Loading: ComfyUI-Impact-Pack (V2.22)Loading: ComfyUI-Manager (V0.11.1)ComfyUI Revision: 1174 [ee8f8ee0]Failed to auto update Loading: ComfyUI-Workflow-Component (V0.39.5) !! WARN: This is an experimental extension. Extremely unstable. !!Comfyroll Custom Nodes: Loaded Check that you properly installed the dependencies.
Import times for custom nodes: Starting server To see the GUI go to: http://127.0.0.1:8188 |
It seems like there are two things remaining:
The new version will be released later today (around 6h from now 😀) |
OOOPPSS! Here's my log after running "pip install -r requirements.txt: (base) D:\ComfyUI\ComfyUI\custom_nodes\comfy_mtb>pip install -r requirements.txt × python setup.py egg_info did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × Encountered error while generating package metadata. note: This is an issue with the package mentioned above, not pip. |
As you are using comfy-embed you must use |
Third times a charm? (base) D:\ComfyUI\ComfyUI\custom_nodes\comfy_mtb>d:\ComfyUI\python_embeded\python.exe -m pip install -r requirements.txt × Getting requirements to build wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × Getting requirements to build wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. (base) D:\ComfyUI\ComfyUI\custom_nodes\comfy_mtb> |
Has there been any update to this? |
Tried any and every fix I could find, no luck with this? |
That's unfortunate... |
Can you try again ideally following the new instructions, i.e using Comfy-Manager https://github.com/melMass/comfy_mtb/blob/main/INSTALL.md |
ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: 'A:\AI_Files\ComfyUI_windows_portable\python_embeded\Lib\site-packages\google\~-otobuf\internal\_api_implementation.cp310-win_amd64.pyd' Consider using the [comfy_mtb] | INFO -> Some nodes failed to load: Check that you properly installed the dependencies. |
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... |
Sorry, I don't mean to cause you headaches, thanks so much for what you are doing. I'm not moaning at you... more like moaning with you. I will figure it out. |
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
Console output
Additional context
No response
The text was updated successfully, but these errors were encountered: