GithubHelp home page GithubHelp logo

melmass / comfy_mtb Goto Github PK

View Code? Open in Web Editor NEW
284.0 10.0 29.0 1009 KB

Animation oriented nodes pack for ComfyUI

License: MIT License

Python 73.35% JavaScript 25.57% CSS 1.06% Nu 0.02%
animation comfyui faceswap interpolation nodes stable-diffusion

comfy_mtb's People

Contributors

dougwhite avatar hongminpark avatar huanggou666 avatar m1kep avatar melmass avatar scottnealon avatar yurchikian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

comfy_mtb's Issues

[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

[feat] Add support for extra_model_paths.yaml

Describe the problem

I do not use it, but mtb should support it

Describe the solution you'd like

Being able to alias all models used from extra_model_paths.yaml

Alternatives considered

No response

Additional context

No response

[bug] Installation error

Describe the bug

I get a lot of errors when installing with comfyui manager and comfyui can't even start.

Reproduction

  1. Latest updated comfyui
  2. Latest comfyui manager
  3. Install MTB from the manager
  4. Restart comfyui

Expected behavior

It should at least launch comfy.

Platform and versions

Windows
Portable comfyui, python embedded

Console output

No response

Additional context

It can't even let me send the whole console in once it's that long.

[bug] Firefox Image Feed error - when image is clicked on the UI stops working properly

Describe the bug

When the image is clicked in Image Feed & brought to center screen I am unable to use the X or the <> brought up to navigate. I cannot close the image. Furthermore ComfyUI in background doesn't respond except the floating menu acts as if I'm grabbing it.

When I refresh the session it works fine again until I click on any image from the Image Feed.

2023-08-02.12-47-41.mp4

Reproduction

Launch ComfyUI in FF
Generate images
Try opening image in image feed

Expected behavior

The X and <> in the UI work

Platform and versions

Windows
FF (latest version)
ComfyUI latest version

Console output

none

Additional context

No response

[bug] No module named 'termcolor'

Describe the bug

Latest version installed. Did it from ComfyUI manager. First uninstalled comfy_mtb nodes. Restart.
Then install comfy_mtb nodes from manager. Restart.

On start that's the error message.

termcolor

Example 01 - faceswap missing nodes

01fswp

Example 02- missing nodes

02film

Example 03 - works

Example 04 - works

Reproduction

Install from ComfyUI after uninstall.

Expected behavior

All the nodes.

Platform and versions

Windows 10
ComfyUI - Python Embeded

Console output

No response

Additional context

No response

[bug] Output doubled

  • Output less debug by default (check if comfy has a flag we could hook to)
  • Use an higher level for the "hidden" log

[bug] Various errors

Describe the bug

Everything else works fine! I have all the neccessary models already downloaded. Below

[comfy_mtb] | WARNING -> Web extensions folder at C:\Users\sherw\ComfyUI_\ComfyUI\web\extensions\mtb is not a symlink, if updating please delete it before
[comfy_mtb] | INFO -> Some nodes failed to load:
Failed to import module faceenhance because ModuleNotFoundError: No module named 'basicsr'
Failed to import module faceswap because ModuleNotFoundError: No module named 'insightface'
Failed to import module image_interpolation because ModuleNotFoundError: No module named 'tensorflow'
Failed to import module mask because ModuleNotFoundError: No module named 'numba'

Reproduction

No response

Expected behavior

No response

Platform and versions

Note: I am running the standalone version of Comfy

Console output

No response

Additional context

No response

Install with Manger creates a duplicate[bug]

Describe the bug

A custom nodes folder is created within the comfy_mtb, with another instance of mtb?
image

Reproduction

  1. Mtb Install through manager
  2. duplicate mt nodes created

Expected behavior

A correct install without duplicated folders?

Platform and versions

windows 11
comfyui with venv

Console output

No response

Additional context

image

Strange log data

I don't know if it's really an issue - because in general everythings working fine using Swap Faces Node. But everytime I run the node this log appears:

[comfy_mtb.nodes.faceswap] | INFO -> Running insightface swap (batch size: 1)
[comfy_mtb.nodes.faceswap] | INFO -> Running insightface swap (batch size: 1)
[comfy_mtb.nodes.faceswap] | INFO -> Loading model C:\SD\ComfyUI_windows_portable\ComfyUI\models\insightface\inswapper_128.onnx
[comfy_mtb.nodes.faceswap] | INFO -> Loading model C:\SD\ComfyUI_windows_portable\ComfyUI\models\insightface\inswapper_128.onnx
2023-06-30 19:40:35.7929484 [W:onnxruntime:, graph.cc:3543 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'buff2fs'. It is not used by any node and should be removed from the model.
EP Error D:\a\_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1131 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "C:\SD\ComfyUI_windows_portable\python_embeded\lib\site-packages\onnxruntime\capi\onnxruntime_providers_tensorrt.dll"
 when using ['TensorrtExecutionProvider', 'CUDAExecutionProvider', 'CPUExecutionProvider']
Falling back to ['CUDAExecutionProvider', 'CPUExecutionProvider'] and retrying.
2023-06-30 19:40:35.9152303 [W:onnxruntime:, graph.cc:3543 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'buff2fs'. It is not used by any node and should be removed from the model.
Applied providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], with options: {'CUDAExecutionProvider': {'do_copy_in_default_stream': '1', 'cudnn_conv_algo_search': 'EXHAUSTIVE', 'device_id': '0', 'gpu_external_alloc': '0', 'enable_cuda_graph': '0', 'gpu_mem_limit': '18446744073709551615', 'gpu_external_free': '0', 'gpu_external_empty_cache': '0', 'arena_extend_strategy': 'kNextPowerOfTwo', 'cudnn_conv_use_max_workspace': '1', 'cudnn_conv1d_pad_to_nc1d': '0', 'tunable_op_enable': '0', 'tunable_op_tuning_enable': '0', 'enable_skip_layer_norm_strict_mode': '0'}, 'CPUExecutionProvider': {}}inswapper-shape: [1, 3, 128, 128]
[comfy_mtb.nodes.faceswap] | INFO -> Model loaded
[comfy_mtb.nodes.faceswap] | INFO -> Model loaded
[comfy_mtb.nodes.faceswap] | INFO -> Swapping faces: {0}
[comfy_mtb.nodes.faceswap] | INFO -> Swapping faces: {0}
EP Error D:\a\_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1131 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "C:\SD\ComfyUI_windows_portable\python_embeded\lib\site-packages\onnxruntime\capi\onnxruntime_providers_tensorrt.dll"
 when using ['TensorrtExecutionProvider', 'CUDAExecutionProvider', 'CPUExecutionProvider']
Falling back to ['CUDAExecutionProvider', 'CPUExecutionProvider'] and retrying.
Applied providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], with options: {'CUDAExecutionProvider': {'do_copy_in_default_stream': '1', 'cudnn_conv_algo_search': 'EXHAUSTIVE', 'device_id': '0', 'gpu_external_alloc': '0', 'enable_cuda_graph': '0', 'gpu_mem_limit': '18446744073709551615', 'gpu_external_free': '0', 'gpu_external_empty_cache': '0', 'arena_extend_strategy': 'kNextPowerOfTwo', 'cudnn_conv_use_max_workspace': '1', 'cudnn_conv1d_pad_to_nc1d': '0', 'tunable_op_enable': '0', 'tunable_op_tuning_enable': '0', 'enable_skip_layer_norm_strict_mode': '0'}, 'CPUExecutionProvider': {}}find model: C:\Users\User1/.insightface\models\buffalo_l\1k3d68.onnx landmark_3d_68 ['None', 3, 192, 192] 0.0 1.0
EP Error D:\a\_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1131 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "C:\SD\ComfyUI_windows_portable\python_embeded\lib\site-packages\onnxruntime\capi\onnxruntime_providers_tensorrt.dll"
 when using ['TensorrtExecutionProvider', 'CUDAExecutionProvider', 'CPUExecutionProvider']
Falling back to ['CUDAExecutionProvider', 'CPUExecutionProvider'] and retrying.
Applied providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], with options: {'CUDAExecutionProvider': {'do_copy_in_default_stream': '1', 'cudnn_conv_algo_search': 'EXHAUSTIVE', 'device_id': '0', 'gpu_external_alloc': '0', 'enable_cuda_graph': '0', 'gpu_mem_limit': '18446744073709551615', 'gpu_external_free': '0', 'gpu_external_empty_cache': '0', 'arena_extend_strategy': 'kNextPowerOfTwo', 'cudnn_conv_use_max_workspace': '1', 'cudnn_conv1d_pad_to_nc1d': '0', 'tunable_op_enable': '0', 'tunable_op_tuning_enable': '0', 'enable_skip_layer_norm_strict_mode': '0'}, 'CPUExecutionProvider': {}}find model: C:\Users\User1/.insightface\models\buffalo_l\2d106det.onnx landmark_2d_106 ['None', 3, 192, 192] 0.0 1.0EP Error D:\a\_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1131 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "C:\SD\ComfyUI_windows_portable\python_embeded\lib\site-packages\onnxruntime\capi\onnxruntime_providers_tensorrt.dll"
 when using ['TensorrtExecutionProvider', 'CUDAExecutionProvider', 'CPUExecutionProvider']
Falling back to ['CUDAExecutionProvider', 'CPUExecutionProvider'] and retrying.
Applied providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], with options: {'CUDAExecutionProvider': {'do_copy_in_default_stream': '1', 'cudnn_conv_algo_search': 'EXHAUSTIVE', 'device_id': '0', 'gpu_external_alloc': '0', 'enable_cuda_graph': '0', 'gpu_mem_limit': '18446744073709551615', 'gpu_external_free': '0', 'gpu_external_empty_cache': '0', 'arena_extend_strategy': 'kNextPowerOfTwo', 'cudnn_conv_use_max_workspace': '1', 'cudnn_conv1d_pad_to_nc1d': '0', 'tunable_op_enable': '0', 'tunable_op_tuning_enable': '0', 'enable_skip_layer_norm_strict_mode': '0'}, 'CPUExecutionProvider': {}}find model: C:\Users\User1/.insightface\models\buffalo_l\det_10g.onnx detection [1, 3, '?', '?'] 127.5 128.0
EP Error D:\a\_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1131 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "C:\SD\ComfyUI_windows_portable\python_embeded\lib\site-packages\onnxruntime\capi\onnxruntime_providers_tensorrt.dll"
 when using ['TensorrtExecutionProvider', 'CUDAExecutionProvider', 'CPUExecutionProvider']
Falling back to ['CUDAExecutionProvider', 'CPUExecutionProvider'] and retrying.
Applied providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], with options: {'CUDAExecutionProvider': {'do_copy_in_default_stream': '1', 'cudnn_conv_algo_search': 'EXHAUSTIVE', 'device_id': '0', 'gpu_external_alloc': '0', 'enable_cuda_graph': '0', 'gpu_mem_limit': '18446744073709551615', 'gpu_external_free': '0', 'gpu_external_empty_cache': '0', 'arena_extend_strategy': 'kNextPowerOfTwo', 'cudnn_conv_use_max_workspace': '1', 'cudnn_conv1d_pad_to_nc1d': '0', 'tunable_op_enable': '0', 'tunable_op_tuning_enable': '0', 'enable_skip_layer_norm_strict_mode': '0'}, 'CPUExecutionProvider': {}}find model: C:\Users\User1/.insightface\models\buffalo_l\genderage.onnx genderage ['None', 3, 96, 96] 0.0 1.0
EP Error D:\a\_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1131 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "C:\SD\ComfyUI_windows_portable\python_embeded\lib\site-packages\onnxruntime\capi\onnxruntime_providers_tensorrt.dll"
 when using ['TensorrtExecutionProvider', 'CUDAExecutionProvider', 'CPUExecutionProvider']
Falling back to ['CUDAExecutionProvider', 'CPUExecutionProvider'] and retrying.
Applied providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], with options: {'CUDAExecutionProvider': {'do_copy_in_default_stream': '1', 'cudnn_conv_algo_search': 'EXHAUSTIVE', 'device_id': '0', 'gpu_external_alloc': '0', 'enable_cuda_graph': '0', 'gpu_mem_limit': '18446744073709551615', 'gpu_external_free': '0', 'gpu_external_empty_cache': '0', 'arena_extend_strategy': 'kNextPowerOfTwo', 'cudnn_conv_use_max_workspace': '1', 'cudnn_conv1d_pad_to_nc1d': '0', 'tunable_op_enable': '0', 'tunable_op_tuning_enable': '0', 'enable_skip_layer_norm_strict_mode': '0'}, 'CPUExecutionProvider': {}}find model: C:\Users\User1/.insightface\models\buffalo_l\w600k_r50.onnx recognition ['None', 3, 112, 112] 127.5 127.5
set det-size: (640, 640)
C:\SD\ComfyUI_windows_portable\python_embeded\lib\site-packages\insightface\utils\transform.py:68: FutureWarning: `rcond` parameter will change to the default of machine precision times ``max(M, N)`` where M and N are the input matrix dimensions.
To use the future default and silence this warning we advise to pass `rcond=None`, to keep using the old, explicitly pass `rcond=-1`.
  P = np.linalg.lstsq(X_homo, Y)[0].T # Affine matrix. 3 x 4
EP Error D:\a\_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1131 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "C:\SD\ComfyUI_windows_portable\python_embeded\lib\site-packages\onnxruntime\capi\onnxruntime_providers_tensorrt.dll"
 when using ['TensorrtExecutionProvider', 'CUDAExecutionProvider', 'CPUExecutionProvider']
Falling back to ['CUDAExecutionProvider', 'CPUExecutionProvider'] and retrying.
Applied providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], with options: {'CUDAExecutionProvider': {'do_copy_in_default_stream': '1', 'cudnn_conv_algo_search': 'EXHAUSTIVE', 'device_id': '0', 'gpu_external_alloc': '0', 'enable_cuda_graph': '0', 'gpu_mem_limit': '18446744073709551615', 'gpu_external_free': '0', 'gpu_external_empty_cache': '0', 'arena_extend_strategy': 'kNextPowerOfTwo', 'cudnn_conv_use_max_workspace': '1', 'cudnn_conv1d_pad_to_nc1d': '0', 'tunable_op_enable': '0', 'tunable_op_tuning_enable': '0', 'enable_skip_layer_norm_strict_mode': '0'}, 'CPUExecutionProvider': {}}
find model: C:\Users\User1/.insightface\models\buffalo_l\1k3d68.onnx landmark_3d_68 ['None', 3, 192, 192] 0.0 1.0
EP Error D:\a\_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1131 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "C:\SD\ComfyUI_windows_portable\python_embeded\lib\site-packages\onnxruntime\capi\onnxruntime_providers_tensorrt.dll"
 when using ['TensorrtExecutionProvider', 'CUDAExecutionProvider', 'CPUExecutionProvider']
Falling back to ['CUDAExecutionProvider', 'CPUExecutionProvider'] and retrying.
Applied providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], with options: {'CUDAExecutionProvider': {'do_copy_in_default_stream': '1', 'cudnn_conv_algo_search': 'EXHAUSTIVE', 'device_id': '0', 'gpu_external_alloc': '0', 'enable_cuda_graph': '0', 'gpu_mem_limit': '18446744073709551615', 'gpu_external_free': '0', 'gpu_external_empty_cache': '0', 'arena_extend_strategy': 'kNextPowerOfTwo', 'cudnn_conv_use_max_workspace': '1', 'cudnn_conv1d_pad_to_nc1d': '0', 'tunable_op_enable': '0', 'tunable_op_tuning_enable': '0', 'enable_skip_layer_norm_strict_mode': '0'}, 'CPUExecutionProvider': {}}
find model: C:\Users\User1/.insightface\models\buffalo_l\2d106det.onnx landmark_2d_106 ['None', 3, 192, 192] 0.0 1.0
EP Error D:\a\_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1131 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "C:\SD\ComfyUI_windows_portable\python_embeded\lib\site-packages\onnxruntime\capi\onnxruntime_providers_tensorrt.dll"
 when using ['TensorrtExecutionProvider', 'CUDAExecutionProvider', 'CPUExecutionProvider']
Falling back to ['CUDAExecutionProvider', 'CPUExecutionProvider'] and retrying.
Applied providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], with options: {'CUDAExecutionProvider': {'do_copy_in_default_stream': '1', 'cudnn_conv_algo_search': 'EXHAUSTIVE', 'device_id': '0', 'gpu_external_alloc': '0', 'enable_cuda_graph': '0', 'gpu_mem_limit': '18446744073709551615', 'gpu_external_free': '0', 'gpu_external_empty_cache': '0', 'arena_extend_strategy': 'kNextPowerOfTwo', 'cudnn_conv_use_max_workspace': '1', 'cudnn_conv1d_pad_to_nc1d': '0', 'tunable_op_enable': '0', 'tunable_op_tuning_enable': '0', 'enable_skip_layer_norm_strict_mode': '0'}, 'CPUExecutionProvider': {}}
find model: C:\Users\User1/.insightface\models\buffalo_l\det_10g.onnx detection [1, 3, '?', '?'] 127.5 128.0
EP Error D:\a\_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1131 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "C:\SD\ComfyUI_windows_portable\python_embeded\lib\site-packages\onnxruntime\capi\onnxruntime_providers_tensorrt.dll"
 when using ['TensorrtExecutionProvider', 'CUDAExecutionProvider', 'CPUExecutionProvider']
Falling back to ['CUDAExecutionProvider', 'CPUExecutionProvider'] and retrying.
Applied providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], with options: {'CUDAExecutionProvider': {'do_copy_in_default_stream': '1', 'cudnn_conv_algo_search': 'EXHAUSTIVE', 'device_id': '0', 'gpu_external_alloc': '0', 'enable_cuda_graph': '0', 'gpu_mem_limit': '18446744073709551615', 'gpu_external_free': '0', 'gpu_external_empty_cache': '0', 'arena_extend_strategy': 'kNextPowerOfTwo', 'cudnn_conv_use_max_workspace': '1', 'cudnn_conv1d_pad_to_nc1d': '0', 'tunable_op_enable': '0', 'tunable_op_tuning_enable': '0', 'enable_skip_layer_norm_strict_mode': '0'}, 'CPUExecutionProvider': {}}
find model: C:\Users\User1/.insightface\models\buffalo_l\genderage.onnx genderage ['None', 3, 96, 96] 0.0 1.0
EP Error D:\a\_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1131 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "C:\SD\ComfyUI_windows_portable\python_embeded\lib\site-packages\onnxruntime\capi\onnxruntime_providers_tensorrt.dll"
 when using ['TensorrtExecutionProvider', 'CUDAExecutionProvider', 'CPUExecutionProvider']
Falling back to ['CUDAExecutionProvider', 'CPUExecutionProvider'] and retrying.
Applied providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], with options: {'CUDAExecutionProvider': {'do_copy_in_default_stream': '1', 'cudnn_conv_algo_search': 'EXHAUSTIVE', 'device_id': '0', 'gpu_external_alloc': '0', 'enable_cuda_graph': '0', 'gpu_mem_limit': '18446744073709551615', 'gpu_external_free': '0', 'gpu_external_empty_cache': '0', 'arena_extend_strategy': 'kNextPowerOfTwo', 'cudnn_conv_use_max_workspace': '1', 'cudnn_conv1d_pad_to_nc1d': '0', 'tunable_op_enable': '0', 'tunable_op_tuning_enable': '0', 'enable_skip_layer_norm_strict_mode': '0'}, 'CPUExecutionProvider': {}}
find model: C:\Users\User1/.insightface\models\buffalo_l\w600k_r50.onnx recognition ['None', 3, 112, 112] 127.5 127.5
set det-size: (640, 640)
Prompt executed in 23.54 seconds

I noticed the repeating path "D:\a_work" - Maybe an hardcoded path?

ComfyUIs python_embeded does not want to compile insightface

Hi!

If I try to install it I'm running into this error message:

C:\SD\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfy_mtb>C:\SD\ComfyUI_windows_portable\python_embeded\python.exe` -m pip install -r requirements.txt

Collecting onnxruntime-gpu (from -r requirements.txt (line 1))
  Using cached onnxruntime_gpu-1.15.1-cp310-cp310-win_amd64.whl (122.5 MB)
Requirement already satisfied: imageio in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from -r requirements.txt (line 2)) (2.26.0)
Collecting qrcode[pil] (from -r requirements.txt (line 3))
  Using cached qrcode-7.4.2-py3-none-any.whl (46 kB)
Collecting numpy==1.23.5 (from -r requirements.txt (line 4))
  Using cached numpy-1.23.5-cp310-cp310-win_amd64.whl (14.6 MB)
Requirement already satisfied: ifnude==0.0.3 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from -r requirements.txt (line 5)) (0.0.3)
Collecting insightface==0.7.3 (from -r requirements.txt (line 6))
  Using cached insightface-0.7.3.tar.gz (439 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: mmcv==2.0.0 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from -r requirements.txt (line 7)) (2.0.0)
Requirement already satisfied: mmdet==3.0.0 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from -r requirements.txt (line 8)) (3.0.0)
Collecting rembg==2.0.37 (from -r requirements.txt (line 9))
  Using cached rembg-2.0.37-py3-none-any.whl (23 kB)
Requirement already satisfied: pillow in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from ifnude==0.0.3->-r requirements.txt (line 5)) (9.4.0)
Requirement already satisfied: opencv-python-headless>=4.5.1.48 in c:\users\christian\appdata\roaming\python\python310\site-packages (from ifnude==0.0.3->-r requirements.txt (line 5)) (4.7.0.72)
Requirement already satisfied: tqdm in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from ifnude==0.0.3->-r requirements.txt (line 5)) (4.65.0)
Requirement already satisfied: scikit-image in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from ifnude==0.0.3->-r requirements.txt (line 5)) (0.20.0)
Requirement already satisfied: onnxruntime in c:\users\christian\appdata\roaming\python\python310\site-packages (from ifnude==0.0.3->-r requirements.txt (line 5)) (1.15.0)
Collecting onnx (from insightface==0.7.3->-r requirements.txt (line 6))
  Using cached onnx-1.14.0-cp310-cp310-win_amd64.whl (13.3 MB)
Requirement already satisfied: requests in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from insightface==0.7.3->-r requirements.txt (line 6)) (2.28.2)
Requirement already satisfied: matplotlib in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from insightface==0.7.3->-r requirements.txt (line 6)) (3.7.1)
Requirement already satisfied: scipy in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from insightface==0.7.3->-r requirements.txt (line 6)) (1.10.1)
Collecting scikit-learn (from insightface==0.7.3->-r requirements.txt (line 6))
  Using cached scikit_learn-1.2.2-cp310-cp310-win_amd64.whl (8.3 MB)
Collecting easydict (from insightface==0.7.3->-r requirements.txt (line 6))
  Using cached easydict-1.10-py3-none-any.whl
Requirement already satisfied: cython in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from insightface==0.7.3->-r requirements.txt (line 6)) (0.29.35)
Collecting albumentations (from insightface==0.7.3->-r requirements.txt (line 6))
  Using cached albumentations-1.3.1-py3-none-any.whl (125 kB)
Requirement already satisfied: prettytable in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from insightface==0.7.3->-r requirements.txt (line 6)) (3.6.0)
Requirement already satisfied: addict in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from mmcv==2.0.0->-r requirements.txt (line 7)) (2.4.0)
Requirement already satisfied: mmengine>=0.2.0 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from mmcv==2.0.0->-r requirements.txt (line 7)) (0.7.4)
Requirement already satisfied: packaging in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from mmcv==2.0.0->-r requirements.txt (line 7)) (23.0)
Requirement already satisfied: pyyaml in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from mmcv==2.0.0->-r requirements.txt (line 7)) (6.0)
Requirement already satisfied: yapf in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from mmcv==2.0.0->-r requirements.txt (line 7)) (0.32.0)
Requirement already satisfied: opencv-python>=3 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from mmcv==2.0.0->-r requirements.txt (line 7)) (4.7.0.72)
Requirement already satisfied: regex in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from mmcv==2.0.0->-r requirements.txt (line 7)) (2023.3.23)
Requirement already satisfied: pycocotools in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from mmdet==3.0.0->-r requirements.txt (line 8)) (2.0.6)
Requirement already satisfied: shapely in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from mmdet==3.0.0->-r requirements.txt (line 8)) (2.0.1)
Requirement already satisfied: six in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from mmdet==3.0.0->-r requirements.txt (line 8)) (1.16.0)
Requirement already satisfied: terminaltables in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from mmdet==3.0.0->-r requirements.txt (line 8)) (3.1.10)
Requirement already satisfied: aiohttp>=3.8.1 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from rembg==2.0.37->-r requirements.txt (line 9)) (3.8.4)
Requirement already satisfied: asyncer>=0.0.2 in c:\users\christian\appdata\roaming\python\python310\site-packages (from rembg==2.0.37->-r requirements.txt (line 9)) (0.0.2)
Requirement already satisfied: click>=8.1.3 in c:\users\christian\appdata\roaming\python\python310\site-packages (from rembg==2.0.37->-r requirements.txt (line 9)) (8.1.3)
Requirement already satisfied: fastapi>=0.92.0 in c:\users\christian\appdata\roaming\python\python310\site-packages (from rembg==2.0.37->-r requirements.txt (line 9)) (0.96.1)
Requirement already satisfied: filetype>=1.2.0 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from rembg==2.0.37->-r requirements.txt (line 9)) (1.2.0)
Requirement already satisfied: imagehash>=4.3.1 in c:\users\christian\appdata\roaming\python\python310\site-packages (from rembg==2.0.37->-r requirements.txt (line 9)) (4.3.1)
Requirement already satisfied: pooch>=1.6.0 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from rembg==2.0.37->-r requirements.txt (line 9)) (1.7.0)
Requirement already satisfied: pymatting>=1.1.8 in c:\users\christian\appdata\roaming\python\python310\site-packages (from rembg==2.0.37->-r requirements.txt (line 9)) (1.1.8)
Requirement already satisfied: python-multipart>=0.0.5 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from rembg==2.0.37->-r requirements.txt (line 9)) (0.0.6)
Requirement already satisfied: uvicorn>=0.20.0 in c:\users\christian\appdata\roaming\python\python310\site-packages (from rembg==2.0.37->-r requirements.txt (line 9)) (0.22.0)
Requirement already satisfied: watchdog>=2.1.9 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from rembg==2.0.37->-r requirements.txt (line 9)) (3.0.0)
Requirement already satisfied: coloredlogs in c:\users\christian\appdata\roaming\python\python310\site-packages (from onnxruntime-gpu->-r requirements.txt (line 1)) (15.0.1)
Requirement already satisfied: flatbuffers in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from onnxruntime-gpu->-r requirements.txt (line 1)) (23.3.3)
Requirement already satisfied: protobuf in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from onnxruntime-gpu->-r requirements.txt (line 1)) (3.20.3)
Requirement already satisfied: sympy in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from onnxruntime-gpu->-r requirements.txt (line 1)) (1.11.1)
Requirement already satisfied: typing-extensions in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from qrcode[pil]->-r requirements.txt (line 3)) (4.5.0)
Collecting pypng (from qrcode[pil]->-r requirements.txt (line 3))
  Using cached pypng-0.20220715.0-py3-none-any.whl (58 kB)
Requirement already satisfied: colorama in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from qrcode[pil]->-r requirements.txt (line 3)) (0.4.6)
Requirement already satisfied: attrs>=17.3.0 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from aiohttp>=3.8.1->rembg==2.0.37->-r requirements.txt (line 9)) (22.2.0)
Requirement already satisfied: charset-normalizer<4.0,>=2.0 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from aiohttp>=3.8.1->rembg==2.0.37->-r requirements.txt (line 9)) (3.1.0)
Requirement already satisfied: multidict<7.0,>=4.5 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from aiohttp>=3.8.1->rembg==2.0.37->-r requirements.txt (line 9)) (6.0.4)
Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from aiohttp>=3.8.1->rembg==2.0.37->-r requirements.txt (line 9)) (4.0.2)
Requirement already satisfied: yarl<2.0,>=1.0 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from aiohttp>=3.8.1->rembg==2.0.37->-r requirements.txt (line 9)) (1.8.2)
Requirement already satisfied: frozenlist>=1.1.1 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from aiohttp>=3.8.1->rembg==2.0.37->-r requirements.txt (line 9)) (1.3.3)
Requirement already satisfied: aiosignal>=1.1.2 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from aiohttp>=3.8.1->rembg==2.0.37->-r requirements.txt (line 9)) (1.3.1)
Requirement already satisfied: anyio<4.0.0,>=3.4.0 in c:\users\christian\appdata\roaming\python\python310\site-packages (from asyncer>=0.0.2->rembg==2.0.37->-r requirements.txt (line 9)) (3.7.0)
Requirement already satisfied: pydantic!=1.8,!=1.8.1,<2.0.0,>=1.7.4 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from fastapi>=0.92.0->rembg==2.0.37->-r requirements.txt (line 9)) (1.10.9)
Requirement already satisfied: starlette<0.28.0,>=0.27.0 in c:\users\christian\appdata\roaming\python\python310\site-packages (from fastapi>=0.92.0->rembg==2.0.37->-r requirements.txt (line 9)) (0.27.0)
Requirement already satisfied: PyWavelets in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from imagehash>=4.3.1->rembg==2.0.37->-r requirements.txt (line 9)) (1.4.1)
Requirement already satisfied: rich in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from mmengine>=0.2.0->mmcv==2.0.0->-r requirements.txt (line 7)) (13.4.2)
Requirement already satisfied: termcolor in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from mmengine>=0.2.0->mmcv==2.0.0->-r requirements.txt (line 7)) (2.2.0)
Requirement already satisfied: platformdirs>=2.5.0 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from pooch>=1.6.0->rembg==2.0.37->-r requirements.txt (line 9)) (3.5.3)
Requirement already satisfied: numba!=0.49.0 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from pymatting>=1.1.8->rembg==2.0.37->-r requirements.txt (line 9)) (0.57.0)
Requirement already satisfied: idna<4,>=2.5 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from requests->insightface==0.7.3->-r requirements.txt (line 6)) (3.4)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from requests->insightface==0.7.3->-r requirements.txt (line 6)) (1.26.15)
Requirement already satisfied: certifi>=2017.4.17 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from requests->insightface==0.7.3->-r requirements.txt (line 6)) (2022.12.7)
Requirement already satisfied: networkx>=2.8 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from scikit-image->ifnude==0.0.3->-r requirements.txt (line 5)) (3.1)
Requirement already satisfied: tifffile>=2019.7.26 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from scikit-image->ifnude==0.0.3->-r requirements.txt (line 5)) (2023.3.15)
Requirement already satisfied: lazy_loader>=0.1 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from scikit-image->ifnude==0.0.3->-r requirements.txt (line 5)) (0.1)
Requirement already satisfied: h11>=0.8 in c:\users\christian\appdata\roaming\python\python310\site-packages (from uvicorn>=0.20.0->rembg==2.0.37->-r requirements.txt (line 9)) (0.14.0)
Collecting qudida>=0.0.4 (from albumentations->insightface==0.7.3->-r requirements.txt (line 6))
  Using cached qudida-0.0.4-py3-none-any.whl (3.5 kB)
Requirement already satisfied: humanfriendly>=9.1 in c:\users\christian\appdata\roaming\python\python310\site-packages (from coloredlogs->onnxruntime-gpu->-r requirements.txt (line 1)) (10.0)
Requirement already satisfied: contourpy>=1.0.1 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from matplotlib->insightface==0.7.3->-r requirements.txt (line 6)) (1.0.7)
Requirement already satisfied: cycler>=0.10 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from matplotlib->insightface==0.7.3->-r requirements.txt (line 6)) (0.11.0)
Requirement already satisfied: fonttools>=4.22.0 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from matplotlib->insightface==0.7.3->-r requirements.txt (line 6)) (4.39.2)
Requirement already satisfied: kiwisolver>=1.0.1 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from matplotlib->insightface==0.7.3->-r requirements.txt (line 6)) (1.4.4)
Requirement already satisfied: pyparsing>=2.3.1 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from matplotlib->insightface==0.7.3->-r requirements.txt (line 6)) (3.0.9)
Requirement already satisfied: python-dateutil>=2.7 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from matplotlib->insightface==0.7.3->-r requirements.txt (line 6)) (2.8.2)
Requirement already satisfied: wcwidth in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from prettytable->insightface==0.7.3->-r requirements.txt (line 6)) (0.2.6)
Collecting joblib>=1.1.1 (from scikit-learn->insightface==0.7.3->-r requirements.txt (line 6))
  Using cached joblib-1.2.0-py3-none-any.whl (297 kB)
Collecting threadpoolctl>=2.0.0 (from scikit-learn->insightface==0.7.3->-r requirements.txt (line 6))
  Using cached threadpoolctl-3.1.0-py3-none-any.whl (14 kB)
Requirement already satisfied: mpmath>=0.19 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from sympy->onnxruntime-gpu->-r requirements.txt (line 1)) (1.3.0)
Requirement already satisfied: sniffio>=1.1 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from anyio<4.0.0,>=3.4.0->asyncer>=0.0.2->rembg==2.0.37->-r requirements.txt (line 9)) (1.3.0)
Requirement already satisfied: exceptiongroup in c:\users\christian\appdata\roaming\python\python310\site-packages (from anyio<4.0.0,>=3.4.0->asyncer>=0.0.2->rembg==2.0.37->-r requirements.txt (line 9)) (1.1.1)
Requirement already satisfied: pyreadline3 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from humanfriendly>=9.1->coloredlogs->onnxruntime-gpu->-r requirements.txt (line 1)) (3.4.1)
Requirement already satisfied: llvmlite<0.41,>=0.40.0dev0 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from numba!=0.49.0->pymatting>=1.1.8->rembg==2.0.37->-r requirements.txt (line 9)) (0.40.0)
Requirement already satisfied: markdown-it-py>=2.2.0 in c:\users\christian\appdata\roaming\python\python310\site-packages (from rich->mmengine>=0.2.0->mmcv==2.0.0->-r requirements.txt (line 7)) (2.2.0)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages (from rich->mmengine>=0.2.0->mmcv==2.0.0->-r requirements.txt (line 7)) (2.15.1)
Requirement already satisfied: mdurl~=0.1 in c:\users\christian\appdata\roaming\python\python310\site-packages (from markdown-it-py>=2.2.0->rich->mmengine>=0.2.0->mmcv==2.0.0->-r requirements.txt (line 7)) (0.1.2)
Building wheels for collected packages: insightface
  Building wheel for insightface (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for insightface (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [187 lines of output]
      WARNING: pandoc not enabled
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-cpython-310
      creating build\lib.win-amd64-cpython-310\insightface
      copying insightface\__init__.py -> build\lib.win-amd64-cpython-310\insightface
      creating build\lib.win-amd64-cpython-310\insightface\app
      copying insightface\app\common.py -> build\lib.win-amd64-cpython-310\insightface\app
      copying insightface\app\face_analysis.py -> build\lib.win-amd64-cpython-310\insightface\app
      copying insightface\app\mask_renderer.py -> build\lib.win-amd64-cpython-310\insightface\app
      copying insightface\app\__init__.py -> build\lib.win-amd64-cpython-310\insightface\app
      creating build\lib.win-amd64-cpython-310\insightface\commands
      copying insightface\commands\insightface_cli.py -> build\lib.win-amd64-cpython-310\insightface\commands
      copying insightface\commands\model_download.py -> build\lib.win-amd64-cpython-310\insightface\commands
      copying insightface\commands\rec_add_mask_param.py -> build\lib.win-amd64-cpython-310\insightface\commands
      copying insightface\commands\__init__.py -> build\lib.win-amd64-cpython-310\insightface\commands
      creating build\lib.win-amd64-cpython-310\insightface\data
      copying insightface\data\image.py -> build\lib.win-amd64-cpython-310\insightface\data
      copying insightface\data\pickle_object.py -> build\lib.win-amd64-cpython-310\insightface\data
      copying insightface\data\rec_builder.py -> build\lib.win-amd64-cpython-310\insightface\data
      copying insightface\data\__init__.py -> build\lib.win-amd64-cpython-310\insightface\data
      creating build\lib.win-amd64-cpython-310\insightface\model_zoo
      copying insightface\model_zoo\arcface_onnx.py -> build\lib.win-amd64-cpython-310\insightface\model_zoo
      copying insightface\model_zoo\attribute.py -> build\lib.win-amd64-cpython-310\insightface\model_zoo
      copying insightface\model_zoo\inswapper.py -> build\lib.win-amd64-cpython-310\insightface\model_zoo
      copying insightface\model_zoo\landmark.py -> build\lib.win-amd64-cpython-310\insightface\model_zoo
      copying insightface\model_zoo\model_store.py -> build\lib.win-amd64-cpython-310\insightface\model_zoo
      copying insightface\model_zoo\model_zoo.py -> build\lib.win-amd64-cpython-310\insightface\model_zoo
      copying insightface\model_zoo\retinaface.py -> build\lib.win-amd64-cpython-310\insightface\model_zoo
      copying insightface\model_zoo\scrfd.py -> build\lib.win-amd64-cpython-310\insightface\model_zoo
      copying insightface\model_zoo\__init__.py -> build\lib.win-amd64-cpython-310\insightface\model_zoo
      creating build\lib.win-amd64-cpython-310\insightface\thirdparty
      copying insightface\thirdparty\__init__.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty
      creating build\lib.win-amd64-cpython-310\insightface\utils
      copying insightface\utils\constant.py -> build\lib.win-amd64-cpython-310\insightface\utils
      copying insightface\utils\download.py -> build\lib.win-amd64-cpython-310\insightface\utils
      copying insightface\utils\face_align.py -> build\lib.win-amd64-cpython-310\insightface\utils
      copying insightface\utils\filesystem.py -> build\lib.win-amd64-cpython-310\insightface\utils
      copying insightface\utils\storage.py -> build\lib.win-amd64-cpython-310\insightface\utils
      copying insightface\utils\transform.py -> build\lib.win-amd64-cpython-310\insightface\utils
      copying insightface\utils\__init__.py -> build\lib.win-amd64-cpython-310\insightface\utils
      creating build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d
      copying insightface\thirdparty\face3d\__init__.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d
      creating build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh
      copying insightface\thirdparty\face3d\mesh\io.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh
      copying insightface\thirdparty\face3d\mesh\light.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh
      copying insightface\thirdparty\face3d\mesh\render.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh
      copying insightface\thirdparty\face3d\mesh\transform.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh
      copying insightface\thirdparty\face3d\mesh\vis.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh
      copying insightface\thirdparty\face3d\mesh\__init__.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh
      creating build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh_numpy
      copying insightface\thirdparty\face3d\mesh_numpy\io.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh_numpy
      copying insightface\thirdparty\face3d\mesh_numpy\light.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh_numpy
      copying insightface\thirdparty\face3d\mesh_numpy\render.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh_numpy
      copying insightface\thirdparty\face3d\mesh_numpy\transform.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh_numpy
      copying insightface\thirdparty\face3d\mesh_numpy\vis.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh_numpy
      copying insightface\thirdparty\face3d\mesh_numpy\__init__.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh_numpy
      creating build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\morphable_model
      copying insightface\thirdparty\face3d\morphable_model\fit.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\morphable_model
      copying insightface\thirdparty\face3d\morphable_model\load.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\morphable_model
      copying insightface\thirdparty\face3d\morphable_model\morphabel_model.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\morphable_model
      copying insightface\thirdparty\face3d\morphable_model\__init__.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\morphable_model
      running egg_info
      writing insightface.egg-info\PKG-INFO
      writing dependency_links to insightface.egg-info\dependency_links.txt
      writing entry points to insightface.egg-info\entry_points.txt
      writing requirements to insightface.egg-info\requires.txt
      writing top-level names to insightface.egg-info\top_level.txt
      reading manifest file 'insightface.egg-info\SOURCES.txt'
      writing manifest file 'insightface.egg-info\SOURCES.txt'
      C:\SD\ComfyUI_windows_portable\python_embeded\lib\site-packages\setuptools\command\build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'insightface.thirdparty.face3d.mesh.cython' as data is deprecated, please list it in `packages`.
          !!


          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'insightface.thirdparty.face3d.mesh.cython' as an importable package,
          but it is not listed in the `packages` configuration of setuptools.

          'insightface.thirdparty.face3d.mesh.cython' has been automatically added to the distribution only
          because it may contain data files, but this behavior is likely to change
          in future versions of setuptools (and therefore is considered deprecated).

          Please make sure that 'insightface.thirdparty.face3d.mesh.cython' is included as a package by using
          the `packages` configuration field or the proper discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).

          You can read more about "package discovery" and "data files" on setuptools
          documentation page.


      !!

        check.warn(importable)
      C:\SD\ComfyUI_windows_portable\python_embeded\lib\site-packages\setuptools\command\build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'insightface.data.images' as data is deprecated, please list it in `packages`.
          !!


          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'insightface.data.images' as an importable package,
          but it is not listed in the `packages` configuration of setuptools.

          'insightface.data.images' has been automatically added to the distribution only
          because it may contain data files, but this behavior is likely to change
          in future versions of setuptools (and therefore is considered deprecated).

          Please make sure that 'insightface.data.images' is included as a package by using
          the `packages` configuration field or the proper discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).

          You can read more about "package discovery" and "data files" on setuptools
          documentation page.


      !!

        check.warn(importable)
      C:\SD\ComfyUI_windows_portable\python_embeded\lib\site-packages\setuptools\command\build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'insightface.data.objects' as data is deprecated, please list it in `packages`.
          !!


          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'insightface.data.objects' as an importable package,
          but it is not listed in the `packages` configuration of setuptools.

          'insightface.data.objects' has been automatically added to the distribution only
          because it may contain data files, but this behavior is likely to change
          in future versions of setuptools (and therefore is considered deprecated).

          Please make sure that 'insightface.data.objects' is included as a package by using
          the `packages` configuration field or the proper discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).

          You can read more about "package discovery" and "data files" on setuptools
          documentation page.


      !!

        check.warn(importable)
      creating build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh\cython
      copying insightface\thirdparty\face3d\mesh\cython\mesh_core.cpp -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh\cython
      copying insightface\thirdparty\face3d\mesh\cython\mesh_core_cython.cpp -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh\cython
      creating build\lib.win-amd64-cpython-310\insightface\data\images
      copying insightface\data\images\Tom_Hanks_54745.png -> build\lib.win-amd64-cpython-310\insightface\data\images
      copying insightface\data\images\mask_black.jpg -> build\lib.win-amd64-cpython-310\insightface\data\images
      copying insightface\data\images\mask_blue.jpg -> build\lib.win-amd64-cpython-310\insightface\data\images
      copying insightface\data\images\mask_green.jpg -> build\lib.win-amd64-cpython-310\insightface\data\images
      copying insightface\data\images\mask_white.jpg -> build\lib.win-amd64-cpython-310\insightface\data\images
      copying insightface\data\images\t1.jpg -> build\lib.win-amd64-cpython-310\insightface\data\images
      creating build\lib.win-amd64-cpython-310\insightface\data\objects
      copying insightface\data\objects\meanshape_68.pkl -> build\lib.win-amd64-cpython-310\insightface\data\objects
      copying insightface\thirdparty\face3d\mesh\cython\mesh_core.h -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh\cython
      copying insightface\thirdparty\face3d\mesh\cython\mesh_core_cython.c -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh\cython
      copying insightface\thirdparty\face3d\mesh\cython\mesh_core_cython.pyx -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh\cython
      copying insightface\thirdparty\face3d\mesh\cython\setup.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh\cython
      running build_ext
      building 'insightface.thirdparty.face3d.mesh.cython.mesh_core_cython' extension
      creating build\temp.win-amd64-cpython-310
      creating build\temp.win-amd64-cpython-310\Release
      creating build\temp.win-amd64-cpython-310\Release\insightface
      creating build\temp.win-amd64-cpython-310\Release\insightface\thirdparty
      creating build\temp.win-amd64-cpython-310\Release\insightface\thirdparty\face3d
      creating build\temp.win-amd64-cpython-310\Release\insightface\thirdparty\face3d\mesh
      creating build\temp.win-amd64-cpython-310\Release\insightface\thirdparty\face3d\mesh\cython
      "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -Iinsightface/thirdparty/face3d/mesh/cython -IC:\SD\ComfyUI_windows_portable\python_embeded\lib\site-packages\numpy\core\include -IC:\SD\ComfyUI_windows_portable\python_embeded\include -IC:\SD\ComfyUI_windows_portable\python_embeded\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /EHsc /Tpinsightface/thirdparty/face3d/mesh/cython/mesh_core.cpp /Fobuild\temp.win-amd64-cpython-310\Release\insightface/thirdparty/face3d/mesh/cython/mesh_core.obj
      mesh_core.cpp
      insightface/thirdparty/face3d/mesh/cython/mesh_core.cpp(147): warning C4244: "=": Konvertierung von "int" in "float", m”glicher Datenverlust
      insightface/thirdparty/face3d/mesh/cython/mesh_core.cpp(147): warning C4244: "=": Konvertierung von "int" in "float", m”glicher Datenverlust
      insightface/thirdparty/face3d/mesh/cython/mesh_core.cpp(210): warning C4244: "=": Konvertierung von "int" in "float", m”glicher Datenverlust
      insightface/thirdparty/face3d/mesh/cython/mesh_core.cpp(210): warning C4244: "=": Konvertierung von "int" in "float", m”glicher Datenverlust
      insightface/thirdparty/face3d/mesh/cython/mesh_core.cpp(294): warning C4244: "=": Konvertierung von "int" in "float", m”glicher Datenverlust
      insightface/thirdparty/face3d/mesh/cython/mesh_core.cpp(294): warning C4244: "=": Konvertierung von "int" in "float", m”glicher Datenverlust
      "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -Iinsightface/thirdparty/face3d/mesh/cython -IC:\SD\ComfyUI_windows_portable\python_embeded\lib\site-packages\numpy\core\include -IC:\SD\ComfyUI_windows_portable\python_embeded\include -IC:\SD\ComfyUI_windows_portable\python_embeded\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /EHsc /Tpinsightface/thirdparty/face3d/mesh/cython/mesh_core_cython.cpp /Fobuild\temp.win-amd64-cpython-310\Release\insightface/thirdparty/face3d/mesh/cython/mesh_core_cython.obj
      mesh_core_cython.cpp
      insightface/thirdparty/face3d/mesh/cython/mesh_core_cython.cpp(26): fatal error C1083: Datei (Include) kann nicht ge”ffnet werden: "Python.h": No such file or directory
      error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for insightface
Failed to build insightface
ERROR: Could not build wheels for insightface, which is required to install pyproject.toml-based projects

which seems to be this issue
https://github.com/s0md3v/roop/issues/99

I guess it has something to do with Comfys embedded python, because my locally installed python installs all packages as required.
But of course all packages of my local python installation are not available on the embedded python of ComfyUI so I still run into this problem.

Could you please assist with this issue?

Kind regards

[feat] Ability or Doc to Disable Image Feed

Describe the problem

An easy way to remove or toggle the Image Feed feature aside from pulling the imagefeed.json (or it at least doc'd somewhere). Took me a bit to figure it out having not done much of any coding. I get a UI bug on my end (Ref 0), that makes it so I can't clear images. I usually do loops that make 40+ images and the Image Feed gets busy less I refresh the page

~ Fantastic nodes btw, thank you very much ~

Ref 0: Image feed options are blocked by another UI element
image

Describe the solution you'd like

A short addition to the docs on what file to pull, or a toggle of some kind.

[bug] FaceSwap node not loading

Describe the bug

FaceSwap
LoadFaceSwapModel
LoadFaceAnalysisModel
[comfy_mtb] | STATUS -> Some nodes failed to load:
Failed to import module faceswap because ModuleNotFoundError: No module named 'onnx.onnx_cpp2py_export.checker'; 'onnx.onnx_cpp2py_export' is not a package

Check that you properly installed the dependencies.

Reproduction

Reinstall MTB nodes
Faceswap nodes not loading

Expected behavior

Faceswap model listed as node, currently none

Platform and versions

Windows 11
Active VENV
### ComfyUI Revision: 1268 [a5599ed4]

Console output

[comfy_mtb] | WARNING -> Web extensions folder at A:\AI_Files\ComfyUI\web\extensions\mtb is not a symlink, if updating please delete it before
FaceSwap
LoadFaceSwapModel
LoadFaceAnalysisModel
[comfy_mtb] | STATUS -> Some nodes failed to load:
        Failed to import module faceswap because ModuleNotFoundError: No module named 'onnx.onnx_cpp2py_export.checker'; 'onnx.onnx_cpp2py_export' is not a package

Check that you properly installed the dependencies.

Additional context

I have really tried my best to solve this, but I get an error with ONNX building the wheels. Might that be the problem?
I don't have ROOP installed.

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for onnx
Failed to build onnx
ERROR: Could not build wheels for onnx, which is required to install pyproject.toml-based projects

Roop install problem

Hello, what command line do I use to install these custom nodes in ComfyUI through Google Colab? I want to use Faceswap. Tks.

ComfyUI Simlink Failure[bug]

Describe the bug

Log level: 20
[comfy_mtb] | ERROR -> Failed to create symlink to C:\AI_Files\ComfyUI_windows_portable\ComfyUI\web\extensions\mtb. Please copy the folder manually.

Reproduction

  1. Install MTB Node and Controlnet
  2. Symlink failure when the server starts
  3. Copy mtb to ComfyUI_windows_portable\ComfyUI\web\extensions
  4. Restart the server, but symlink still fails

Expected behavior

After copying the full folder to the suggested position no error should occur.

Platform and versions

Windows 11
ComfyUI Standalone "https://github.com/comfyanonymous/ComfyUI/releases"

Console output

Log level: 20
[comfy_mtb] | ERROR -> Failed to create symlink to C:\AI_Files\ComfyUI_windows_portable\ComfyUI\web\extensions\mtb. Please copy the folder manually.
[comfy_mtb] | ERROR -> Some nodes failed to load:
        Failed to import faceenhance because ModuleNotFoundError: No module named 'basicsr'
        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 'tensorflow'

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)

Additional context

No response

Wrong path in face enhance model load [bug]

Describe the bug

By default node can't load models. I found a mistake in node file.

Required change in file ComfyUI/custom_nodes/comfy_mtb/nodes/faceenhance.py
image

Reproduction

Add node Load Face Enhance Model (mtb)
Try to choose model

Expected behavior

No response

Platform and versions

Collab ComfyUI

Console output

No response

Additional context

No response

[bug] No module named 'basicsr' or 'insightface'

Describe the bug

I have done a clean reinstall of comfyui, downloaded my old custom nodes with comfyui manager, and the mtb face nodes are not loading in.

Reproduction

Just start comfyui.

Expected behavior

It should load the face nodes correctly.

Platform and versions

- OS: Windows
- Comfyui: latest, standalone, portable

Console output

[comfy_mtb] | INFO -> Some nodes failed to load:
        Failed to import module faceenhance because ModuleNotFoundError: No module named 'basicsr'
        Failed to import module faceswap because ModuleNotFoundError: No module named 'insightface'

Check that you properly installed the dependencies.

Additional context

I ran both requirements with pip and tried reinstalling the package, but it still gave the same error.

[bug] Film Interpolation only GIF no Image Sequence?

Describe the bug

Forgive me if i have missed a node, however i cannot see a way to save the image sequence created by FILM interpolate. It works great to save a GIF, however i would really find the images more useful.

Is there an example of how these images can be saved from the FILM node?

Thanks

Reproduction

  1. use FILM interp Json example
  2. Try to save the image sequence (not a Gif)

Gif compression can be very Lossy.

Expected behavior

Save image sequence to /output

Platform and versions

Windoze

Console output

No response

Additional context

No response

[bug] failed to import module, help I am bad at code

Describe the bug

Failed to import module but using install.py it says that I have all dependencies

Reproduction

No response

Expected behavior

To have all dependencies installed

Platform and versions

ComfyUI portable version

Console output

[comfy_mtb] | WARNING -> Web extensions folder at F:\Stable diffusion\ComfyUI_windows_portable\ComfyUI\web\extensions\mtb is not a symlink, if updating please delete it before
[comfy_mtb] | INFO -> Some nodes failed to load:
        Failed to import module faceenhance because ModuleNotFoundError: No module named 'basicsr'
        Failed to import module faceswap because ModuleNotFoundError: No module named 'insightface'
        Failed to import module generate because ModuleNotFoundError: No module named 'qrcode'
        Failed to import module image_interpolation because ModuleNotFoundError: No module named 'tensorflow'

Additional context

[mtb install] No arguments provided, doing a full install/update...
[mtb install] mtb install
[mtb install] Detected environment: unknown
[mtb install] Checking environment...
✅ Package onnxruntime-gpu already installed (import name: 'onnxruntime').
✅ Package qrcode already installed (import name: 'qrcode').
✅ Package rembg already installed (import name: 'rembg').
2023-08-24 13:57:29.585409: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
2023-08-24 13:57:29.585548: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
✅ Package tensorflow already installed (import name: 'tensorflow').
✅ Package facexlib already installed (import name: 'facexlib').
✅ Package insightface already installed (import name: 'insightface').
✅ Package basicsr already installed (import name: 'basicsr').
[mtb install] All requirements are already installed. Enjoy 🚀

[feat] Add support for disable.py (comfy-manager)

Describe the problem

When disabled, web extensions are currently kept

Describe the solution you'd like

disable.py (and probably enable.py I must check) are now called by comfy-manager, this is where it should be done.

Alternatives considered

No response

Additional context

There are maybe other things to consider adding to these two script

Totally unclear as to Load Image sequence[bug]

Describe the bug

You have a suite of amazing nodes with almost no instructions for use. I am trying to use "Load Image Sequence (MTB)" with little success. The problem is in the "path input." If I give it the full path to a given image, it will load that image over and over again, regardless of the current frame setting. I have the images named the same with a "( )" with a number in the parentheses. I've tried wildcards in the path etc., but unless I point to the actual file I get an error. How on God's green earth do I get this to load sequence of images? (As the name implies)

Reproduction

  1. Add Load Image Sequence (MTB) Node
  2. set the absolute path to an image with in a folder of sequential images
  3. press Queue Prompt
  4. It loads the targeted image
  5. increase the frame count by one
  6. press Queue Prompt
  7. if loads the firs image not the second
  8. Run screaming down the hall way because you will never get this stupid workflow to work.
  9. Make an issue on melMass' Git Hub and pray for a quick answer

Expected behavior

Well one would hope it would do what the name implies. . .

Platform and versions

-Windows 10
-ComfyUIBackend on Stable Swarm, but same issue on ComfyUI portable
-Everything is updated to current version as of right now.

Console output

No response

Additional context

I really Love you nodes! At least the ones that I can get to work. Please offer some instruction for you suite! Also I am a YouTube creator, if you will help me get these figured out I will happily post tutorials! -Ava

[feat] increase number of samples

Describe the problem

Your implementation is very fast, but I wonder if image quality suffers.
Take a look at this video:

https://www.dropbox.com/s/xdiwyfmv29szo6h/MTB_LowRes_Output.mp4?dl=0

Describe the solution you'd like

I'd love to increase the number of samples, so that images are crisp and clean

Alternatives considered

Is it possible to add a parameter that increases the number of samples?
Or, am I off target as to how the script works?

Additional context

No response

[bug] breaking core nodes?

Describe the bug

Installing the comfy_mtb custom nodes onto a windows 11 portable build seems to 'kill' other nodes that were in the main build - particularly "image scale" and "image scale by ratio" but possibly also the image upscale nodes. Removing the folder with the comfy_mtb files from the build doesn't restore the missing nodes. I suspect it has something to do with deprecated requirements but I don't really know for sure. I did two fresh builds to try and sort out why I kept having missing nodes and it was repeatable for me on my system that installing comfy_mtb caused the issue.

Reproduction

I tried cloning the nodes from github and building the wheels myself about 3 weeks ago and the nodes were missing afterwards but I didn't immediately connect it to the comfy_mtb.

Downloaded the nodes folder and wheels folder from https://github.com/melMass/comfy_mtb/releases and followed the installation notes twice today and had the problem both times.

Expected behavior

No response

Platform and versions

(Windows 11, intel i9-13900k, RTx 4090 cuda installed, Visual Studio 2022, Python 10.6)

Console output

No response

Additional context

No response

[Feature Request] Separate FaceSwap Model loading

Hi! Everythings working fine, but I guess there could be an enhancement regarding performance of the FaceSwap node:

Everytime the IMAGE input changes, the FaceSwap node loads up the faceswap model again:
Log:
[comfy_mtb.nodes.faceswap] | INFO -> Loading model C:\SD\ComfyUI_windows_portable\ComfyUI\models\insightface\inswapper_128.onnx

This could be improved by separating the FaceSwap node into two nodes - one for loading of the model, the second for applying the model.
I guess it was already tried to be implemented by the "getFaceSwapModel" function, but unfortunately the whole node is being reinitialized if an node input changes.

After generating animated GIF the preview overlay stays there forever [bug]

Describe the bug

After generating animated GIF the preview overlay stays there forever, even if you load a new workflow.
ComfyUI needs to be restarted to clear.

GIF

Reproduction

  1. Run animation deforum example
  2. See result
  3. try to load another workflow

Expected behavior

We need something to close that node.

Platform and versions

windows 10
python embeded
comfyui

Console output

No response

Additional context

No response

[bug] Several Nodes will not install

Describe the bug

image
As always thanks for you great nodes! Sadly I'm having trouble getting several of them to install.
They are:
Face Swap,
Face Enhance,
Mask,
Image Interpolation
Fun

I have tried installation through Manager in CompyUI as well a with git clone in CMD. I've run the install bats, basically I've done everything that I know to do.

I really need to use Face swap for a project that I'm working on, so any help would be awesome!

see attached output

Reproduction

  1. Click on install in Custom Nodes in Manager
  2. Restart ComfyUI
  3. Read the error message, scream swear and cry.
  4. Delete the folder and do a "git clone" from the MTB github
  5. Restart ComfyUI and get the same error message
  6. Do a "git pull" and get the "up to date" response
  7. try the exact set of steps on your other installation of ComfyUI
  8. Have the same results, and decide that it is a bug.
  9. Make a bug report and hope that it will get answered.

Expected behavior

Ummm that the nodes would install and load.

Platform and versions

-Windows 10
-ComfyUIBackend on Stable Swarm, but same issue on ComfyUI portable
-Everything is updated to current version as of right now.

Console output

No response

Additional context

I really Love you nodes! At least the ones that I can get to work. Please offer some instruction for you suite! Also I am a YouTube creator, if you will help me get these figured out I will happily post tutorials! -Ava

[bug] Not able to install Models, Install of mtb in ComfyUI still shows missing nodes

Describe the bug

I'm trying to use the mtb nodes. I've installed through the manager, but ComfyUI still shows the following nodes missing.

When loading the graph, the following node types were not found:
Face Swap (mtb)
Load Face Enhance Model (mtb)
Load Face Analysis Model (mtb)
Load Face Swap Model (mtb)
Restore Face (mtb)
Nodes that have failed to load will show as red on the graph

I've tried uninstalling and reinstalling mtb, but received the same error each time.

I thought perhaps that it was because the models were missing so I tried the python download_models.py script in the script folder, but I received the following error message:

ModuleNotFoundError: No module named 'requests'

I also tried to install the dependencies, but received this error when running python get_deps.py

\ComfyUI\custom_nodes\comfy_mtb\scripts\get_deps.py", line 5, in
from rich.console import Console
ModuleNotFoundError: No module named 'rich'

Reproduction

No response

Expected behavior

No response

Platform and versions

Windows

Console output

[comfy_mtb] | INFO -> Some nodes failed to load:
        Failed to import module faceenhance because ModuleNotFoundError: No module named 'gfpgan'
        Failed to import module faceswap because ModuleNotFoundError: No module named 'insightface'
        Failed to import module 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)

Additional context

No response

[bug] 01-faceswap.json - not sure, could be bug, but something (data) is missing.

Describe the bug

Hi dev I admire your work, and I have question (faceswap) about missing datas with screenshots:

Everything was cleanly installed, and I open your 01-faceswap.json.. As you can see in screenshot (1):
image

And so, I went to test for the first time by clicking on queue prompt, and it was not successful.
Because two shapes are missing? See screenshot (2):
image

First shape
image
Btw I have the file inswapper_128.onnx', but I can't find a folder to put the file in?
image

Second shape
image
I also have that file GFPGANv1.4.pth, but have no idea where to find the folder.
image

Check please console output, thanks.

I hope you can help me figure out where to move 2 important files so that the red shapes are no longer visible and your 01-faceswap.json can function optimally. I've been searching for it for 4 days but couldn't resolve it. Re thank you very much and greetings!

TQMA

Reproduction

No response

Expected behavior

No response

Platform and versions

Windows 10
ComfyUI + ComfyUI-Manager

Console output

C:\AI\ComfyUI\ComfyUI_windows_portable>.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build

Prestartup times for custom nodes:
   0.0 seconds: C:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager

Total VRAM 8192 MB, total RAM 32604 MB
xformers version: 0.0.20
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 3060 Ti : cudaMallocAsync
Using xformers cross attention
Adding extra search path checkpoints C:\AI\stable-diffusion\stable-diffusi0n-webui\stable-diffusion-webui\models/Stable-diffusion
Adding extra search path configs C:\AI\stable-diffusion\stable-diffusi0n-webui\stable-diffusion-webui\models/Stable-diffusion
Adding extra search path vae C:\AI\stable-diffusion\stable-diffusi0n-webui\stable-diffusion-webui\models/VAE
Adding extra search path loras C:\AI\stable-diffusion\stable-diffusi0n-webui\stable-diffusion-webui\models/Lora
Adding extra search path loras C:\AI\stable-diffusion\stable-diffusi0n-webui\stable-diffusion-webui\models/LyCORIS
Adding extra search path upscale_models C:\AI\stable-diffusion\stable-diffusi0n-webui\stable-diffusion-webui\models/ESRGAN
Adding extra search path upscale_models C:\AI\stable-diffusion\stable-diffusi0n-webui\stable-diffusion-webui\models/RealESRGAN
Adding extra search path upscale_models C:\AI\stable-diffusion\stable-diffusi0n-webui\stable-diffusion-webui\models/SwinIR
Adding extra search path embeddings C:\AI\stable-diffusion\stable-diffusi0n-webui\stable-diffusion-webui\embeddings
Adding extra search path hypernetworks C:\AI\stable-diffusion\stable-diffusi0n-webui\stable-diffusion-webui\models/hypernetworks
Adding extra search path controlnet C:\AI\stable-diffusion\stable-diffusi0n-webui\stable-diffusion-webui\models/ControlNet
### Loading: ComfyUI-Manager (V0.17.1)
### ComfyUI Revision: 1221 [95d796fc]
Log level: 20
[comfy_mtb] | WARNING -> Web extensions folder at C:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\web\extensions\mtb is not a symlink, if updating please delete it before
C:\AI\ComfyUI\ComfyUI_windows_portable\python_embeded\lib\site-packages\torchvision\transforms\functional_tensor.py:5: UserWarning: The torchvision.transforms.functional_tensor module is deprecated in 0.15 and will be **removed in 0.17**. Please don't rely on it. You probably just need to use APIs in torchvision.transforms.functional or in torchvision.transforms.v2.functional.
  warnings.warn(
ImageRemoveBackgroundRembg
[comfy_mtb] | INFO -> Some nodes failed to load:
        Failed to import module mask because ModuleNotFoundError: No module named 'rembg'

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:
        Animation Builder (mtb): Convenient way to manage basic animation maths at the core of many of my workflows
        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)
        Bbox From Mask (mtb): From a mask extract the bounding box
        Bbox (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
        Debug (mtb): Experimental node to debug any Comfy values, support for more types and widgets is planned
        Save Tensors (mtb): Save torch tensors (image, mask or latent) to disk, useful to debug things outside comfy
        Deep Bump (mtb): Normal & height maps generation from single pictures
        Restore Face (mtb): Uses GFPGan to restore faces
        Load Face Enhance Model (mtb): Loads a GFPGan or RestoreFormer model for face enhancement.
        Face Swap (mtb): Face swap using deepinsight/insightface models        Load Face Swap Model (mtb): Loads a faceswap model
        Load Face Analysis Model (mtb): Loads a face analysis model
        Qr Code (mtb): Basic QR Code generator
        Unsplash Image (mtb): Unsplash Image given a keyword and a size        String Replace (mtb): Basic string replacement
        Fit Number (mtb): Fit the input float using a source and target range
        Load Film Model (mtb): Loads a FILM model
        Film Interpolation (mtb): Google Research FILM frame interpolation for large motion
        Concat Images (mtb): Add images to batch
        Get Batch From History (mtb): Very experimental node to load images from the history of the server.
        Color Correct (mtb): Various color correction methods
        Image Compare (mtb): Compare two images and return a difference image
        Blur (mtb): Blur an image using a Gaussian filter.
        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.
        Load Image From Url (mtb): Load an image from the given URL
        Save Gif (mtb): Save the images from the batch as a GIF
        Export To Prores (mtb): Export to ProRes 4444 (Experimental)
        Latent Lerp (mtb): Linear interpolation (blend) between two latent vectors
        Float To Number (mtb): Node addon for the WAS Suite. Converts a "comfy" FLOAT to a NUMBER.
        Int To Bool (mtb): Basic int to bool conversion
        Int To Number (mtb): Node addon for the WAS Suite. Converts a "comfy" INT to a NUMBER.
        Transform Image (mtb): Save torch tensors (image, mask or latent) to disk, useful to debug things outside comfy
        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.

Import times for custom nodes:
   0.0 seconds: C:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\Derfuu_ComfyUI_ModdedNodes
   0.4 seconds: C:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager
   1.0 seconds: C:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfy_mtb

Starting server

To see the GUI go to: http://127.0.0.1:8188
got prompt
Failed to validate prompt for output 75:
* Load Face Swap Model (mtb) 69:
  - Value not in list: faceswap_model: 'inswapper_128.onnx' not in []
Output will be ignored
Failed to validate prompt for output 25:
* Load Face Enhance Model (mtb) 71:
  - Value not in list: model_name: 'GFPGANv1.4.pth' not in []
Output will be ignored
Setting up MemoryEfficientCrossAttention. Query dim is 640, context_dim is None and using 10 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 640, context_dim is 2048 and using 10 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 640, context_dim is None and using 10 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 640, context_dim is 2048 and using 10 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 640, context_dim is None and using 10 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 640, context_dim is 2048 and using 10 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 640, context_dim is None and using 10 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 640, context_dim is 2048 and using 10 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is None and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 1280, context_dim is 2048 and using 20 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 640, context_dim is None and using 10 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 640, context_dim is 2048 and using 10 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 640, context_dim is None and using 10 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 640, context_dim is 2048 and using 10 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 640, context_dim is None and using 10 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 640, context_dim is 2048 and using 10 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 640, context_dim is None and using 10 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 640, context_dim is 2048 and using 10 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 640, context_dim is None and using 10 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 640, context_dim is 2048 and using 10 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 640, context_dim is None and using 10 heads.
Setting up MemoryEfficientCrossAttention. Query dim is 640, context_dim is 2048 and using 10 heads.
model_type EPS
adm 2816
making attention of type 'vanilla-xformers' with 512 in_channels
building MemoryEfficientAttnBlock with 512 in_channels...
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
making attention of type 'vanilla-xformers' with 512 in_channels
building MemoryEfficientAttnBlock with 512 in_channels...
left over keys: dict_keys(['cond_stage_model.clip_l.transformer.text_model.embeddings.position_ids'])
WARNING: shape mismatch when trying to apply embedding, embedding will be ignored 768 1280
WARNING: shape mismatch when trying to apply embedding, embedding will be ignored 768 1280
WARNING: shape mismatch when trying to apply embedding, embedding will be ignored 768 1280
WARNING: shape mismatch when trying to apply embedding, embedding will be ignored 768 1280
WARNING: shape mismatch when trying to apply embedding, embedding will be ignored 768 1280
WARNING: shape mismatch when trying to apply embedding, embedding will be ignored 768 1280
WARNING: shape mismatch when trying to apply embedding, embedding will be ignored 768 1280
WARNING: shape mismatch when trying to apply embedding, embedding will be ignored 768 1280
WARNING: shape mismatch when trying to apply embedding, embedding will be ignored 768 1280
WARNING: shape mismatch when trying to apply embedding, embedding will be ignored 768 1280
WARNING: shape mismatch when trying to apply embedding, embedding will be ignored 768 1280
WARNING: shape mismatch when trying to apply embedding, embedding will be ignored 768 1280
WARNING: shape mismatch when trying to apply embedding, embedding will be ignored 768 1280
WARNING: shape mismatch when trying to apply embedding, embedding will be ignored 768 1280
WARNING: shape mismatch when trying to apply embedding, embedding will be ignored 768 1280
WARNING: shape mismatch when trying to apply embedding, embedding will be ignored 768 1280
WARNING: shape mismatch when trying to apply embedding, embedding will be ignored 768 1280
WARNING: shape mismatch when trying to apply embedding, embedding will be ignored 768 1280
WARNING: shape mismatch when trying to apply embedding, embedding will be ignored 768 1280
WARNING: shape mismatch when trying to apply embedding, embedding will be ignored 768 1280
WARNING: shape mismatch when trying to apply embedding, embedding will be ignored 768 1280
WARNING: shape mismatch when trying to apply embedding, embedding will be ignored 768 1280
WARNING: shape mismatch when trying to apply embedding, embedding will be ignored 768 1280
WARNING: shape mismatch when trying to apply embedding, embedding will be ignored 768 1280
  0%|                                          | 0/45 [00:00<?, ?it/s]C:\AI\ComfyUI\ComfyUI_windows_portable\python_embeded\lib\site-packages\torchsde\_brownian\brownian_interval.py:594: UserWarning: Should have tb<=t1 but got tb=14.614644050598145 and t1=14.614642.
  warnings.warn(f"Should have {tb_name}<=t1 but got {tb_name}={tb} and t1={self._end}.")
100%|█████████████████████████████████| 45/45 [00:22<00:00,  2.02it/s]
Prompt executed in 34.34 seconds

Additional context

No response

[bug] fails to register

Traceback (most recent call last):
File "C:\Product\ComfyUI\nodes.py", line 1422, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "C:\Product\ComfyUI\custom_nodes\comfy_mtb_init
.py", line 48, in
"Int to Number (mtb)": IntToNumber,
NameError: name 'IntToNumber' is not defined

Cannot import C:\Product\ComfyUI\custom_nodes\comfy_mtb module for custom nodes: name 'IntToNumber' is not defined

[feat] Export with Ffmpeg to custom path?

Describe the bug

Really excited to use these new nodes. I've been playing with the example workflow for the animation builder and I think it is awesome. But I want to use the Export with Ffmpeg to save to video. The settings are clear, but I don't see how to export. There is no place to put a path. Am I supposed to use another node connected to the video out? Oh and by the way thanks for creating these nodes!

Reproduction

No response

Expected behavior

No response

Platform and versions

windows
compyUi portable on stable swarm

Console output

No response

Additional context

No response

[Question] Images to vídeo

Hi. How do I turn a sequence of images into a video? Is there an extra node to connect to video output (photo below), I couldn't find anything to connect it to? And another question, can I automatically apply a reference to all the images in a folder? The Load Image Sequence node doesn't read all the photos, only reads the frame of the photo I put in. Thanks!
001
002

[Enhancement Request] FaceSwap Node: Cache faces and face_analyser model

Hi!

I just saw that the faces (source_face and target_face) in function swap_face are not being cached.
Also in function get_face_single the face_analyser model is loaded everytime the node is executed.

I assume it would save some time if the faces and face_analyser model is cached after the FaceSwap node is executed.
(If you agree, please be aware of caching this data in the FaceSwap node wouldn't help because it's going to be resetted immediately if any input is changed - so I suggest you to store this cache data in the LoadFaceSwapModel node.)

Kind regards

[bug] Python < 3.10 support?

Describe the bug

Traceback (most recent call last):
File "/notebooks/ComfyUI/nodes.py", line 1647, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/notebooks/ComfyUI/custom_nodes/comfy_mtb/init.py", line 18, in
from .utils import here
File "/notebooks/ComfyUI/custom_nodes/comfy_mtb/utils.py", line 96, in
def pil2tensor(image: Image.Image | List[Image.Image]) -> torch.Tensor:
TypeError: unsupported operand type(s) for |: 'type' and '_GenericAlias'

Cannot import /notebooks/ComfyUI/custom_nodes/comfy_mtb module for custom nodes: unsupported operand type(s) for |: 'type' and '_GenericAlias'

Reproduction

No response

Expected behavior

No response

Platform and versions

paperspace

Console output

No response

Additional context

No response

[bug] Failed to import module 'gpfgan' and 'frame_interpolation' (git submodules?)

Describe the bug

I am so close now.
Installed over ComfyUI portable version by running install script from python_embedded folder.
hm001

finally the environment is detected correctly

mhh002

everything installed.

Reproduction

No response

Expected behavior

should not see those two lines:

Failed to import module faceenhance because ModuleNotFoundError: No module named 'gfpgan'
Failed to import module image_interpolation because ModuleNotFoundError: No module named 'frame_interpolation.eval'

Platform and versions

Windows 10
ComfyUI portable
Python 3.10.3  "system"

Console output

### ComfyUI Revision: 1262 [0cb14a33]
Log level: 20
[comfy_mtb] | WARNING -> Web extensions folder at D:\ComfyUI_portable\ComfyUI\web\extensions\mtb is not a symlink, if updating please delete it before
RestoreFace
LoadFaceEnhanceModel
LoadFilmModel
FilmInterpolation
ConcatImages
GetBatchFromHistory
[comfy_mtb] | INFO -> Some nodes failed to load:
        Failed to import module faceenhance because ModuleNotFoundError: No module named 'gfpgan'
        Failed to import module 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:
        Animation Builder (mtb): Convenient way to manage basic animation maths at the core of many of my workflows
        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)
        Bbox From Mask (mtb): From a mask extract the bounding box
        Bbox (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
        Debug (mtb): Experimental node to debug any Comfy values, support for more types and widgets is planned
        Save Tensors (mtb): Save torch tensors (image, mask or latent) to disk, useful to debug things outside comfy
        Deep Bump (mtb): Normal & height maps generation from single pictures
        Face Swap (mtb): Face swap using deepinsight/insightface models
        Load Face Swap Model (mtb): Loads a faceswap model
        Load Face Analysis Model (mtb): Loads a face analysis model
        Qr Code (mtb): Basic QR Code generator
        Unsplash Image (mtb): Unsplash Image given a keyword and a size
        String Replace (mtb): Basic string replacement
        Fit Number (mtb): Fit the input float using a source and target range
        Color Correct (mtb): Various color correction methods
        Image Compare (mtb): Compare two images and return a difference image
        Blur (mtb): Blur an image using a Gaussian filter.
        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.
        Load Image From Url (mtb): Load an image from the given URL
        Save Gif (mtb): Save the images from the batch as a GIF
        Export To Prores (mtb): Export to ProRes 4444 (Experimental)
        Latent Lerp (mtb): Linear interpolation (blend) between two latent vectors
        Image Remove Background Rembg (mtb): Removes the background from the input using Rembg.
        Float To Number (mtb): Node addon for the WAS Suite. Converts a "comfy" FLOAT to a NUMBER.
        Int To Bool (mtb): Basic int to bool conversion
        Int To Number (mtb): Node addon for the WAS Suite. Converts a "comfy" INT to a NUMBER.
        Transform Image (mtb): Save torch tensors (image, mask or latent) to disk, useful to debug things outside comfy
        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 12287 MB, total RAM 32715 MB
xformers version: 0.0.20
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 3060 : cudaMallocAsync
WAS Node Suite: OpenCV Python FFMPEG support is enabled
WAS Node Suite Warning: `ffmpeg_bin_path` is not set in `D:\ComfyUI_portable\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 190 nodes successfully.

Additional context

I am so close now. Just need guidance for those to modules.
Should I install some of the wheels releassed?

Thank you!

[feat] Add support for python 11

Describe the problem

3.11 is faster

Describe the solution you'd like

OOB support for python 3.11

Alternatives considered

No response

Additional context

Solving the windows dependencies will be hell.
The main problem is TensorFlow on windows (for FILM)

[bug] Cant load missing nodes (?)

Describe the problem

No way to run your workflow. Because comfyui manager has some network connectivity bugs and can't load missing nodes

Describe the solution you'd like

Where to download the missing nodes

Alternatives considered

No response

Additional context

No response

[bug] SAVE GIF

Describe the bug

MTB-Deforum-test
At the end of running the 04-animation_builder-deforum.jsom example, I get this error message

Reproduction

No response

Expected behavior

I expected a GIF file to be saved in the output folder

Platform and versions

Windows 10

Console output

!!! Exception during processing !!!
Traceback (most recent call last):
  File "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute
    output_data, output_ui = get_output_data(obj, input_data_all)
  File "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 81, in get_output_data
    return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
  File "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 74, in map_node_over_list
    results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
  File "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfy_mtb\nodes\io.py", line 155, in save_gif
    process = subprocess.Popen(command, stdin=subprocess.PIPE)
  File "subprocess.py", line 971, in __init__
  File "subprocess.py", line 1440, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified

Prompt executed in 1.39 seconds

Additional context

No response

[request] Add mac support

Comfy is partially supported on mac, I did not test it yet but I will soon need it, and will be able to test mtb properly there

[bug] Some insightface analysis model cannot be automatically downloaded?

Originally posted by Piscabo August 2, 2023

Error occurred when executing Load Face Analysis Model (mtb):

Failed downloading url https://github.com/deepinsight/insightface/releases/download/v0.7/antelopev2.zip

File "A:\AI_Files\ComfyUI\execution.py", line 144, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "A:\AI_Files\ComfyUI\execution.py", line 74, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "A:\AI_Files\ComfyUI\execution.py", line 67, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "A:\AI_Files\ComfyUI\custom_nodes\comfy_mtb\nodes\faceswap.py", line 56, in load_model
face_analyser = insightface.app.FaceAnalysis(
File "A:\AI_Files\stable-diffusion-webui\venv\lib\site-packages\insightface\app\face_analysis.py", line 27, in __init__
self.model_dir = ensure_available('models', name, root=root)
File "A:\AI_Files\stable-diffusion-webui\venv\lib\site-packages\insightface\utils\storage.py", line 28, in ensure_available
return download(sub_dir, name, force=False, root=root)
File "A:\AI_Files\stable-diffusion-webui\venv\lib\site-packages\insightface\utils\storage.py", line 17, in download
download_file(model_url,
File "A:\AI_Files\stable-diffusion-webui\venv\lib\site-packages\insightface\utils\download.py", line 73, in download_file
raise RuntimeError("Failed downloading url %s" % url)

</details>

[bug] PIL version constraint break controlnet preprocessors

Currently, I think only on collab but not sure, the deps constraint result in a downgrade of PIL which should not happen and break some other nodes.

Migrated log

this was migrated from #9

colab log provided by @Zakkx
/tools/node/bin/lt -> /tools/node/lib/node_modules/localtunnel/bin/lt.js

localtunnel@2.0.2
updated 1 package in 0.569s
Total VRAM 15102 MB, total RAM 12983 MB
Enabling highvram mode because your GPU has more vram than your computer has ram. If you don't want this use: --normalvram
xformers version: 0.0.20
2023-07-10 19:00:45.264018: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer.so.7'; dlerror: libnvinfer.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/lib64-nvidia
2023-07-10 19:00:45.264184: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libnvinfer_plugin.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/lib64-nvidia
2023-07-10 19:00:45.264209: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
Set vram state to: HIGH_VRAM
Device: cuda:0 Tesla T4
Using xformers cross attention
Loading: ComfyUI-Manager (V0.11.1)
ComfyUI Revision: 1147 [606a5370]
Log level: 20
/usr/local/lib/python3.10/dist-packages/torchvision/transforms/functional_tensor.py:5: UserWarning: The torchvision.transforms.functional_tensor module is deprecated in 0.15 and will be removed in 0.17. Please don't rely on it. You probably just need to use APIs in torchvision.transforms.functional or in torchvision.transforms.v2.functional.
warnings.warn(
[comfy_mtb] | INFO -> Loaded the following nodes:
Image Remove Background Rembg (mtb): -
Int To Number (mtb): Node addon for the WAS Suite. Converts a "comfy" INT to a NUMBER.
Save Tensors (mtb): Debug node that will probably be removed in the future
Qr Code (mtb): Basic QR Code generator
Restore Face (mtb): -
Load Face Enhance Model (mtb): -
Deep Bump (mtb): Normal & height maps generation from single pictures
Latent Lerp (mtb): Linear interpolation (blend) between two latent vectors
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
Load Film Model (mtb): Loads a FILM model
Film Interpolation (mtb): Google Research FILM frame interpolation for large motion
Export To Pro Res (mtb): Export to ProRes 4444 (Experimental)
Concat Images (mtb): Add images to batch
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.
Face Swap (mtb): Face swap using deepinsight/insightface models
Load Face Swap Model (mtb): Loads a faceswap model
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.
Traceback (most recent call last):
File "/content/ComfyUI/nodes.py", line 1509, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/init.py", line 1, in
from custom_nodes.comfy_controlnet_preprocessors.nodes import edge_line, normal_depth_map, pose, semseg, others
File "/content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/init.py", line 1, in
from custom_nodes.comfy_controlnet_preprocessors.nodes import edge_line, normal_depth_map, pose, semseg, others
File "/content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/nodes/semseg.py", line 5, in
from ..v11 import oneformer
File "/content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/v11/oneformer/init.py", line 4, in
from .api import make_detectron2_model, semantic_run
File "/content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/v11/oneformer/api.py", line 7, in
from custom_nodes.comfy_controlnet_preprocessors.v11.oneformer.detectron2.projects.deeplab import add_deeplab_config
File "/content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/v11/oneformer/detectron2/projects/deeplab/init.py", line 4, in
from .resnet import build_resnet_deeplab_backbone
File "/content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/v11/oneformer/detectron2/projects/deeplab/resnet.py", line 6, in
from custom_nodes.comfy_controlnet_preprocessors.v11.oneformer.detectron2.modeling import BACKBONE_REGISTRY
File "/content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/v11/oneformer/detectron2/modeling/init.py", line 20, in
from .meta_arch import (
File "/content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/v11/oneformer/detectron2/modeling/meta_arch/init.py", line 6, in
from .panoptic_fpn import PanopticFPN
File "/content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/v11/oneformer/detectron2/modeling/meta_arch/panoptic_fpn.py", line 14, in
from .rcnn import GeneralizedRCNN
File "/content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/v11/oneformer/detectron2/modeling/meta_arch/rcnn.py", line 9, in
from custom_nodes.comfy_controlnet_preprocessors.v11.oneformer.detectron2.data.detection_utils import convert_image_to_rgb
File "/content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/v11/oneformer/detectron2/data/init.py", line 2, in
from . import transforms # isort:skip
File "/content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/v11/oneformer/detectron2/data/transforms/init.py", line 4, in
from .transform import *
File "/content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/v11/oneformer/detectron2/data/transforms/transform.py", line 36, in
class ExtentTransform(Transform):
File "/content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/v11/oneformer/detectron2/data/transforms/transform.py", line 46, in ExtentTransform
def init(self, src_rect, output_size, interp=Image.LINEAR, fill=0):
AttributeError: module 'PIL.Image' has no attribute 'LINEAR'

Cannot import /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors module for custom nodes: module 'PIL.Image' has no attribute 'LINEAR'

Import times for custom nodes:
0.1 seconds: /content/ComfyUI/custom_nodes/ComfyUI-Manager-main
0.5 seconds (IMPORT FAILED): /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors
30.3 seconds: /content/ComfyUI/custom_nodes/comfy_mtb

This is the other error log when I try to install controlnet through the custom Comfyui Manager right from the menu.
FECTH DATA from: [ltdrdata/ComfyUI-Manager@main/custom-node-list.json (raw)](https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json)
Install custom node 'ControlNet Preprocessors'
install: ['https://github.com/[Fannovel16/comfy_controlnet_preprocessors](https://github.com/Fannovel16/comfy_controlnet_preprocessors)']
Download: git clone 'Fannovel16/comfy_controlnet_preprocessors'
Install: pip packages
Requirement already satisfied: opencv-contrib-python in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 1)) (4.7.0.72)
Requirement already satisfied: opencv-python in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 2)) (4.7.0.72)
Requirement already satisfied: timm==0.6.7 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 3)) (0.6.7)
Requirement already satisfied: torchvision in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 4)) (0.15.2+cu118)
Requirement already satisfied: scipy in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 5)) (1.10.1)
Requirement already satisfied: matplotlib in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 6)) (3.7.1)
Requirement already satisfied: scikit-image in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 7)) (0.19.3)
Requirement already satisfied: prettytable==3.6.0 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 8)) (3.6.0)
Requirement already satisfied: addict in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 9)) (2.4.0)
Requirement already satisfied: yapf in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 10)) (0.40.1)
Requirement already satisfied: mediapipe in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 11)) (0.10.2)
Requirement already satisfied: fvcore in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 12)) (0.1.5.post20221221)
Requirement already satisfied: omegaconf in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 13)) (2.3.0)
Requirement already satisfied: ftfy in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 14)) (6.1.1)
Requirement already satisfied: torch>=1.4 in /usr/local/lib/python3.10/dist-packages (from timm==0.6.7->-r requirements.txt (line 3)) (2.0.1+cu118)
Requirement already satisfied: wcwidth in /usr/local/lib/python3.10/dist-packages (from prettytable==3.6.0->-r requirements.txt (line 8)) (0.2.6)
Requirement already satisfied: numpy>=1.21.2 in /usr/local/lib/python3.10/dist-packages (from opencv-contrib-python->-r requirements.txt (line 1)) (1.23.5)
Requirement already satisfied: requests in /usr/local/lib/python3.10/dist-packages (from torchvision->-r requirements.txt (line 4)) (2.27.1)
Requirement already satisfied: pillow!=8.3.,>=5.3.0 in /usr/local/lib/python3.10/dist-packages (from torchvision->-r requirements.txt (line 4)) (10.0.0)
Requirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from torch>=1.4->timm==0.6.7->-r requirements.txt (line 3)) (3.12.2)
Requirement already satisfied: typing-extensions in /usr/local/lib/python3.10/dist-packages (from torch>=1.4->timm==0.6.7->-r requirements.txt (line 3)) (4.6.3)
Requirement already satisfied: sympy in /usr/local/lib/python3.10/dist-packages (from torch>=1.4->timm==0.6.7->-r requirements.txt (line 3)) (1.11.1)
Requirement already satisfied: networkx in /usr/local/lib/python3.10/dist-packages (from torch>=1.4->timm==0.6.7->-r requirements.txt (line 3)) (3.1)
Requirement already satisfied: jinja2 in /usr/local/lib/python3.10/dist-packages (from torch>=1.4->timm==0.6.7->-r requirements.txt (line 3)) (3.1.2)
Requirement already satisfied: triton==2.0.0 in /usr/local/lib/python3.10/dist-packages (from torch>=1.4->timm==0.6.7->-r requirements.txt (line 3)) (2.0.0)
Requirement already satisfied: cmake in /usr/local/lib/python3.10/dist-packages (from triton==2.0.0->torch>=1.4->timm==0.6.7->-r requirements.txt (line 3)) (3.25.2)
Requirement already satisfied: lit in /usr/local/lib/python3.10/dist-packages (from triton==2.0.0->torch>=1.4->timm==0.6.7->-r requirements.txt (line 3)) (16.0.6)
Requirement already satisfied: contourpy>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib->-r requirements.txt (line 6)) (1.1.0)
Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.10/dist-packages (from matplotlib->-r requirements.txt (line 6)) (0.11.0)
Requirement already satisfied: fonttools>=4.22.0 in /usr/local/lib/python3.10/dist-packages (from matplotlib->-r requirements.txt (line 6)) (4.40.0)
Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib->-r requirements.txt (line 6)) (1.4.4)
Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.10/dist-packages (from matplotlib->-r requirements.txt (line 6)) (23.1)
Requirement already satisfied: pyparsing>=2.3.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib->-r requirements.txt (line 6)) (3.1.0)
Requirement already satisfied: python-dateutil>=2.7 in /usr/local/lib/python3.10/dist-packages (from matplotlib->-r requirements.txt (line 6)) (2.8.2)
Requirement already satisfied: imageio>=2.4.1 in /usr/local/lib/python3.10/dist-packages (from scikit-image->-r requirements.txt (line 7)) (2.28.1)
Requirement already satisfied: tifffile>=2019.7.26 in /usr/local/lib/python3.10/dist-packages (from scikit-image->-r requirements.txt (line 7)) (2023.4.12)
Requirement already satisfied: PyWavelets>=1.1.1 in /usr/local/lib/python3.10/dist-packages (from scikit-image->-r requirements.txt (line 7)) (1.4.1)
Requirement already satisfied: importlib-metadata>=6.6.0 in /usr/local/lib/python3.10/dist-packages (from yapf->-r requirements.txt (line 10)) (6.8.0)
Requirement already satisfied: platformdirs>=3.5.1 in /usr/local/lib/python3.10/dist-packages (from yapf->-r requirements.txt (line 10)) (3.7.0)
Requirement already satisfied: tomli>=2.0.1 in /usr/local/lib/python3.10/dist-packages (from yapf->-r requirements.txt (line 10)) (2.0.1)
Requirement already satisfied: absl-py in /usr/local/lib/python3.10/dist-packages (from mediapipe->-r requirements.txt (line 11)) (1.4.0)
Requirement already satisfied: attrs>=19.1.0 in /usr/local/lib/python3.10/dist-packages (from mediapipe->-r requirements.txt (line 11)) (23.1.0)
Requirement already satisfied: flatbuffers>=2.0 in /usr/local/lib/python3.10/dist-packages (from mediapipe->-r requirements.txt (line 11)) (23.5.26)
Requirement already satisfied: protobuf<4,>=3.11 in /usr/local/lib/python3.10/dist-packages (from mediapipe->-r requirements.txt (line 11)) (3.19.6)
Requirement already satisfied: sounddevice>=0.4.4 in /usr/local/lib/python3.10/dist-packages (from mediapipe->-r requirements.txt (line 11)) (0.4.6)
Requirement already satisfied: yacs>=0.1.6 in /usr/local/lib/python3.10/dist-packages (from fvcore->-r requirements.txt (line 12)) (0.1.8)
Requirement already satisfied: pyyaml>=5.1 in /usr/local/lib/python3.10/dist-packages (from fvcore->-r requirements.txt (line 12)) (6.0)
Requirement already satisfied: tqdm in /usr/local/lib/python3.10/dist-packages (from fvcore->-r requirements.txt (line 12)) (4.65.0)
Requirement already satisfied: termcolor>=1.1 in /usr/local/lib/python3.10/dist-packages (from fvcore->-r requirements.txt (line 12)) (2.3.0)
Requirement already satisfied: tabulate in /usr/local/lib/python3.10/dist-packages (from fvcore->-r requirements.txt (line 12)) (0.8.10)
Requirement already satisfied: iopath>=0.1.7 in /usr/local/lib/python3.10/dist-packages (from fvcore->-r requirements.txt (line 12)) (0.1.10)
Requirement already satisfied: antlr4-python3-runtime==4.9. in /usr/local/lib/python3.10/dist-packages (from omegaconf->-r requirements.txt (line 13)) (4.9.3)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.10/dist-packages (from importlib-metadata>=6.6.0->yapf->-r requirements.txt (line 10)) (3.15.0)
Requirement already satisfied: portalocker in /usr/local/lib/python3.10/dist-packages (from iopath>=0.1.7->fvcore->-r requirements.txt (line 12)) (2.7.0)
Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.10/dist-packages (from python-dateutil>=2.7->matplotlib->-r requirements.txt (line 6)) (1.16.0)
Requirement already satisfied: CFFI>=1.0 in /usr/local/lib/python3.10/dist-packages (from sounddevice>=0.4.4->mediapipe->-r requirements.txt (line 11)) (1.15.1)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.10/dist-packages (from requests->torchvision->-r requirements.txt (line 4)) (1.26.16)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests->torchvision->-r requirements.txt (line 4)) (2023.5.7)
Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/local/lib/python3.10/dist-packages (from requests->torchvision->-r requirements.txt (line 4)) (2.0.12)
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests->torchvision->-r requirements.txt (line 4)) (3.4)
Requirement already satisfied: pycparser in /usr/local/lib/python3.10/dist-packages (from CFFI>=1.0->sounddevice>=0.4.4->mediapipe->-r requirements.txt (line 11)) (2.21)
Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib/python3.10/dist-packages (from jinja2->torch>=1.4->timm==0.6.7->-r requirements.txt (line 3)) (2.1.3)
Requirement already satisfied: mpmath>=0.19 in /usr/local/lib/python3.10/dist-packages (from sympy->torch>=1.4->timm==0.6.7->-r requirements.txt (line 3)) (1.3.0)
Install: install script
Installing requirements...
Looking in indexes: [pypi.org/simple](https://pypi.org/simple), [download.pytorch.org/whl/cu117](https://download.pytorch.org/whl/cu117)
Requirement already satisfied: opencv-contrib-python in /usr/local/lib/python3.10/dist-packages (from -r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 1)) (4.7.0.72)
Requirement already satisfied: opencv-python in /usr/local/lib/python3.10/dist-packages (from -r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 2)) (4.7.0.72)
Requirement already satisfied: timm==0.6.7 in /usr/local/lib/python3.10/dist-packages (from -r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 3)) (0.6.7)
Requirement already satisfied: torchvision in /usr/local/lib/python3.10/dist-packages (from -r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 4)) (0.15.2+cu118)
Requirement already satisfied: scipy in /usr/local/lib/python3.10/dist-packages (from -r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 5)) (1.10.1)
Requirement already satisfied: matplotlib in /usr/local/lib/python3.10/dist-packages (from -r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 6)) (3.7.1)
Requirement already satisfied: scikit-image in /usr/local/lib/python3.10/dist-packages (from -r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 7)) (0.19.3)
Requirement already satisfied: prettytable==3.6.0 in /usr/local/lib/python3.10/dist-packages (from -r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 8)) (3.6.0)
Requirement already satisfied: addict in /usr/local/lib/python3.10/dist-packages (from -r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 9)) (2.4.0)
Requirement already satisfied: yapf in /usr/local/lib/python3.10/dist-packages (from -r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 10)) (0.40.1)
Requirement already satisfied: mediapipe in /usr/local/lib/python3.10/dist-packages (from -r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 11)) (0.10.2)
Requirement already satisfied: fvcore in /usr/local/lib/python3.10/dist-packages (from -r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 12)) (0.1.5.post20221221)
Requirement already satisfied: omegaconf in /usr/local/lib/python3.10/dist-packages (from -r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 13)) (2.3.0)
Requirement already satisfied: ftfy in /usr/local/lib/python3.10/dist-packages (from -r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 14)) (6.1.1)
Requirement already satisfied: torch>=1.4 in /usr/local/lib/python3.10/dist-packages (from timm==0.6.7->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 3)) (2.0.1+cu118)
Requirement already satisfied: wcwidth in /usr/local/lib/python3.10/dist-packages (from prettytable==3.6.0->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 8)) (0.2.6)
Requirement already satisfied: numpy>=1.21.2 in /usr/local/lib/python3.10/dist-packages (from opencv-contrib-python->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 1)) (1.23.5)
Requirement already satisfied: requests in /usr/local/lib/python3.10/dist-packages (from torchvision->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 4)) (2.27.1)
Requirement already satisfied: pillow!=8.3.,>=5.3.0 in /usr/local/lib/python3.10/dist-packages (from torchvision->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 4)) (10.0.0)
Requirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from torch>=1.4->timm==0.6.7->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 3)) (3.12.2)
Requirement already satisfied: typing-extensions in /usr/local/lib/python3.10/dist-packages (from torch>=1.4->timm==0.6.7->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 3)) (4.6.3)
Requirement already satisfied: sympy in /usr/local/lib/python3.10/dist-packages (from torch>=1.4->timm==0.6.7->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 3)) (1.11.1)
Requirement already satisfied: networkx in /usr/local/lib/python3.10/dist-packages (from torch>=1.4->timm==0.6.7->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 3)) (3.1)
Requirement already satisfied: jinja2 in /usr/local/lib/python3.10/dist-packages (from torch>=1.4->timm==0.6.7->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 3)) (3.1.2)
Requirement already satisfied: triton==2.0.0 in /usr/local/lib/python3.10/dist-packages (from torch>=1.4->timm==0.6.7->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 3)) (2.0.0)
Requirement already satisfied: cmake in /usr/local/lib/python3.10/dist-packages (from triton==2.0.0->torch>=1.4->timm==0.6.7->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 3)) (3.25.2)
Requirement already satisfied: lit in /usr/local/lib/python3.10/dist-packages (from triton==2.0.0->torch>=1.4->timm==0.6.7->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 3)) (16.0.6)
Requirement already satisfied: contourpy>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 6)) (1.1.0)
Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.10/dist-packages (from matplotlib->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 6)) (0.11.0)
Requirement already satisfied: fonttools>=4.22.0 in /usr/local/lib/python3.10/dist-packages (from matplotlib->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 6)) (4.40.0)
Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 6)) (1.4.4)
Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.10/dist-packages (from matplotlib->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 6)) (23.1)
Requirement already satisfied: pyparsing>=2.3.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 6)) (3.1.0)
Requirement already satisfied: python-dateutil>=2.7 in /usr/local/lib/python3.10/dist-packages (from matplotlib->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 6)) (2.8.2)
Requirement already satisfied: imageio>=2.4.1 in /usr/local/lib/python3.10/dist-packages (from scikit-image->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 7)) (2.28.1)
Requirement already satisfied: tifffile>=2019.7.26 in /usr/local/lib/python3.10/dist-packages (from scikit-image->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 7)) (2023.4.12)
Requirement already satisfied: PyWavelets>=1.1.1 in /usr/local/lib/python3.10/dist-packages (from scikit-image->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 7)) (1.4.1)
Requirement already satisfied: importlib-metadata>=6.6.0 in /usr/local/lib/python3.10/dist-packages (from yapf->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 10)) (6.8.0)
Requirement already satisfied: platformdirs>=3.5.1 in /usr/local/lib/python3.10/dist-packages (from yapf->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 10)) (3.7.0)
Requirement already satisfied: tomli>=2.0.1 in /usr/local/lib/python3.10/dist-packages (from yapf->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 10)) (2.0.1)
Requirement already satisfied: absl-py in /usr/local/lib/python3.10/dist-packages (from mediapipe->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 11)) (1.4.0)
Requirement already satisfied: attrs>=19.1.0 in /usr/local/lib/python3.10/dist-packages (from mediapipe->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 11)) (23.1.0)
Requirement already satisfied: flatbuffers>=2.0 in /usr/local/lib/python3.10/dist-packages (from mediapipe->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 11)) (23.5.26)
Requirement already satisfied: protobuf<4,>=3.11 in /usr/local/lib/python3.10/dist-packages (from mediapipe->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 11)) (3.19.6)
Requirement already satisfied: sounddevice>=0.4.4 in /usr/local/lib/python3.10/dist-packages (from mediapipe->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 11)) (0.4.6)
Requirement already satisfied: yacs>=0.1.6 in /usr/local/lib/python3.10/dist-packages (from fvcore->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 12)) (0.1.8)
Requirement already satisfied: pyyaml>=5.1 in /usr/local/lib/python3.10/dist-packages (from fvcore->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 12)) (6.0)
Requirement already satisfied: tqdm in /usr/local/lib/python3.10/dist-packages (from fvcore->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 12)) (4.65.0)
Requirement already satisfied: termcolor>=1.1 in /usr/local/lib/python3.10/dist-packages (from fvcore->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 12)) (2.3.0)
Requirement already satisfied: tabulate in /usr/local/lib/python3.10/dist-packages (from fvcore->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 12)) (0.8.10)
Requirement already satisfied: iopath>=0.1.7 in /usr/local/lib/python3.10/dist-packages (from fvcore->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 12)) (0.1.10)
Requirement already satisfied: antlr4-python3-runtime==4.9. in /usr/local/lib/python3.10/dist-packages (from omegaconf->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 13)) (4.9.3)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.10/dist-packages (from importlib-metadata>=6.6.0->yapf->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 10)) (3.15.0)
Requirement already satisfied: portalocker in /usr/local/lib/python3.10/dist-packages (from iopath>=0.1.7->fvcore->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 12)) (2.7.0)
Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.10/dist-packages (from python-dateutil>=2.7->matplotlib->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 6)) (1.16.0)
Requirement already satisfied: CFFI>=1.0 in /usr/local/lib/python3.10/dist-packages (from sounddevice>=0.4.4->mediapipe->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 11)) (1.15.1)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.10/dist-packages (from requests->torchvision->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 4)) (1.26.16)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests->torchvision->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 4)) (2023.5.7)
Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/local/lib/python3.10/dist-packages (from requests->torchvision->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 4)) (2.0.12)
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests->torchvision->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 4)) (3.4)
Requirement already satisfied: pycparser in /usr/local/lib/python3.10/dist-packages (from CFFI>=1.0->sounddevice>=0.4.4->mediapipe->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 11)) (2.21)
Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib/python3.10/dist-packages (from jinja2->torch>=1.4->timm==0.6.7->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 3)) (2.1.3)
Requirement already satisfied: mpmath>=0.19 in /usr/local/lib/python3.10/dist-packages (from sympy->torch>=1.4->timm==0.6.7->-r /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/requirements.txt (line 3)) (1.3.0)
Download models...
Total VRAM 15102 MB, total RAM 12983 MB
Enabling highvram mode because your GPU has more vram than your computer has ram. If you don't want this use: --normalvram
xformers version: 0.0.20
2023-07-10 19:10:57.272369: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer.so.7'; dlerror: libnvinfer.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/lib/python3.10/dist-packages/cv2/../../lib64:/usr/lib64-nvidia
2023-07-10 19:10:57.272495: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libnvinfer_plugin.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/lib/python3.10/dist-packages/cv2/../../lib64:/usr/lib64-nvidia
2023-07-10 19:10:57.272516: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
Set vram state to: HIGH_VRAM
Device: cuda:0 Tesla T4
Total VRAM 15102 MB, total RAM 12983 MB
Enabling highvram mode because your GPU has more vram than your computer has ram. If you don't want this use: --normalvram
xformers version: 0.0.20
Set vram state to: HIGH_VRAM
Device: cuda:0 Tesla T4
╭───────────────────── Traceback (most recent call last) ──────────────────────╮
 /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/install.py:53 
 in 
 
 50 
 51 add_global_shortcut_module("cli_args", os.path.join(EXT_PATH, "../../co 
 52 add_global_shortcut_module("model_management", os.path.join(EXT_PATH, " 
  53 add_global_shortcut_module(this_module_name, os.path.join(EXT_PATH, "__ │
│ 54 from custom_nodes.comfy_controlnet_preprocessors.v1 import canny, hed_v │
│ 55 from custom_nodes.comfy_controlnet_preprocessors.v11 import zoe, normal │
│ 56 │
│ │
│ /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/install.py:22 │
│ in add_global_shortcut_module │
│ │
│ 19 │ module_spec = spec_from_file_location(module_name, module_path) │
│ 20 │ module = module_from_spec(module_spec) │
│ 21 │ sys.modules[module_name] = module │
│ ❱ 22 │ module_spec.loader.exec_module(module) │
│ 23 │
│ 24 def download_models(): │
│ 25 │ canny.CannyDetector() │
│ in exec_module:883 │
│ in call_with_frames_removed:241 │
│ │
│ /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/init.py:1 │
│ in │
│ │
│ ❱ 1 from custom_nodes.comfy_controlnet_preprocessors.nodes import edge_line, │
│ 2 NODE_CLASS_MAPPINGS = { │
│ 3 │ **edge_line.NODE_CLASS_MAPPINGS, │
│ 4 │ **normal_depth_map.NODE_CLASS_MAPPINGS, │
│ │
│ /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/init.py:1 │
│ in │
│ │
│ ❱ 1 from custom_nodes.comfy_controlnet_preprocessors.nodes import edge_line, │
│ 2 NODE_CLASS_MAPPINGS = { │
│ 3 │ **edge_line.NODE_CLASS_MAPPINGS, │
│ 4 │ **normal_depth_map.NODE_CLASS_MAPPINGS, │
│ │
│ /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/nodes/semseg.py │
│ :5 in │
│ │
│ 2 │
│ 3 if not skip_v1: │
│ 4 │ from ..v1 import uniformer │
│ ❱ 5 from ..v11 import oneformer │
│ 6 │
│ 7 if not skip_v1: │
│ 8 │ class Uniformer_SemSegPreprocessor: │
│ │
│ /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/v11/oneformer/ │
│ init_.py:4 in │
│ │
│ 1 import os │
│ 2 from custom_nodes.comfy_controlnet_preprocessors.util import annotator_ │
│ 3 import comfy.model_management as model_management │
│ ❱ 4 from .api import make_detectron2_model, semantic_run │
│ 5 │
│ 6 │
│ 7 class OneformerDetector: │
│ │
│ /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/v11/oneformer/a │
│ pi.py:7 in │
│ │
│ 4 import torch │
│ 5 │
│ 6 from custom_nodes.comfy_controlnet_preprocessors.v11.oneformer.detectro │
│ ❱ 7 from custom_nodes.comfy_controlnet_preprocessors.v11.oneformer.detectro │
│ 8 from custom_nodes.comfy_controlnet_preprocessors.v11.oneformer.detectro │
│ 9 │
│ 10 from custom_nodes.comfy_controlnet_preprocessors.v11.oneformer.oneforme │
│ │
│ /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/v11/oneformer/d │
│ etectron2/projects/deeplab/init.py:4 in │
│ │
│ 1 # Copyright (c) Facebook, Inc. and its affiliates. │
│ 2 from .build_solver import build_lr_scheduler │
│ 3 from .config import add_deeplab_config │
│ ❱ 4 from .resnet import build_resnet_deeplab_backbone │
│ 5 from .semantic_seg import DeepLabV3Head, DeepLabV3PlusHead │
│ 6 │
│ │
│ /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/v11/oneformer/d │
│ etectron2/projects/deeplab/resnet.py:6 in │
│ │
│ 3 import torch.nn.functional as F │
│ 4 │
│ 5 from custom_nodes.comfy_controlnet_preprocessors.v11.oneformer.detectr │
│ ❱ 6 from custom_nodes.comfy_controlnet_preprocessors.v11.oneformer.detectr │
│ 7 from custom_nodes.comfy_controlnet_preprocessors.v11.oneformer.detectr │
│ 8 │ BasicStem, │
│ 9 │ BottleneckBlock, │
│ │
│ /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/v11/oneformer/d │
│ etectron2/modeling/init.py:20 in │
│ │
│ 17 │ MViT, │
│ 18 │ SwinTransformer, │
│ 19 ) │
│ ❱ 20 from .meta_arch import ( │
│ 21 │ META_ARCH_REGISTRY, │
│ 22 │ SEM_SEG_HEADS_REGISTRY, │
│ 23 │ GeneralizedRCNN, │
│ │
│ /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/v11/oneformer/d │
│ etectron2/modeling/meta_arch/init.py:6 in │
│ │
│ 3 │
│ 4 from .build import META_ARCH_REGISTRY, build_model # isort:skip │
│ 5 │
│ ❱ 6 from .panoptic_fpn import PanopticFPN │
│ 7 │
│ 8 # import all the meta_arch, so they will be registered │
│ 9 from .rcnn import GeneralizedRCNN, ProposalNetwork │
│ │
│ /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/v11/oneformer/d │
│ etectron2/modeling/meta_arch/panoptic_fpn.py:14 in │
│ │
│ 11 │
│ 12 from ..postprocessing import detector_postprocess, sem_seg_postprocess │
│ 13 from .build import META_ARCH_REGISTRY │
│ ❱ 14 from .rcnn import GeneralizedRCNN │
│ 15 from .semantic_seg import build_sem_seg_head │
│ 16 │
│ 17 all = ["PanopticFPN"] │
│ │
│ /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/v11/oneformer/d │
│ etectron2/modeling/meta_arch/rcnn.py:9 in │
│ │
│ 6 from torch import nn │
│ 7 │
│ 8 from custom_nodes.comfy_controlnet_preprocessors.v11.oneformer.detectr │
│ ❱ 9 from custom_nodes.comfy_controlnet_preprocessors.v11.oneformer.detectr │
│ 10 from custom_nodes.comfy_controlnet_preprocessors.v11.oneformer.detectr │
│ 11 from custom_nodes.comfy_controlnet_preprocessors.v11.oneformer.detectr │
│ 12 from custom_nodes.comfy_controlnet_preprocessors.v11.oneformer.detectr │
│ │
│ /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/v11/oneformer/d │
│ etectron2/data/init.py:2 in │
│ │
│ 1 # Copyright (c) Facebook, Inc. and its affiliates. │
│ ❱ 2 from . import transforms # isort:skip │
│ 3 │
│ 4 from .build import ( │
│ 5 │ build_batch_data_loader, │
│ │
│ /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/v11/oneformer/d │
│ etectron2/data/transforms/init.py:4 in │
│ │
│ 1 # Copyright (c) Facebook, Inc. and its affiliates. │
│ 2 from fvcore.transforms.transform import Transform, TransformList # ord │
│ 3 from fvcore.transforms.transform import * │
│ ❱ 4 from .transform import * │
│ 5 from .augmentation import * │
│ 6 from .augmentation_impl import * │
│ 7 │
│ │
│ /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/v11/oneformer/d │
│ etectron2/data/transforms/transform.py:36 in │
│ │
│ 33 ] │
│ 34 │
│ 35 │
│ ❱ 36 class ExtentTransform(Transform): │
│ 37 │ """ 
 38  Extracts a subregion from the source image and scales it to the ou 
 39 
 
 /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors/v11/oneformer/d 
 etectron2/data/transforms/transform.py:46 in ExtentTransform 
 
 43  See: [pillow.readthedocs.io/en/latest/PIL.html#PIL.ImageTra](https://pillow.readthedocs.io/en/latest/PIL.html#PIL.ImageTra) │
 44  """ │
│ 45 │ │
│ ❱ 46 │ def init(self, src_rect, output_size, interp=Image.LINEAR, fil │
│ 47 │ │ """ 
 48   Args: 
 49    src_rect (x0, y0, x1, y1): src coordinates 
╰──────────────────────────────────────────────────────────────────────────────╯
AttributeError: module 'PIL.Image' has no attribute 'LINEAR'
install script failed: [Fannovel16/comfy_controlnet_preprocessors](https://github.com/Fannovel16/comfy_controlnet_preprocessors)
FECTH DATA from: [ltdrdata/ComfyUI-Manager@main/custom-node-list.json (raw)](https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json)

WARNING and ERROR

[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 'munch'
Failed to import faceswap because ModuleNotFoundError: No module named 'ifnude'
Failed to import fun because ModuleNotFoundError: No module named 'qrcode'
Failed to import image_interpolation because ModuleNotFoundError: No module named 'tensorflow'

Failed to import facexlib,tensorflow

Describe the bug

I have installed all dependencies, but still prompt that these two libraries cannot be loaded. Is it a version issue.
`[comfy_mtb] | INFO -> Some nodes failed to load:
Failed to import module faceenhance because ModuleNotFoundError: No module named 'facexlib'
Failed to import module image_interpolation because ModuleNotFoundError: No module named 'tensorflow'

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)`

Reproduction

No response

Expected behavior

No response

Platform and versions

The operating system is win11
ComfyUI on chrome

Console output

No response

Additional context

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.