[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

<EMAIL_ADDRESS>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<EMAIL_ADDRESS>(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)) (<IP_ADDRESS>)
Requirement already satisfied: opencv-python in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 2)) (<IP_ADDRESS>)
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)) (<IP_ADDRESS>)
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)) (<IP_ADDRESS>)
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<EMAIL_ADDRESS>(raw)](https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json)

Hi @Zakkx
Can you try installing using the new instructions a new release was made: https://github.com/melMass/comfy_mtb/blob/main/INSTALL.md
Thanks

Hi, thanks. I tried installing through Comfyui Manager, but it gives the following error:

Log
Install custom node 'MTB Nodes'
install: ['https://github.com/melMass/comfy_mtb']
Download: git clone 'https://github.com/melMass/comfy_mtb'
Install: pip packages
Ignoring tensorflow: markers 'platform_system == "Windows"' don't match your environment
Ignoring tb-nightly: markers 'platform_system == "Windows"' don't match your environment
Collecting gdown@ git+https://github.com/melMass/gdown@main (from -r requirements.txt (line 12))
Cloning https://github.com/melMass/gdown (to revision main) to /tmp/pip-install-o7r2s0gu/gdown_485d6084f9cd4f198299eeb56332e946
Running command git clone --filter=blob:none --quiet https://github.com/melMass/gdown /tmp/pip-install-o7r2s0gu/gdown_485d6084f9cd4f198299eeb56332e946
Resolved https://github.com/melMass/gdown to commit 57ea784c863290da4b880c035f99edad854234c3
Running command git submodule update --init --recursive -q
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting onnxruntime-gpu==1.15.1 (from -r requirements.txt (line 1))
Downloading onnxruntime_gpu-1.15.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (121.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 121.6/121.6 MB 8.5 MB/s eta 0:00:00
Collecting imageio===2.28.1 (from -r requirements.txt (line 2))
Downloading imageio-2.28.1-py3-none-any.whl (3.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4 MB 75.6 MB/s eta 0:00:00
Collecting qrcode[pil] (from -r requirements.txt (line 3))
Downloading qrcode-7.4.2-py3-none-any.whl (46 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.2/46.2 kB 6.7 MB/s eta 0:00:00
Collecting numpy==1.23.5 (from -r requirements.txt (line 4))
Downloading numpy-1.23.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.1/17.1 MB 54.5 MB/s eta 0:00:00
Collecting rembg==2.0.37 (from -r requirements.txt (line 5))
Downloading rembg-2.0.37-py3-none-any.whl (23 kB)
Requirement already satisfied: tensorflow in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 9)) (2.12.0)
Collecting protobuf==3.19.6 (from -r requirements.txt (line 11))
Downloading protobuf-3.19.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 62.7 MB/s eta 0:00:00
Collecting mmdet==3.0.0 (from -r requirements.txt (line 13))
Downloading mmdet-3.0.0-py3-none-any.whl (1.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 71.7 MB/s eta 0:00:00
Collecting facexlib==0.3.0 (from -r requirements.txt (line 14))
Downloading facexlib-0.3.0-py3-none-any.whl (59 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 59.6/59.6 kB 9.7 MB/s eta 0:00:00
Collecting coloredlogs (from onnxruntime-gpu==1.15.1->-r requirements.txt (line 1))
Downloading coloredlogs-15.0.1-py2.py3-none-any.whl (46 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.0/46.0 kB 7.2 MB/s eta 0:00:00
Requirement already satisfied: flatbuffers in /usr/local/lib/python3.10/dist-packages (from onnxruntime-gpu==1.15.1->-r requirements.txt (line 1)) (23.5.26)
Requirement already satisfied: packaging in /usr/local/lib/python3.10/dist-packages (from onnxruntime-gpu==1.15.1->-r requirements.txt (line 1)) (23.1)
Requirement already satisfied: sympy in /usr/local/lib/python3.10/dist-packages (from onnxruntime-gpu==1.15.1->-r requirements.txt (line 1)) (1.11.1)
Requirement already satisfied: pillow>=8.3.2 in /usr/local/lib/python3.10/dist-packages (from imageio===2.28.1->-r requirements.txt (line 2)) (8.4.0)
Requirement already satisfied: aiohttp>=3.8.1 in /usr/local/lib/python3.10/dist-packages (from rembg==2.0.37->-r requirements.txt (line 5)) (3.8.4)
Collecting asyncer>=0.0.2 (from rembg==2.0.37->-r requirements.txt (line 5))
Downloading asyncer-0.0.2-py3-none-any.whl (8.3 kB)
Requirement already satisfied: click>=8.1.3 in /usr/local/lib/python3.10/dist-packages (from rembg==2.0.37->-r requirements.txt (line 5)) (8.1.6)
Collecting fastapi>=0.92.0 (from rembg==2.0.37->-r requirements.txt (line 5))
Downloading fastapi-0.100.0-py3-none-any.whl (65 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.7/65.7 kB 10.0 MB/s eta 0:00:00
Collecting filetype>=1.2.0 (from rembg==2.0.37->-r requirements.txt (line 5))
Downloading filetype-1.2.0-py2.py3-none-any.whl (19 kB)
Collecting imagehash>=4.3.1 (from rembg==2.0.37->-r requirements.txt (line 5))
Downloading ImageHash-4.3.1-py2.py3-none-any.whl (296 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 296.5/296.5 kB 39.0 MB/s eta 0:00:00
Collecting onnxruntime>=1.14.1 (from rembg==2.0.37->-r requirements.txt (line 5))
Downloading onnxruntime-1.15.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.9/5.9 MB 105.7 MB/s eta 0:00:00
Requirement already satisfied: opencv-python-headless>=<IP_ADDRESS> in /usr/local/lib/python3.10/dist-packages (from rembg==2.0.37->-r requirements.txt (line 5)) (<IP_ADDRESS>)
Collecting pillow>=8.3.2 (from imageio===2.28.1->-r requirements.txt (line 2))
Downloading Pillow-10.0.0-cp310-cp310-manylinux_2_28_x86_64.whl (3.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4 MB 117.3 MB/s eta 0:00:00
Requirement already satisfied: pooch>=1.6.0 in /usr/local/lib/python3.10/dist-packages (from rembg==2.0.37->-r requirements.txt (line 5)) (1.6.0)
Collecting pymatting>=1.1.8 (from rembg==2.0.37->-r requirements.txt (line 5))
Downloading PyMatting-1.1.8-py3-none-any.whl (47 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.7/47.7 kB 7.9 MB/s eta 0:00:00
Collecting python-multipart>=0.0.5 (from rembg==2.0.37->-r requirements.txt (line 5))
Downloading python_multipart-0.0.6-py3-none-any.whl (45 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.7/45.7 kB 7.9 MB/s eta 0:00:00
Requirement already satisfied: scikit-image>=0.19.3 in /usr/local/lib/python3.10/dist-packages (from rembg==2.0.37->-r requirements.txt (line 5)) (0.19.3)
Requirement already satisfied: scipy>=1.9.3 in /usr/local/lib/python3.10/dist-packages (from rembg==2.0.37->-r requirements.txt (line 5)) (1.10.1)
Requirement already satisfied: tqdm>=4.64.1 in /usr/local/lib/python3.10/dist-packages (from rembg==2.0.37->-r requirements.txt (line 5)) (4.65.0)
Collecting uvicorn>=0.20.0 (from rembg==2.0.37->-r requirements.txt (line 5))
Downloading uvicorn-0.23.1-py3-none-any.whl (59 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 59.5/59.5 kB 9.9 MB/s eta 0:00:00
Collecting watchdog>=2.1.9 (from rembg==2.0.37->-r requirements.txt (line 5))
Downloading watchdog-3.0.0-py3-none-manylinux2014_x86_64.whl (82 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 82.1/82.1 kB 13.2 MB/s eta 0:00:00
Requirement already satisfied: matplotlib in /usr/local/lib/python3.10/dist-packages (from mmdet==3.0.0->-r requirements.txt (line 13)) (3.7.1)
Requirement already satisfied: pycocotools in /usr/local/lib/python3.10/dist-packages (from mmdet==3.0.0->-r requirements.txt (line 13)) (2.0.6)
Requirement already satisfied: shapely in /usr/local/lib/python3.10/dist-packages (from mmdet==3.0.0->-r requirements.txt (line 13)) (2.0.1)
Requirement already satisfied: six in /usr/local/lib/python3.10/dist-packages (from mmdet==3.0.0->-r requirements.txt (line 13)) (1.16.0)
Collecting terminaltables (from mmdet==3.0.0->-r requirements.txt (line 13))
Downloading terminaltables-3.1.10-py2.py3-none-any.whl (15 kB)
Collecting filterpy (from facexlib==0.3.0->-r requirements.txt (line 14))
Downloading filterpy-1.4.5.zip (177 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 178.0/178.0 kB 29.2 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Requirement already satisfied: numba in /usr/local/lib/python3.10/dist-packages (from facexlib==0.3.0->-r requirements.txt (line 14)) (0.56.4)
Requirement already satisfied: opencv-python in /usr/local/lib/python3.10/dist-packages (from facexlib==0.3.0->-r requirements.txt (line 14)) (<IP_ADDRESS>)
Requirement already satisfied: torch in /usr/local/lib/python3.10/dist-packages (from facexlib==0.3.0->-r requirements.txt (line 14)) (2.0.1+cu118)
Requirement already satisfied: torchvision in /usr/local/lib/python3.10/dist-packages (from facexlib==0.3.0->-r requirements.txt (line 14)) (0.15.2+cu118)
Requirement already satisfied: typing-extensions in /usr/local/lib/python3.10/dist-packages (from qrcode[pil]->-r requirements.txt (line 3)) (4.7.1)
Collecting pypng (from qrcode[pil]->-r requirements.txt (line 3))
Downloading pypng-0.20220715.0-py3-none-any.whl (58 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.1/58.1 kB 9.7 MB/s eta 0:00:00
Requirement already satisfied: absl-py>=1.0.0 in /usr/local/lib/python3.10/dist-packages (from tensorflow->-r requirements.txt (line 9)) (1.4.0)
Requirement already satisfied: astunparse>=1.6.0 in /usr/local/lib/python3.10/dist-packages (from tensorflow->-r requirements.txt (line 9)) (1.6.3)
Requirement already satisfied: gast<=0.4.0,>=0.2.1 in /usr/local/lib/python3.10/dist-packages (from tensorflow->-r requirements.txt (line 9)) (0.4.0)
Requirement already satisfied: google-pasta>=0.1.1 in /usr/local/lib/python3.10/dist-packages (from tensorflow->-r requirements.txt (line 9)) (0.2.0)
Requirement already satisfied: grpcio<2.0,>=1.24.3 in /usr/local/lib/python3.10/dist-packages (from tensorflow->-r requirements.txt (line 9)) (1.56.0)
Requirement already satisfied: h5py>=2.9.0 in /usr/local/lib/python3.10/dist-packages (from tensorflow->-r requirements.txt (line 9)) (3.8.0)
Requirement already satisfied: jax>=0.3.15 in /usr/local/lib/python3.10/dist-packages (from tensorflow->-r requirements.txt (line 9)) (0.4.13)
Requirement already satisfied: keras<2.13,>=2.12.0 in /usr/local/lib/python3.10/dist-packages (from tensorflow->-r requirements.txt (line 9)) (2.12.0)
Requirement already satisfied: libclang>=13.0.0 in /usr/local/lib/python3.10/dist-packages (from tensorflow->-r requirements.txt (line 9)) (16.0.6)
Requirement already satisfied: opt-einsum>=2.3.2 in /usr/local/lib/python3.10/dist-packages (from tensorflow->-r requirements.txt (line 9)) (3.3.0)
INFO: pip is looking at multiple versions of tensorflow to determine which version is compatible with other requirements. This could take a while.
Collecting tensorflow (from -r requirements.txt (line 9))
Downloading tensorflow-2.13.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (524.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 524.1/524.1 MB 3.3 MB/s eta 0:00:00
Collecting keras<2.14,>=2.13.1 (from tensorflow->-r requirements.txt (line 9))
Downloading keras-2.13.1-py3-none-any.whl (1.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 73.3 MB/s eta 0:00:00
Collecting tensorflow (from -r requirements.txt (line 9))
Downloading tensorflow-2.12.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (585.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 585.9/585.9 MB 1.2 MB/s eta 0:00:00
Downloading tensorflow-2.11.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (588.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 588.3/588.3 MB 2.5 MB/s eta 0:00:00
Collecting keras<2.12,>=2.11.0 (from tensorflow->-r requirements.txt (line 9))
Downloading keras-2.11.0-py2.py3-none-any.whl (1.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 69.1 MB/s eta 0:00:00
Requirement already satisfied: setuptools in /usr/local/lib/python3.10/dist-packages (from tensorflow->-r requirements.txt (line 9)) (67.7.2)
Collecting tensorboard<2.12,>=2.11 (from tensorflow->-r requirements.txt (line 9))
Downloading tensorboard-2.11.2-py3-none-any.whl (6.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.0/6.0 MB 78.5 MB/s eta 0:00:00
Collecting tensorflow-estimator<2.12,>=2.11.0 (from tensorflow->-r requirements.txt (line 9))
Downloading tensorflow_estimator-2.11.0-py2.py3-none-any.whl (439 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 439.2/439.2 kB 38.4 MB/s eta 0:00:00
Requirement already satisfied: termcolor>=1.1.0 in /usr/local/lib/python3.10/dist-packages (from tensorflow->-r requirements.txt (line 9)) (2.3.0)
Requirement already satisfied: wrapt>=1.11.0 in /usr/local/lib/python3.10/dist-packages (from tensorflow->-r requirements.txt (line 9)) (1.14.1)
Requirement already satisfied: tensorflow-io-gcs-filesystem>=0.23.1 in /usr/local/lib/python3.10/dist-packages (from tensorflow->-r requirements.txt (line 9)) (0.32.0)
Requirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from gdown@ git+https://github.com/melMass/gdown@main->-r requirements.txt (line 12)) (3.12.2)
Requirement already satisfied: requests[socks] in /usr/local/lib/python3.10/dist-packages (from gdown@ git+https://github.com/melMass/gdown@main->-r requirements.txt (line 12)) (2.27.1)
Requirement already satisfied: beautifulsoup4 in /usr/local/lib/python3.10/dist-packages (from gdown@ git+https://github.com/melMass/gdown@main->-r requirements.txt (line 12)) (4.11.2)
Requirement already satisfied: attrs>=17.3.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp>=3.8.1->rembg==2.0.37->-r requirements.txt (line 5)) (23.1.0)
Requirement already satisfied: charset-normalizer<4.0,>=2.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp>=3.8.1->rembg==2.0.37->-r requirements.txt (line 5)) (2.0.12)
Requirement already satisfied: multidict<7.0,>=4.5 in /usr/local/lib/python3.10/dist-packages (from aiohttp>=3.8.1->rembg==2.0.37->-r requirements.txt (line 5)) (6.0.4)
Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in /usr/local/lib/python3.10/dist-packages (from aiohttp>=3.8.1->rembg==2.0.37->-r requirements.txt (line 5)) (4.0.2)
Requirement already satisfied: yarl<2.0,>=1.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp>=3.8.1->rembg==2.0.37->-r requirements.txt (line 5)) (1.9.2)
Requirement already satisfied: frozenlist>=1.1.1 in /usr/local/lib/python3.10/dist-packages (from aiohttp>=3.8.1->rembg==2.0.37->-r requirements.txt (line 5)) (1.4.0)
Requirement already satisfied: aiosignal>=1.1.2 in /usr/local/lib/python3.10/dist-packages (from aiohttp>=3.8.1->rembg==2.0.37->-r requirements.txt (line 5)) (1.3.1)
Requirement already satisfied: wheel<1.0,>=0.23.0 in /usr/local/lib/python3.10/dist-packages (from astunparse>=1.6.0->tensorflow->-r requirements.txt (line 9)) (0.40.0)
Requirement already satisfied: anyio<4.0.0,>=3.4.0 in /usr/local/lib/python3.10/dist-packages (from asyncer>=0.0.2->rembg==2.0.37->-r requirements.txt (line 5)) (3.7.1)
Requirement already satisfied: pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,<3.0.0,>=1.7.4 in /usr/local/lib/python3.10/dist-packages (from fastapi>=0.92.0->rembg==2.0.37->-r requirements.txt (line 5)) (1.10.11)
Collecting starlette<0.28.0,>=0.27.0 (from fastapi>=0.92.0->rembg==2.0.37->-r requirements.txt (line 5))
Downloading starlette-0.27.0-py3-none-any.whl (66 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 67.0/67.0 kB 8.7 MB/s eta 0:00:00
Requirement already satisfied: PyWavelets in /usr/local/lib/python3.10/dist-packages (from imagehash>=4.3.1->rembg==2.0.37->-r requirements.txt (line 5)) (1.4.1)
Requirement already satisfied: appdirs>=1.3.0 in /usr/local/lib/python3.10/dist-packages (from pooch>=1.6.0->rembg==2.0.37->-r requirements.txt (line 5)) (1.4.4)
Requirement already satisfied: llvmlite<0.40,>=0.39.0dev0 in /usr/local/lib/python3.10/dist-packages (from numba->facexlib==0.3.0->-r requirements.txt (line 14)) (0.39.1)
Requirement already satisfied: networkx>=2.2 in /usr/local/lib/python3.10/dist-packages (from scikit-image>=0.19.3->rembg==2.0.37->-r requirements.txt (line 5)) (3.1)
Requirement already satisfied: tifffile>=2019.7.26 in /usr/local/lib/python3.10/dist-packages (from scikit-image>=0.19.3->rembg==2.0.37->-r requirements.txt (line 5)) (2023.7.10)
Requirement already satisfied: google-auth<3,>=1.6.3 in /usr/local/lib/python3.10/dist-packages (from tensorboard<2.12,>=2.11->tensorflow->-r requirements.txt (line 9)) (2.17.3)
Collecting google-auth-oauthlib<0.5,>=0.4.1 (from tensorboard<2.12,>=2.11->tensorflow->-r requirements.txt (line 9))
Downloading google_auth_oauthlib-0.4.6-py2.py3-none-any.whl (18 kB)
Requirement already satisfied: markdown>=2.6.8 in /usr/local/lib/python3.10/dist-packages (from tensorboard<2.12,>=2.11->tensorflow->-r requirements.txt (line 9)) (3.4.3)
Collecting tensorboard-data-server<0.7.0,>=0.6.0 (from tensorboard<2.12,>=2.11->tensorflow->-r requirements.txt (line 9))
Downloading tensorboard_data_server-0.6.1-py3-none-manylinux2010_x86_64.whl (4.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.9/4.9 MB 81.4 MB/s eta 0:00:00
Collecting tensorboard-plugin-wit>=1.6.0 (from tensorboard<2.12,>=2.11->tensorflow->-r requirements.txt (line 9))
Downloading tensorboard_plugin_wit-1.8.1-py3-none-any.whl (781 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 781.3/781.3 kB 51.8 MB/s eta 0:00:00
Requirement already satisfied: werkzeug>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from tensorboard<2.12,>=2.11->tensorflow->-r requirements.txt (line 9)) (2.3.6)
Collecting h11>=0.8 (from uvicorn>=0.20.0->rembg==2.0.37->-r requirements.txt (line 5))
Downloading h11-0.14.0-py3-none-any.whl (58 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.3/58.3 kB 8.7 MB/s eta 0:00:00
Requirement already satisfied: soupsieve>1.2 in /usr/local/lib/python3.10/dist-packages (from beautifulsoup4->gdown@ git+https://github.com/melMass/gdown@main->-r requirements.txt (line 12)) (2.4.1)
Collecting humanfriendly>=9.1 (from coloredlogs->onnxruntime-gpu==1.15.1->-r requirements.txt (line 1))
Downloading humanfriendly-10.0-py2.py3-none-any.whl (86 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 86.8/86.8 kB 13.6 MB/s eta 0:00:00
Requirement already satisfied: contourpy>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib->mmdet==3.0.0->-r requirements.txt (line 13)) (1.1.0)
Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.10/dist-packages (from matplotlib->mmdet==3.0.0->-r requirements.txt (line 13)) (0.11.0)
Requirement already satisfied: fonttools>=4.22.0 in /usr/local/lib/python3.10/dist-packages (from matplotlib->mmdet==3.0.0->-r requirements.txt (line 13)) (4.41.0)
Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib->mmdet==3.0.0->-r requirements.txt (line 13)) (1.4.4)
Requirement already satisfied: pyparsing>=2.3.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib->mmdet==3.0.0->-r requirements.txt (line 13)) (3.1.0)
Requirement already satisfied: python-dateutil>=2.7 in /usr/local/lib/python3.10/dist-packages (from matplotlib->mmdet==3.0.0->-r requirements.txt (line 13)) (2.8.2)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.10/dist-packages (from requests[socks]->gdown@ git+https://github.com/melMass/gdown@main->-r requirements.txt (line 12)) (1.26.16)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests[socks]->gdown@ git+https://github.com/melMass/gdown@main->-r requirements.txt (line 12)) (2023.5.7)
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests[socks]->gdown@ git+https://github.com/melMass/gdown@main->-r requirements.txt (line 12)) (3.4)
Requirement already satisfied: PySocks!=1.5.7,>=1.5.6 in /usr/local/lib/python3.10/dist-packages (from requests[socks]->gdown@ git+https://github.com/melMass/gdown@main->-r requirements.txt (line 12)) (1.7.1)
Requirement already satisfied: mpmath>=0.19 in /usr/local/lib/python3.10/dist-packages (from sympy->onnxruntime-gpu==1.15.1->-r requirements.txt (line 1)) (1.3.0)
Requirement already satisfied: jinja2 in /usr/local/lib/python3.10/dist-packages (from torch->facexlib==0.3.0->-r requirements.txt (line 14)) (3.1.2)
Requirement already satisfied: triton==2.0.0 in /usr/local/lib/python3.10/dist-packages (from torch->facexlib==0.3.0->-r requirements.txt (line 14)) (2.0.0)
Requirement already satisfied: cmake in /usr/local/lib/python3.10/dist-packages (from triton==2.0.0->torch->facexlib==0.3.0->-r requirements.txt (line 14)) (3.25.2)
Requirement already satisfied: lit in /usr/local/lib/python3.10/dist-packages (from triton==2.0.0->torch->facexlib==0.3.0->-r requirements.txt (line 14)) (16.0.6)
Requirement already satisfied: sniffio>=1.1 in /usr/local/lib/python3.10/dist-packages (from anyio<4.0.0,>=3.4.0->asyncer>=0.0.2->rembg==2.0.37->-r requirements.txt (line 5)) (1.3.0)
Requirement already satisfied: exceptiongroup in /usr/local/lib/python3.10/dist-packages (from anyio<4.0.0,>=3.4.0->asyncer>=0.0.2->rembg==2.0.37->-r requirements.txt (line 5)) (1.1.2)
Requirement already satisfied: cachetools<6.0,>=2.0.0 in /usr/local/lib/python3.10/dist-packages (from google-auth<3,>=1.6.3->tensorboard<2.12,>=2.11->tensorflow->-r requirements.txt (line 9)) (5.3.1)
Requirement already satisfied: pyasn1-modules>=0.2.1 in /usr/local/lib/python3.10/dist-packages (from google-auth<3,>=1.6.3->tensorboard<2.12,>=2.11->tensorflow->-r requirements.txt (line 9)) (0.3.0)
Requirement already satisfied: rsa<5,>=3.1.4 in /usr/local/lib/python3.10/dist-packages (from google-auth<3,>=1.6.3->tensorboard<2.12,>=2.11->tensorflow->-r requirements.txt (line 9)) (4.9)
Requirement already satisfied: requests-oauthlib>=0.7.0 in /usr/local/lib/python3.10/dist-packages (from google-auth-oauthlib<0.5,>=0.4.1->tensorboard<2.12,>=2.11->tensorflow->-r requirements.txt (line 9)) (1.3.1)
Requirement already satisfied: MarkupSafe>=2.1.1 in /usr/local/lib/python3.10/dist-packages (from werkzeug>=1.0.1->tensorboard<2.12,>=2.11->tensorflow->-r requirements.txt (line 9)) (2.1.3)
Requirement already satisfied: pyasn1<0.6.0,>=0.4.6 in /usr/local/lib/python3.10/dist-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tensorboard<2.12,>=2.11->tensorflow->-r requirements.txt (line 9)) (0.5.0)
Requirement already satisfied: oauthlib>=3.0.0 in /usr/local/lib/python3.10/dist-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tensorboard<2.12,>=2.11->tensorflow->-r requirements.txt (line 9)) (3.2.2)
Building wheels for collected packages: gdown, filterpy
Building wheel for gdown (pyproject.toml) ... done
Created wheel for gdown: filename=gdown-4.7.1-py3-none-any.whl size=15753 sha256=8b16b9f6dda792514ac1d77d9b915b00cb54e038b9416edb7d9e2069785ed3df
Stored in directory: /tmp/pip-ephem-wheel-cache-ojkp91f9/wheels/fb/fb/64/4e99624ed565f9ffe586b08cecd2c747b9772ed6795a170e05
Building wheel for filterpy (setup.py) ... done
Created wheel for filterpy: filename=filterpy-1.4.5-py3-none-any.whl size=110459 sha256=20b744c0d05cc01a69e523c40c64c882975a9c43b8d23f94feae79fafa94538d
Stored in directory: /root/.cache/pip/wheels/0f/0c/ea/218f266af4ad626897562199fbbcba521b8497303200186102
Successfully built gdown filterpy
Installing collected packages: tensorboard-plugin-wit, pypng, filetype, watchdog, terminaltables, tensorflow-estimator, tensorboard-data-server, qrcode, python-multipart, protobuf, pillow, numpy, keras, humanfriendly, h11, uvicorn, starlette, imageio, coloredlogs, asyncer, pymatting, onnxruntime-gpu, onnxruntime, imagehash, google-auth-oauthlib, gdown, fastapi, tensorboard, rembg, filterpy, tensorflow, mmdet, facexlib
Attempting uninstall: tensorflow-estimator
Found existing installation: tensorflow-estimator 2.12.0
Uninstalling tensorflow-estimator-2.12.0:
Successfully uninstalled tensorflow-estimator-2.12.0
Attempting uninstall: tensorboard-data-server
Found existing installation: tensorboard-data-server 0.7.1
Uninstalling tensorboard-data-server-0.7.1:
Successfully uninstalled tensorboard-data-server-0.7.1
Attempting uninstall: protobuf
Found existing installation: protobuf 3.20.3
Uninstalling protobuf-3.20.3:
Successfully uninstalled protobuf-3.20.3
Attempting uninstall: pillow
Found existing installation: Pillow 8.4.0
Uninstalling Pillow-8.4.0:
Successfully uninstalled Pillow-8.4.0
Attempting uninstall: numpy
Found existing installation: numpy 1.22.4
Uninstalling numpy-1.22.4:
Successfully uninstalled numpy-1.22.4
Attempting uninstall: keras
Found existing installation: keras 2.12.0
Uninstalling keras-2.12.0:
Successfully uninstalled keras-2.12.0
Attempting uninstall: imageio
Found existing installation: imageio 2.25.1
Uninstalling imageio-2.25.1:
Successfully uninstalled imageio-2.25.1
Attempting uninstall: google-auth-oauthlib
Found existing installation: google-auth-oauthlib 1.0.0
Uninstalling google-auth-oauthlib-1.0.0:
Successfully uninstalled google-auth-oauthlib-1.0.0
Attempting uninstall: gdown
Found existing installation: gdown 4.6.6
Uninstalling gdown-4.6.6:
Successfully uninstalled gdown-4.6.6
Attempting uninstall: tensorboard
Found existing installation: tensorboard 2.12.3
Uninstalling tensorboard-2.12.3:
Successfully uninstalled tensorboard-2.12.3
Attempting uninstall: tensorflow
Found existing installation: tensorflow 2.12.0
Uninstalling tensorflow-2.12.0:
Successfully uninstalled tensorflow-2.12.0
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
tensorflow-datasets 4.9.2 requires protobuf>=3.20, but you have protobuf 3.19.6 which is incompatible.
tensorflow-metadata 1.13.1 requires protobuf<5,>=3.20.3, but you have protobuf 3.19.6 which is incompatible.
Successfully installed asyncer-0.0.2 coloredlogs-15.0.1 facexlib-0.3.0 fastapi-0.100.0 filetype-1.2.0 filterpy-1.4.5 gdown-4.7.1 google-auth-oauthlib-0.4.6 h11-0.14.0 humanfriendly-10.0 imagehash-4.3.1 imageio-2.28.1 keras-2.11.0 mmdet-3.0.0 numpy-1.23.5 onnxruntime-1.15.1 onnxruntime-gpu-1.15.1 pillow-10.0.0 protobuf-3.19.6 pymatting-1.1.8 pypng-0.20220715.0 python-multipart-0.0.6 qrcode-7.4.2 rembg-2.0.37 starlette-0.27.0 tensorboard-2.11.2 tensorboard-data-server-0.6.1 tensorboard-plugin-wit-1.8.1 tensorflow-2.11.1 tensorflow-estimator-2.11.0 terminaltables-3.1.10 uvicorn-0.23.1 watchdog-3.0.0
Install: install script
[mtb install]  No arguments provided, doing a full install/update...
[mtb install]  Detected environment: colab
[mtb install]  Installing dependencies from requirements.txt...
[mtb install]  Package onnxruntime-gpu==1.15.1 already installed (import name: 'onnxruntime').
[mtb install]  Package imageio===2.28.1 already installed (import name: 'imageio').
[mtb install]  Package qrcode already installed (import name: 'qrcode').
[mtb install]  Package numpy==1.23.5 already installed (import name: 'numpy').
[mtb install]  Package rembg==2.0.37 already installed (import name: 'rembg').
2023-07-22 18:42:57.779406: 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-22 18:42:57.779603: 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-22 18:42:57.779624: 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.
[mtb install]  Package tensorflow<2.11.0 already installed (import name: 'tensorflow').
[mtb install]  Package tb-nightly==2.12.0a20230126 already installed (import name: 'tensorboard').
[mtb install]  Package tensorflow already installed (import name: 'tensorflow').
[mtb install]  Package protobuf==3.19.6 already installed (import name: 'google.protobuf').
[mtb install]  Package gdown already installed (import name: 'gdown').
[mtb install]  Installing package mmdet==3.0.0...
Requirement already satisfied: mmdet==3.0.0 in /usr/local/lib/python3.10/dist-packages (3.0.0)
Requirement already satisfied: matplotlib in /usr/local/lib/python3.10/dist-packages (from mmdet==3.0.0) (3.7.1)
Requirement already satisfied: numpy in /usr/local/lib/python3.10/dist-packages (from mmdet==3.0.0) (1.23.5)
Requirement already satisfied: pycocotools in /usr/local/lib/python3.10/dist-packages (from mmdet==3.0.0) (2.0.6)
Requirement already satisfied: scipy in /usr/local/lib/python3.10/dist-packages (from mmdet==3.0.0) (1.10.1)
Requirement already satisfied: shapely in /usr/local/lib/python3.10/dist-packages (from mmdet==3.0.0) (2.0.1)
Requirement already satisfied: six in /usr/local/lib/python3.10/dist-packages (from mmdet==3.0.0) (1.16.0)
Requirement already satisfied: terminaltables in /usr/local/lib/python3.10/dist-packages (from mmdet==3.0.0) (3.1.10)
Requirement already satisfied: contourpy>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib->mmdet==3.0.0) (1.1.0)
Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.10/dist-packages (from matplotlib->mmdet==3.0.0) (0.11.0)
Requirement already satisfied: fonttools>=4.22.0 in /usr/local/lib/python3.10/dist-packages (from matplotlib->mmdet==3.0.0) (4.41.0)
Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib->mmdet==3.0.0) (1.4.4)
Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.10/dist-packages (from matplotlib->mmdet==3.0.0) (23.1)
Requirement already satisfied: pillow>=6.2.0 in /usr/local/lib/python3.10/dist-packages (from matplotlib->mmdet==3.0.0) (10.0.0)
Requirement already satisfied: pyparsing>=2.3.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib->mmdet==3.0.0) (3.1.0)
Requirement already satisfied: python-dateutil>=2.7 in /usr/local/lib/python3.10/dist-packages (from matplotlib->mmdet==3.0.0) (2.8.2)
[mtb install]  Package mmdet==3.0.0 installed successfully using pip package name  (import name: 'mmdet')
[mtb install]  Package facexlib==0.3.0 already installed (import name: 'facexlib').
[mtb install]  Downloading and installing release wheels since we are in a Comfy colab environment
[mtb install]  Downloading and installing release wheels since no arguments where provided
[mtb install]  Downloading asset: deps-wheels_ubuntu-latest-linux-x64.zip
deps-wheels_ubuntu-latest-linux-x64: 100% 1.89M/1.89M [00:00<00:00, 18.1MB/s]
Extracting: 100% 4/4 [00:00<00:00, 306.05file/s]
[mtb install]  Wheels extracted for linux to the '/content/ComfyUI/custom_nodes/comfy_mtb/wheels' directory.
Installing wheel: insightface-0.7.3-cp310-cp310-linux_x86_64.whl
Installing:   0% 0/3 [00:00<?, ?package/s]Processing ./wheels/insightface-0.7.3-cp310-cp310-linux_x86_64.whl
Requirement already satisfied: numpy in /usr/local/lib/python3.10/dist-packages (from insightface==0.7.3) (1.23.5)
Collecting onnx (from insightface==0.7.3)
Downloading onnx-1.14.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 14.6/14.6 MB 54.2 MB/s eta 0:00:00
Requirement already satisfied: tqdm in /usr/local/lib/python3.10/dist-packages (from insightface==0.7.3) (4.65.0)
Requirement already satisfied: requests in /usr/local/lib/python3.10/dist-packages (from insightface==0.7.3) (2.27.1)
Requirement already satisfied: matplotlib in /usr/local/lib/python3.10/dist-packages (from insightface==0.7.3) (3.7.1)
Requirement already satisfied: Pillow in /usr/local/lib/python3.10/dist-packages (from insightface==0.7.3) (10.0.0)
Requirement already satisfied: scipy in /usr/local/lib/python3.10/dist-packages (from insightface==0.7.3) (1.10.1)
Requirement already satisfied: scikit-learn in /usr/local/lib/python3.10/dist-packages (from insightface==0.7.3) (1.2.2)
Requirement already satisfied: scikit-image in /usr/local/lib/python3.10/dist-packages (from insightface==0.7.3) (0.19.3)
Requirement already satisfied: easydict in /usr/local/lib/python3.10/dist-packages (from insightface==0.7.3) (1.10)
Requirement already satisfied: cython in /usr/local/lib/python3.10/dist-packages (from insightface==0.7.3) (0.29.36)
Requirement already satisfied: albumentations in /usr/local/lib/python3.10/dist-packages (from insightface==0.7.3) (1.2.1)
Requirement already satisfied: prettytable in /usr/local/lib/python3.10/dist-packages (from insightface==0.7.3) (0.7.2)
Requirement already satisfied: PyYAML in /usr/local/lib/python3.10/dist-packages (from albumentations->insightface==0.7.3) (6.0.1)
Requirement already satisfied: qudida>=0.0.4 in /usr/local/lib/python3.10/dist-packages (from albumentations->insightface==0.7.3) (0.0.4)
Requirement already satisfied: opencv-python-headless>=4.1.1 in /usr/local/lib/python3.10/dist-packages (from albumentations->insightface==0.7.3) (<IP_ADDRESS>)
Requirement already satisfied: networkx>=2.2 in /usr/local/lib/python3.10/dist-packages (from scikit-image->insightface==0.7.3) (3.1)
Requirement already satisfied: imageio>=2.4.1 in /usr/local/lib/python3.10/dist-packages (from scikit-image->insightface==0.7.3) (2.28.1)
Requirement already satisfied: tifffile>=2019.7.26 in /usr/local/lib/python3.10/dist-packages (from scikit-image->insightface==0.7.3) (2023.7.10)
Requirement already satisfied: PyWavelets>=1.1.1 in /usr/local/lib/python3.10/dist-packages (from scikit-image->insightface==0.7.3) (1.4.1)
Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.10/dist-packages (from scikit-image->insightface==0.7.3) (23.1)
Requirement already satisfied: contourpy>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib->insightface==0.7.3) (1.1.0)
Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.10/dist-packages (from matplotlib->insightface==0.7.3) (0.11.0)
Requirement already satisfied: fonttools>=4.22.0 in /usr/local/lib/python3.10/dist-packages (from matplotlib->insightface==0.7.3) (4.41.0)
Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib->insightface==0.7.3) (1.4.4)
Requirement already satisfied: pyparsing>=2.3.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib->insightface==0.7.3) (3.1.0)
Requirement already satisfied: python-dateutil>=2.7 in /usr/local/lib/python3.10/dist-packages (from matplotlib->insightface==0.7.3) (2.8.2)
Collecting protobuf>=3.20.2 (from onnx->insightface==0.7.3)
Downloading protobuf-4.23.4-cp37-abi3-manylinux2014_x86_64.whl (304 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 304.5/304.5 kB 28.4 MB/s eta 0:00:00
Requirement already satisfied: typing-extensions>=<IP_ADDRESS> in /usr/local/lib/python3.10/dist-packages (from onnx->insightface==0.7.3) (4.7.1)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.10/dist-packages (from requests->insightface==0.7.3) (1.26.16)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests->insightface==0.7.3) (2023.5.7)
Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/local/lib/python3.10/dist-packages (from requests->insightface==0.7.3) (2.0.12)
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests->insightface==0.7.3) (3.4)
Requirement already satisfied: joblib>=1.1.1 in /usr/local/lib/python3.10/dist-packages (from scikit-learn->insightface==0.7.3) (1.3.1)
Requirement already satisfied: threadpoolctl>=2.0.0 in /usr/local/lib/python3.10/dist-packages (from scikit-learn->insightface==0.7.3) (3.2.0)
Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.10/dist-packages (from python-dateutil>=2.7->matplotlib->insightface==0.7.3) (1.16.0)
Installing collected packages: protobuf, onnx, insightface
Attempting uninstall: protobuf
Found existing installation: protobuf 3.19.6
Uninstalling protobuf-3.19.6:
Successfully uninstalled protobuf-3.19.6
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
tensorboard 2.11.2 requires protobuf<4,>=3.9.2, but you have protobuf 4.23.4 which is incompatible.
tensorflow 2.11.1 requires protobuf<3.20,>=3.9.2, but you have protobuf 4.23.4 which is incompatible.
Successfully installed insightface-0.7.3 onnx-1.14.0 protobuf-4.23.4
Installing wheel: mmcv-2.0.0-py2.py3-none-any.whl
Installing:  33% 1/3 [00:10<00:20, 10.47s/package]Processing ./wheels/mmcv-2.0.0-py2.py3-none-any.whl
Collecting addict (from mmcv==2.0.0)
Downloading addict-2.4.0-py3-none-any.whl (3.8 kB)
Collecting mmengine>=0.2.0 (from mmcv==2.0.0)
Downloading mmengine-0.8.2-py3-none-any.whl (433 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 433.6/433.6 kB 8.5 MB/s eta 0:00:00
Requirement already satisfied: numpy in /usr/local/lib/python3.10/dist-packages (from mmcv==2.0.0) (1.23.5)
Requirement already satisfied: packaging in /usr/local/lib/python3.10/dist-packages (from mmcv==2.0.0) (23.1)
Requirement already satisfied: Pillow in /usr/local/lib/python3.10/dist-packages (from mmcv==2.0.0) (10.0.0)
Requirement already satisfied: pyyaml in /usr/local/lib/python3.10/dist-packages (from mmcv==2.0.0) (6.0.1)
Collecting yapf (from mmcv==2.0.0)
Downloading yapf-0.40.1-py3-none-any.whl (250 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 250.3/250.3 kB 30.4 MB/s eta 0:00:00
Requirement already satisfied: opencv-python>=3 in /usr/local/lib/python3.10/dist-packages (from mmcv==2.0.0) (<IP_ADDRESS>)
Requirement already satisfied: matplotlib in /usr/local/lib/python3.10/dist-packages (from mmengine>=0.2.0->mmcv==2.0.0) (3.7.1)
Requirement already satisfied: rich in /usr/local/lib/python3.10/dist-packages (from mmengine>=0.2.0->mmcv==2.0.0) (13.4.2)
Requirement already satisfied: termcolor in /usr/local/lib/python3.10/dist-packages (from mmengine>=0.2.0->mmcv==2.0.0) (2.3.0)
Collecting importlib-metadata>=6.6.0 (from yapf->mmcv==2.0.0)
Downloading importlib_metadata-6.8.0-py3-none-any.whl (22 kB)
Requirement already satisfied: platformdirs>=3.5.1 in /usr/local/lib/python3.10/dist-packages (from yapf->mmcv==2.0.0) (3.9.1)
Requirement already satisfied: tomli>=2.0.1 in /usr/local/lib/python3.10/dist-packages (from yapf->mmcv==2.0.0) (2.0.1)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.10/dist-packages (from importlib-metadata>=6.6.0->yapf->mmcv==2.0.0) (3.16.2)
Requirement already satisfied: contourpy>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib->mmengine>=0.2.0->mmcv==2.0.0) (1.1.0)
Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.10/dist-packages (from matplotlib->mmengine>=0.2.0->mmcv==2.0.0) (0.11.0)
Requirement already satisfied: fonttools>=4.22.0 in /usr/local/lib/python3.10/dist-packages (from matplotlib->mmengine>=0.2.0->mmcv==2.0.0) (4.41.0)
Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib->mmengine>=0.2.0->mmcv==2.0.0) (1.4.4)
Requirement already satisfied: pyparsing>=2.3.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib->mmengine>=0.2.0->mmcv==2.0.0) (3.1.0)
Requirement already satisfied: python-dateutil>=2.7 in /usr/local/lib/python3.10/dist-packages (from matplotlib->mmengine>=0.2.0->mmcv==2.0.0) (2.8.2)
Requirement already satisfied: markdown-it-py>=2.2.0 in /usr/local/lib/python3.10/dist-packages (from rich->mmengine>=0.2.0->mmcv==2.0.0) (3.0.0)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in /usr/local/lib/python3.10/dist-packages (from rich->mmengine>=0.2.0->mmcv==2.0.0) (2.14.0)
Requirement already satisfied: mdurl~=0.1 in /usr/local/lib/python3.10/dist-packages (from markdown-it-py>=2.2.0->rich->mmengine>=0.2.0->mmcv==2.0.0) (0.1.2)
Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.10/dist-packages (from python-dateutil>=2.7->matplotlib->mmengine>=0.2.0->mmcv==2.0.0) (1.16.0)
Installing collected packages: addict, importlib-metadata, yapf, mmengine, mmcv
Attempting uninstall: importlib-metadata
Found existing installation: importlib-metadata 4.6.4
Uninstalling importlib-metadata-4.6.4:
Successfully uninstalled importlib-metadata-4.6.4
Successfully installed addict-2.4.0 importlib-metadata-6.8.0 mmcv-2.0.0 mmengine-0.8.2 yapf-0.40.1
Installing wheel: basicsr-1.4.2-py3-none-any.whl
Installing:  67% 2/3 [00:17<00:08,  8.19s/package]Processing ./wheels/basicsr-1.4.2-py3-none-any.whl
Requirement already satisfied: addict in /usr/local/lib/python3.10/dist-packages (from basicsr==1.4.2) (2.4.0)
Requirement already satisfied: future in /usr/local/lib/python3.10/dist-packages (from basicsr==1.4.2) (0.18.3)
Collecting lmdb (from basicsr==1.4.2)
Downloading lmdb-1.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (299 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 299.2/299.2 kB 2.3 MB/s eta 0:00:00
Requirement already satisfied: numpy>=1.17 in /usr/local/lib/python3.10/dist-packages (from basicsr==1.4.2) (1.23.5)
Requirement already satisfied: opencv-python in /usr/local/lib/python3.10/dist-packages (from basicsr==1.4.2) (<IP_ADDRESS>)
Requirement already satisfied: Pillow in /usr/local/lib/python3.10/dist-packages (from basicsr==1.4.2) (10.0.0)
Requirement already satisfied: pyyaml in /usr/local/lib/python3.10/dist-packages (from basicsr==1.4.2) (6.0.1)
Requirement already satisfied: requests in /usr/local/lib/python3.10/dist-packages (from basicsr==1.4.2) (2.27.1)
Requirement already satisfied: scikit-image in /usr/local/lib/python3.10/dist-packages (from basicsr==1.4.2) (0.19.3)
Requirement already satisfied: scipy in /usr/local/lib/python3.10/dist-packages (from basicsr==1.4.2) (1.10.1)
Collecting tb-nightly (from basicsr==1.4.2)
Downloading tb_nightly-2.14.0a20230722-py3-none-any.whl (5.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.5/5.5 MB 72.2 MB/s eta 0:00:00
Requirement already satisfied: torch>=1.7 in /usr/local/lib/python3.10/dist-packages (from basicsr==1.4.2) (2.0.1+cu118)
Requirement already satisfied: torchvision in /usr/local/lib/python3.10/dist-packages (from basicsr==1.4.2) (0.15.2+cu118)
Requirement already satisfied: tqdm in /usr/local/lib/python3.10/dist-packages (from basicsr==1.4.2) (4.65.0)
Requirement already satisfied: yapf in /usr/local/lib/python3.10/dist-packages (from basicsr==1.4.2) (0.40.1)
Requirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from torch>=1.7->basicsr==1.4.2) (3.12.2)
Requirement already satisfied: typing-extensions in /usr/local/lib/python3.10/dist-packages (from torch>=1.7->basicsr==1.4.2) (4.7.1)
Requirement already satisfied: sympy in /usr/local/lib/python3.10/dist-packages (from torch>=1.7->basicsr==1.4.2) (1.11.1)
Requirement already satisfied: networkx in /usr/local/lib/python3.10/dist-packages (from torch>=1.7->basicsr==1.4.2) (3.1)
Requirement already satisfied: jinja2 in /usr/local/lib/python3.10/dist-packages (from torch>=1.7->basicsr==1.4.2) (3.1.2)
Requirement already satisfied: triton==2.0.0 in /usr/local/lib/python3.10/dist-packages (from torch>=1.7->basicsr==1.4.2) (2.0.0)
Requirement already satisfied: cmake in /usr/local/lib/python3.10/dist-packages (from triton==2.0.0->torch>=1.7->basicsr==1.4.2) (3.25.2)
Requirement already satisfied: lit in /usr/local/lib/python3.10/dist-packages (from triton==2.0.0->torch>=1.7->basicsr==1.4.2) (16.0.6)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.10/dist-packages (from requests->basicsr==1.4.2) (1.26.16)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests->basicsr==1.4.2) (2023.5.7)
Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/local/lib/python3.10/dist-packages (from requests->basicsr==1.4.2) (2.0.12)
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests->basicsr==1.4.2) (3.4)
Requirement already satisfied: imageio>=2.4.1 in /usr/local/lib/python3.10/dist-packages (from scikit-image->basicsr==1.4.2) (2.28.1)
Requirement already satisfied: tifffile>=2019.7.26 in /usr/local/lib/python3.10/dist-packages (from scikit-image->basicsr==1.4.2) (2023.7.10)
Requirement already satisfied: PyWavelets>=1.1.1 in /usr/local/lib/python3.10/dist-packages (from scikit-image->basicsr==1.4.2) (1.4.1)
Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.10/dist-packages (from scikit-image->basicsr==1.4.2) (23.1)
Requirement already satisfied: absl-py>=0.4 in /usr/local/lib/python3.10/dist-packages (from tb-nightly->basicsr==1.4.2) (1.4.0)
Requirement already satisfied: grpcio>=1.48.2 in /usr/local/lib/python3.10/dist-packages (from tb-nightly->basicsr==1.4.2) (1.56.0)
Requirement already satisfied: google-auth<3,>=1.6.3 in /usr/local/lib/python3.10/dist-packages (from tb-nightly->basicsr==1.4.2) (2.17.3)
Collecting google-auth-oauthlib<1.1,>=0.5 (from tb-nightly->basicsr==1.4.2)
Downloading google_auth_oauthlib-1.0.0-py2.py3-none-any.whl (18 kB)
Requirement already satisfied: markdown>=2.6.8 in /usr/local/lib/python3.10/dist-packages (from tb-nightly->basicsr==1.4.2) (3.4.3)
Requirement already satisfied: protobuf>=3.19.6 in /usr/local/lib/python3.10/dist-packages (from tb-nightly->basicsr==1.4.2) (4.23.4)
Requirement already satisfied: setuptools>=41.0.0 in /usr/local/lib/python3.10/dist-packages (from tb-nightly->basicsr==1.4.2) (67.7.2)
Collecting tensorboard-data-server<0.8.0,>=0.7.0 (from tb-nightly->basicsr==1.4.2)
Downloading tensorboard_data_server-0.7.1-py3-none-manylinux2014_x86_64.whl (6.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.6/6.6 MB 73.4 MB/s eta 0:00:00
Requirement already satisfied: werkzeug>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from tb-nightly->basicsr==1.4.2) (2.3.6)
Requirement already satisfied: wheel>=0.26 in /usr/local/lib/python3.10/dist-packages (from tb-nightly->basicsr==1.4.2) (0.40.0)
Requirement already satisfied: importlib-metadata>=6.6.0 in /usr/local/lib/python3.10/dist-packages (from yapf->basicsr==1.4.2) (6.8.0)
Requirement already satisfied: platformdirs>=3.5.1 in /usr/local/lib/python3.10/dist-packages (from yapf->basicsr==1.4.2) (3.9.1)
Requirement already satisfied: tomli>=2.0.1 in /usr/local/lib/python3.10/dist-packages (from yapf->basicsr==1.4.2) (2.0.1)
Requirement already satisfied: cachetools<6.0,>=2.0.0 in /usr/local/lib/python3.10/dist-packages (from google-auth<3,>=1.6.3->tb-nightly->basicsr==1.4.2) (5.3.1)
Requirement already satisfied: pyasn1-modules>=0.2.1 in /usr/local/lib/python3.10/dist-packages (from google-auth<3,>=1.6.3->tb-nightly->basicsr==1.4.2) (0.3.0)
Requirement already satisfied: six>=1.9.0 in /usr/local/lib/python3.10/dist-packages (from google-auth<3,>=1.6.3->tb-nightly->basicsr==1.4.2) (1.16.0)
Requirement already satisfied: rsa<5,>=3.1.4 in /usr/local/lib/python3.10/dist-packages (from google-auth<3,>=1.6.3->tb-nightly->basicsr==1.4.2) (4.9)
Requirement already satisfied: requests-oauthlib>=0.7.0 in /usr/local/lib/python3.10/dist-packages (from google-auth-oauthlib<1.1,>=0.5->tb-nightly->basicsr==1.4.2) (1.3.1)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.10/dist-packages (from importlib-metadata>=6.6.0->yapf->basicsr==1.4.2) (3.16.2)
Requirement already satisfied: MarkupSafe>=2.1.1 in /usr/local/lib/python3.10/dist-packages (from werkzeug>=1.0.1->tb-nightly->basicsr==1.4.2) (2.1.3)
Requirement already satisfied: mpmath>=0.19 in /usr/local/lib/python3.10/dist-packages (from sympy->torch>=1.7->basicsr==1.4.2) (1.3.0)
Requirement already satisfied: pyasn1<0.6.0,>=0.4.6 in /usr/local/lib/python3.10/dist-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tb-nightly->basicsr==1.4.2) (0.5.0)
Requirement already satisfied: oauthlib>=3.0.0 in /usr/local/lib/python3.10/dist-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<1.1,>=0.5->tb-nightly->basicsr==1.4.2) (3.2.2)
Installing collected packages: lmdb, tensorboard-data-server, google-auth-oauthlib, tb-nightly, basicsr
Attempting uninstall: tensorboard-data-server
Found existing installation: tensorboard-data-server 0.6.1
Uninstalling tensorboard-data-server-0.6.1:
Successfully uninstalled tensorboard-data-server-0.6.1
Attempting uninstall: google-auth-oauthlib
Found existing installation: google-auth-oauthlib 0.4.6
Uninstalling google-auth-oauthlib-0.4.6:
Successfully uninstalled google-auth-oauthlib-0.4.6
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
tensorboard 2.11.2 requires google-auth-oauthlib<0.5,>=0.4.1, but you have google-auth-oauthlib 1.0.0 which is incompatible.
tensorboard 2.11.2 requires protobuf<4,>=3.9.2, but you have protobuf 4.23.4 which is incompatible.
tensorboard 2.11.2 requires tensorboard-data-server<0.7.0,>=0.6.0, but you have tensorboard-data-server 0.7.1 which is incompatible.
tensorflow 2.11.1 requires protobuf<3.20,>=3.9.2, but you have protobuf 4.23.4 which is incompatible.
Successfully installed basicsr-1.4.2 google-auth-oauthlib-1.0.0 lmdb-1.4.1 tb-nightly-2.14.0a20230722 tensorboard-data-server-0.7.1
Installing: 100% 3/3 [00:27<00:00,  9.21s/package]
[mtb install]  Wheels installation completed.
Installation was successful.
After restarting ComfyUI, please refresh the browser.
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/aiohttp/web_protocol.py", line 433, in _handle_request
resp = await request_handler(request)
File "/usr/local/lib/python3.10/dist-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.10/dist-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/content/ComfyUI/server.py", line 42, in cache_control
response: web.Response = await handler(request)
File "/content/ComfyUI/server.py", line 91, in websocket_handler
await ws.prepare(request)
File "/usr/local/lib/python3.10/dist-packages/aiohttp/web_ws.py", line 138, in prepare
payload_writer = await super().prepare(request)
File "/usr/local/lib/python3.10/dist-packages/aiohttp/web_response.py", line 421, in prepare
return await self._start(request)
File "/usr/local/lib/python3.10/dist-packages/aiohttp/web_response.py", line 429, in _start
await self._write_headers()
File "/usr/local/lib/python3.10/dist-packages/aiohttp/web_response.py", line 502, in _write_headers
await writer.write_headers(status_line, self._headers)
File "/usr/local/lib/python3.10/dist-packages/aiohttp/http_writer.py", line 130, in write_headers
self._write(buf)
File "/usr/local/lib/python3.10/dist-packages/aiohttp/http_writer.py", line 75, in _write
raise ConnectionResetError("Cannot write to closing transport")
ConnectionResetError: Cannot write to closing transport
FECTH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/aiohttp/web_protocol.py", line 433, in _handle_request
resp = await request_handler(request)
File "/usr/local/lib/python3.10/dist-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.10/dist-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/content/ComfyUI/server.py", line 42, in cache_control
response: web.Response = await handler(request)
File "/content/ComfyUI/server.py", line 91, in websocket_handler
await ws.prepare(request)
File "/usr/local/lib/python3.10/dist-packages/aiohttp/web_ws.py", line 138, in prepare
payload_writer = await super().prepare(request)
File "/usr/local/lib/python3.10/dist-packages/aiohttp/web_response.py", line 421, in prepare
return await self._start(request)
File "/usr/local/lib/python3.10/dist-packages/aiohttp/web_response.py", line 429, in _start
await self._write_headers()
File "/usr/local/lib/python3.10/dist-packages/aiohttp/web_response.py", line 502, in _write_headers
await writer.write_headers(status_line, self._headers)
File "/usr/local/lib/python3.10/dist-packages/aiohttp/http_writer.py", line 130, in write_headers
self._write(buf)
File "/usr/local/lib/python3.10/dist-packages/aiohttp/http_writer.py", line 75, in _write
raise ConnectionResetError("Cannot write to closing transport")
ConnectionResetError: Cannot write to closing transport
And right after restarting the tunnel, I can't continue anymore, and it generates this log:
Log
/tools/node/bin/lt -> /tools/node/lib/node_modules/localtunnel/bin/lt.js

<EMAIL_ADDRESS>updated 1 package in 1.737s
╭───────────────────────────────────────────────────────────────╮
│                                                               │
│      New major version of npm available! 6.14.8 → 9.8.1       │
│   Changelog: https://github.com/npm/cli/releases/tag/v9.8.1   │
│               Run npm install -g npm to update!               │
│                                                               │
╰───────────────────────────────────────────────────────────────╯

Prestartup times for custom nodes:
0.0 seconds: /content/ComfyUI/custom_nodes/ComfyUI-Manager
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
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/tensorboard/compat/init.py", line 42, in tf
from tensorboard.compat import notf  # noqa: F401
ImportError: cannot import name 'notf' from 'tensorboard.compat' (/usr/local/lib/python3.10/dist-packages/tensorboard/compat/init.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/content/ComfyUI/comfy/model_management.py", line 186, in
import accelerate
File "/usr/local/lib/python3.10/dist-packages/accelerate/init.py", line 3, in
from .accelerator import Accelerator
File "/usr/local/lib/python3.10/dist-packages/accelerate/accelerator.py", line 41, in
from .tracking import LOGGER_TYPE_TO_CLASS, GeneralTracker, filter_trackers
File "/usr/local/lib/python3.10/dist-packages/accelerate/tracking.py", line 43, in
from torch.utils import tensorboard
File "/usr/local/lib/python3.10/dist-packages/torch/utils/tensorboard/init.py", line 12, in
from .writer import FileWriter, SummaryWriter  # noqa: F401
File "/usr/local/lib/python3.10/dist-packages/torch/utils/tensorboard/writer.py", line 16, in
from ._embedding import (
File "/usr/local/lib/python3.10/dist-packages/torch/utils/tensorboard/_embedding.py", line 9, in
_HAS_GFILE_JOIN = hasattr(tf.io.gfile, "join")
File "/usr/local/lib/python3.10/dist-packages/tensorboard/lazy.py", line 65, in getattr
return getattr(load_once(self), attr_name)
File "/usr/local/lib/python3.10/dist-packages/tensorboard/lazy.py", line 97, in wrapper
cache[arg] = f(arg)
File "/usr/local/lib/python3.10/dist-packages/tensorboard/lazy.py", line 50, in load_once
module = load_fn()
File "/usr/local/lib/python3.10/dist-packages/tensorboard/compat/init.py", line 45, in tf
import tensorflow
File "/usr/local/lib/python3.10/dist-packages/tensorflow/init.py", line 37, in
from tensorflow.python.tools import module_util as _module_util
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/init.py", line 37, in
from tensorflow.python.eager import context
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/eager/context.py", line 28, in
from tensorflow.core.framework import function_pb2
File "/usr/local/lib/python3.10/dist-packages/tensorflow/core/framework/function_pb2.py", line 16, in
from tensorflow.core.framework import attr_value_pb2 as tensorflow_dot_core_dot_framework_dot_attr__value__pb2
File "/usr/local/lib/python3.10/dist-packages/tensorflow/core/framework/attr_value_pb2.py", line 16, in
from tensorflow.core.framework import tensor_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__pb2
File "/usr/local/lib/python3.10/dist-packages/tensorflow/core/framework/tensor_pb2.py", line 16, in
from tensorflow.core.framework import resource_handle_pb2 as tensorflow_dot_core_dot_framework_dot_resource__handle__pb2
File "/usr/local/lib/python3.10/dist-packages/tensorflow/core/framework/resource_handle_pb2.py", line 16, in
from tensorflow.core.framework import tensor_shape_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__shape__pb2
File "/usr/local/lib/python3.10/dist-packages/tensorflow/core/framework/tensor_shape_pb2.py", line 36, in
_descriptor.FieldDescriptor(
File "/usr/local/lib/python3.10/dist-packages/google/protobuf/descriptor.py", line 561, in new
_message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:

Downgrade the protobuf package to 3.20.x or lower.
Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
ERROR: LOW VRAM MODE NEEDS accelerate.
Set vram state to: HIGH_VRAM
Device: cuda:0 Tesla T4 : cudaMallocAsync
Using xformers cross attention
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/tensorboard/compat/init.py", line 42, in tf
from tensorboard.compat import notf  # noqa: F401
ImportError: cannot import name 'notf' from 'tensorboard.compat' (/usr/local/lib/python3.10/dist-packages/tensorboard/compat/init.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/transformers/utils/import_utils.py", line 1099, in _get_module
return importlib.import_module("." + module_name, self.name)
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/usr/local/lib/python3.10/dist-packages/transformers/models/clip/modeling_clip.py", line 27, in
from ...modeling_utils import PreTrainedModel
File "/usr/local/lib/python3.10/dist-packages/transformers/modeling_utils.py", line 86, in
from accelerate import dispatch_model, infer_auto_device_map, init_empty_weights
File "/usr/local/lib/python3.10/dist-packages/accelerate/init.py", line 3, in
from .accelerator import Accelerator
File "/usr/local/lib/python3.10/dist-packages/accelerate/accelerator.py", line 41, in
from .tracking import LOGGER_TYPE_TO_CLASS, GeneralTracker, filter_trackers
File "/usr/local/lib/python3.10/dist-packages/accelerate/tracking.py", line 43, in
from torch.utils import tensorboard
File "/usr/local/lib/python3.10/dist-packages/torch/utils/tensorboard/init.py", line 12, in
from .writer import FileWriter, SummaryWriter  # noqa: F401
File "/usr/local/lib/python3.10/dist-packages/torch/utils/tensorboard/writer.py", line 16, in
from ._embedding import (
File "/usr/local/lib/python3.10/dist-packages/torch/utils/tensorboard/_embedding.py", line 9, in
_HAS_GFILE_JOIN = hasattr(tf.io.gfile, "join")
File "/usr/local/lib/python3.10/dist-packages/tensorboard/lazy.py", line 65, in getattr
return getattr(load_once(self), attr_name)
File "/usr/local/lib/python3.10/dist-packages/tensorboard/lazy.py", line 97, in wrapper
cache[arg] = f(arg)
File "/usr/local/lib/python3.10/dist-packages/tensorboard/lazy.py", line 50, in load_once
module = load_fn()
File "/usr/local/lib/python3.10/dist-packages/tensorboard/compat/init.py", line 45, in tf
import tensorflow
File "/usr/local/lib/python3.10/dist-packages/tensorflow/init.py", line 37, in
from tensorflow.python.tools import module_util as _module_util
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/init.py", line 37, in
from tensorflow.python.eager import context
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/eager/context.py", line 28, in
from tensorflow.core.framework import function_pb2
File "/usr/local/lib/python3.10/dist-packages/tensorflow/core/framework/function_pb2.py", line 16, in
from tensorflow.core.framework import attr_value_pb2 as tensorflow_dot_core_dot_framework_dot_attr__value__pb2
File "/usr/local/lib/python3.10/dist-packages/tensorflow/core/framework/attr_value_pb2.py", line 16, in
from tensorflow.core.framework import tensor_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__pb2
File "/usr/local/lib/python3.10/dist-packages/tensorflow/core/framework/tensor_pb2.py", line 16, in
from tensorflow.core.framework import resource_handle_pb2 as tensorflow_dot_core_dot_framework_dot_resource__handle__pb2
File "/usr/local/lib/python3.10/dist-packages/tensorflow/core/framework/resource_handle_pb2.py", line 16, in
from tensorflow.core.framework import tensor_shape_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__shape__pb2
File "/usr/local/lib/python3.10/dist-packages/tensorflow/core/framework/tensor_shape_pb2.py", line 36, in
_descriptor.FieldDescriptor(
File "/usr/local/lib/python3.10/dist-packages/google/protobuf/descriptor.py", line 561, in new
_message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:

Downgrade the protobuf package to 3.20.x or lower.
Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/content/ComfyUI/main.py", line 69, in
import execution
File "/content/ComfyUI/execution.py", line 11, in
import nodes
File "/content/ComfyUI/nodes.py", line 20, in
import comfy.diffusers_load
File "/content/ComfyUI/comfy/diffusers_load.py", line 6, in
from comfy.sd import load_checkpoint
File "/content/ComfyUI/comfy/sd.py", line 14, in
from . import clip_vision
File "/content/ComfyUI/comfy/clip_vision.py", line 1, in
from transformers import CLIPVisionModelWithProjection, CLIPVisionConfig, CLIPImageProcessor, modeling_utils
File "", line 1075, in _handle_fromlist
File "/usr/local/lib/python3.10/dist-packages/transformers/utils/import_utils.py", line 1090, in getattr
value = getattr(module, name)
File "/usr/local/lib/python3.10/dist-packages/transformers/utils/import_utils.py", line 1089, in getattr
module = self._get_module(self._class_to_module[name])
File "/usr/local/lib/python3.10/dist-packages/transformers/utils/import_utils.py", line 1101, in _get_module
raise RuntimeError(
RuntimeError: Failed to import transformers.models.clip.modeling_clip because of the following error (look up to see its traceback):
Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:

Downgrade the protobuf package to 3.20.x or lower.
Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
Using the old method, it starts normally, but as you can see in the log below, it doesn't load the faceswap, LoadFaceSwapModel, RestoreFace, and LoadFaceEnhanceModel:
Log
/tools/node/bin/lt -> /tools/node/lib/node_modules/localtunnel/bin/lt.js

<EMAIL_ADDRESS>added 22 packages from 22 contributors in 3.321s

Prestartup times for custom nodes:
0.0 seconds: /content/ComfyUI/custom_nodes/ComfyUI-Manager
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-22 19:11:58.435980: 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-22 19:11:58.436134: 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-22 19:11:58.436155: 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 : cudaMallocAsync
Using xformers cross attention
Log level: 20
FaceSwap
LoadFaceSwapModel
RestoreFace
LoadFaceEnhanceModel
[comfy_mtb] | INFO -> Some nodes failed to load:
Failed to import module faceswap because ModuleNotFoundError: No module named 'insightface'
Failed to import module faceenhance because ModuleNotFoundError: No module named 'basicsr'
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:
Save Gif (mtb): Save the images from the batch as a GIF
Export To Prores (mtb): Export to ProRes 4444 (Experimental)
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
Image Remove Background Rembg (mtb): Removes the background from the input using Rembg.
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.
Deep Bump (mtb): Normal & height maps generation from single pictures
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
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.
Debug (mtb): Experimental node to debug any Comfy values, support for more types and widgets is planned
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)
Qr Code (mtb): Basic QR Code generator
Animation Builder (mtb): Convenient way to manage basic animation maths at the core of many of my workflows
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.
Latent Lerp (mtb): Linear interpolation (blend) between two latent vectors
ComfyUI-Manager: installing dependencies
Collecting GitPython (from -r /content/ComfyUI/custom_nodes/ComfyUI-Manager/requirements.txt (line 1))
Downloading GitPython-3.1.32-py3-none-any.whl (188 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 188.5/188.5 kB 3.7 MB/s eta 0:00:00
Collecting gitdb<5,>=4.0.1 (from GitPython->-r /content/ComfyUI/custom_nodes/ComfyUI-Manager/requirements.txt (line 1))
Downloading gitdb-4.0.10-py3-none-any.whl (62 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.7/62.7 kB 8.8 MB/s eta 0:00:00
Collecting smmap<6,>=3.0.1 (from gitdb<5,>=4.0.1->GitPython->-r /content/ComfyUI/custom_nodes/ComfyUI-Manager/requirements.txt (line 1))
Downloading smmap-5.0.0-py3-none-any.whl (24 kB)
Installing collected packages: smmap, gitdb, GitPython
Successfully installed GitPython-3.1.32 gitdb-4.0.10 smmap-5.0.0
ComfyUI-Manager: installing dependencies done.
Loading: ComfyUI-Manager (V0.13)
ComfyUI Revision: 1196 [12a6e931]
Import times for custom nodes:
4.7 seconds: /content/ComfyUI/custom_nodes/ComfyUI-Manager
30.3 seconds: /content/ComfyUI/custom_nodes/comfy_mtb
But at least now, it's reading the photos from the folder. Thanks!

Thanks for the log.
Since I now rely on the install script to install wheels I think I can just remove tensorflow from the deps and conditionally install it from install.py. In colab you don't even need to install tf as it's a first class citizen and changing its version tends to break things

Hi, I don't know how to disable the tensor installation on colab. To make it work, I had to uninstall and reinstall the comfy_mtb through the manager, and then I had to uninstall the tensor so that the faceswap nodes show up.
I did some tests, and it seems that the node 'load image sequence' doesn't accept different sizes in the folder. This error keeps popping up:
Log
!!! Exception during processing !!!
Traceback (most recent call last):
File "/content/ComfyUI/execution.py", line 144, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "/content/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 "/content/ComfyUI/execution.py", line 67, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "/content/ComfyUI/custom_nodes/comfy_mtb/nodes/video.py", line 63, in load_image
out_img = torch.cat(imgs, dim=0)
RuntimeError: Sizes of tensors must match except in dimension 0. Expected size 768 but got size 1024 for tensor number 7 in the list.

Interesting, it's not evident to test all config, but I will automate it more since for now I manually check every Comfy "modes".
About load image_sequence, it is expected! A batch can only be of the same size, but depending on what you are trying to do maybe there could be an option to match the size of the images together with like letterbox and cover options to decide how to size change is done, if so don't hesitate to open a feature request

A thing I forgot to mention is that even when resizing a larger or smaller image to the same size as the other photos in the folder, it gives an error. In this case, I have a folder with photos at 512x768 resolution, and I resized one photo using the website birme.com, changing it from 1024x1536 to 512x768. Even when using Paint, it still gives the same error:
Log
RuntimeError: Sizes of tensors must match except in dimension 0. Expected size 64 but got size 512 for tensor number 7 in the list.

Hey, this seems to have been fixed upstream: https://github.com/Fannovel16/comfy_controlnet_preprocessors/commit/89370c1dd83f429c04dc13cd02b6c02021ac1376
For the other topics that have been brought up please open dedicated issues :)