diff --git a/custom_nodes/annotator/__init__.py b/custom_nodes/annotator/__init__.py new file mode 100644 index 000000000..c08dd6e2d --- /dev/null +++ b/custom_nodes/annotator/__init__.py @@ -0,0 +1,125 @@ +import canny, hed, midas, mlsd, openpose, uniformer +from util import HWC3 +import torch +import numpy as np + +def img_np_to_tensor(img_np): + return torch.from_numpy(img_np.astype(np.float32) / 255.0)[None,] +def img_tensor_to_np(img_tensor): + img_tensor = img_tensor.clone() + img_tensor = img_tensor * 255.0 + return img_tensor.squeeze(0).numpy().astype(np.uint8) + #Thanks ChatGPT + + +class CannyPreprocessor: + @classmethod + def INPUT_TYPES(s): + return {"required": { "image": ("IMAGE", ) , + "low_threshold": ("INT", {"default": 100, "min": 0, "max": 255, "step": 1}), + "high_threshold": ("INT", {"default": 100, "min": 0, "max": 255, "step": 1}), + "l2gradient": (["disable", "enable"], ) + }} + RETURN_TYPES = ("IMAGE",) + FUNCTION = "detect_edge" + + CATEGORY = "preprocessor" + + def detect_edge(self, image, low_threshold, high_threshold, l2gradient): + apply_canny = canny.CannyDetector() + image = apply_canny(img_tensor_to_np(image), low_threshold, high_threshold, l2gradient == "enable") + image = img_np_to_tensor(HWC3(image)) + return (image,) + +class HEDPreprocessor: + @classmethod + def INPUT_TYPES(s): + return {"required": { "image": ("IMAGE",) }} + RETURN_TYPES = ("IMAGE",) + FUNCTION = "detect_edge" + + CATEGORY = "preprocessor" + + def detect_edge(self, image): + apply_hed = hed.HEDdetector() + image = apply_hed(img_tensor_to_np(image)) + image = img_np_to_tensor(HWC3(image)) + return (image,) + +class MIDASPreprocessor: + @classmethod + def INPUT_TYPES(s): + return {"required": { "image": ("IMAGE", ) , + "a": ("FLOAT", {"default": np.pi * 2.0, "min": 0.0, "max": np.pi * 5.0, "step": 0.1}), + "bg_threshold": ("FLOAT", {"default": 0.1, "min": 0, "max": 1, "step": 0.1}) + }} + RETURN_TYPES = ("IMAGE",) + FUNCTION = "estimate_depth" + + CATEGORY = "preprocessor" + + def estimate_depth(self, image, a, bg_threshold): + model_midas = midas.MidasDetector() + image, _ = model_midas(img_tensor_to_np(image), a, bg_threshold) + image = img_np_to_tensor(HWC3(image)) + return (image,) + +class MLSDPreprocessor: + @classmethod + def INPUT_TYPES(s): + return {"required": { "image": ("IMAGE",) , + #Idk what should be the max value here since idk much about ML + "score_threshold": ("FLOAT", {"default": np.pi * 2.0, "min": 0.0, "max": np.pi * 2.0, "step": 0.1}), + "dist_threshold": ("FLOAT", {"default": 0.1, "min": 0, "max": 1, "step": 0.1}) + }} + RETURN_TYPES = ("IMAGE",) + FUNCTION = "detect_edge" + + CATEGORY = "preprocessor" + + def detect_edge(self, image, score_threshold, dist_threshold): + model_mlsd = mlsd.MLSDdetector() + image = model_mlsd(img_tensor_to_np(image), score_threshold, dist_threshold) + image = img_np_to_tensor(HWC3(image)) + return (image,) + +class OpenPosePreprocessor: + @classmethod + def INPUT_TYPES(s): + return {"required": { "image": ("IMAGE", ), + "detect_hand": (["disable", "enable"],) + }} + RETURN_TYPES = ("IMAGE",) + FUNCTION = "estimate_pose" + + CATEGORY = "preprocessor" + + def estimate_pose(self, image, detect_hand): + model_openpose = openpose.OpenposeDetector() + image, _ = model_openpose(img_tensor_to_np(image), detect_hand == "enable") + image = img_np_to_tensor(HWC3(image)) + return (image,) + +class UniformerPreprocessor: + @classmethod + def INPUT_TYPES(s): + return {"required": { "image": ("IMAGE", ) + }} + RETURN_TYPES = ("IMAGE",) + FUNCTION = "semantic_segmentate" + + CATEGORY = "preprocessor" + + def semantic_segmentate(self, image): + model_uniformer = uniformer.UniformerDetector() + image = model_uniformer(img_np_to_tensor(image)) + image = img_np_to_tensor(HWC3(image)) + return (image,) + +NODE_CLASS_MAPPING = { + "CannyPreprocessor": CannyPreprocessor, + "HEDPreprocessor": HEDPreprocessor, + "DepthPreprocessor": MIDASPreprocessor, + "MLSDPreprocessor": MLSDPreprocessor, + "OpenPosePreprocessor": OpenPosePreprocessor, +} \ No newline at end of file diff --git a/comfy/annotator/canny/__init__.py b/custom_nodes/annotator/canny/__init__.py similarity index 100% rename from comfy/annotator/canny/__init__.py rename to custom_nodes/annotator/canny/__init__.py diff --git a/comfy/annotator/hed/__init__.py b/custom_nodes/annotator/hed/__init__.py similarity index 100% rename from comfy/annotator/hed/__init__.py rename to custom_nodes/annotator/hed/__init__.py diff --git a/comfy/annotator/midas/__init__.py b/custom_nodes/annotator/midas/__init__.py similarity index 100% rename from comfy/annotator/midas/__init__.py rename to custom_nodes/annotator/midas/__init__.py diff --git a/comfy/annotator/midas/api.py b/custom_nodes/annotator/midas/api.py similarity index 100% rename from comfy/annotator/midas/api.py rename to custom_nodes/annotator/midas/api.py diff --git a/comfy/annotator/midas/midas/__init__.py b/custom_nodes/annotator/midas/midas/__init__.py similarity index 100% rename from comfy/annotator/midas/midas/__init__.py rename to custom_nodes/annotator/midas/midas/__init__.py diff --git a/comfy/annotator/midas/midas/base_model.py b/custom_nodes/annotator/midas/midas/base_model.py similarity index 100% rename from comfy/annotator/midas/midas/base_model.py rename to custom_nodes/annotator/midas/midas/base_model.py diff --git a/comfy/annotator/midas/midas/blocks.py b/custom_nodes/annotator/midas/midas/blocks.py similarity index 100% rename from comfy/annotator/midas/midas/blocks.py rename to custom_nodes/annotator/midas/midas/blocks.py diff --git a/comfy/annotator/midas/midas/dpt_depth.py b/custom_nodes/annotator/midas/midas/dpt_depth.py similarity index 100% rename from comfy/annotator/midas/midas/dpt_depth.py rename to custom_nodes/annotator/midas/midas/dpt_depth.py diff --git a/comfy/annotator/midas/midas/midas_net.py b/custom_nodes/annotator/midas/midas/midas_net.py similarity index 100% rename from comfy/annotator/midas/midas/midas_net.py rename to custom_nodes/annotator/midas/midas/midas_net.py diff --git a/comfy/annotator/midas/midas/midas_net_custom.py b/custom_nodes/annotator/midas/midas/midas_net_custom.py similarity index 100% rename from comfy/annotator/midas/midas/midas_net_custom.py rename to custom_nodes/annotator/midas/midas/midas_net_custom.py diff --git a/comfy/annotator/midas/midas/transforms.py b/custom_nodes/annotator/midas/midas/transforms.py similarity index 100% rename from comfy/annotator/midas/midas/transforms.py rename to custom_nodes/annotator/midas/midas/transforms.py diff --git a/comfy/annotator/midas/midas/vit.py b/custom_nodes/annotator/midas/midas/vit.py similarity index 100% rename from comfy/annotator/midas/midas/vit.py rename to custom_nodes/annotator/midas/midas/vit.py diff --git a/comfy/annotator/midas/utils.py b/custom_nodes/annotator/midas/utils.py similarity index 100% rename from comfy/annotator/midas/utils.py rename to custom_nodes/annotator/midas/utils.py diff --git a/comfy/annotator/mlsd/__init__.py b/custom_nodes/annotator/mlsd/__init__.py similarity index 100% rename from comfy/annotator/mlsd/__init__.py rename to custom_nodes/annotator/mlsd/__init__.py diff --git a/comfy/annotator/mlsd/models/mbv2_mlsd_large.py b/custom_nodes/annotator/mlsd/models/mbv2_mlsd_large.py similarity index 100% rename from comfy/annotator/mlsd/models/mbv2_mlsd_large.py rename to custom_nodes/annotator/mlsd/models/mbv2_mlsd_large.py diff --git a/comfy/annotator/mlsd/models/mbv2_mlsd_tiny.py b/custom_nodes/annotator/mlsd/models/mbv2_mlsd_tiny.py similarity index 100% rename from comfy/annotator/mlsd/models/mbv2_mlsd_tiny.py rename to custom_nodes/annotator/mlsd/models/mbv2_mlsd_tiny.py diff --git a/comfy/annotator/mlsd/utils.py b/custom_nodes/annotator/mlsd/utils.py similarity index 100% rename from comfy/annotator/mlsd/utils.py rename to custom_nodes/annotator/mlsd/utils.py diff --git a/comfy/annotator/openpose/__init__.py b/custom_nodes/annotator/openpose/__init__.py similarity index 100% rename from comfy/annotator/openpose/__init__.py rename to custom_nodes/annotator/openpose/__init__.py diff --git a/comfy/annotator/openpose/body.py b/custom_nodes/annotator/openpose/body.py similarity index 100% rename from comfy/annotator/openpose/body.py rename to custom_nodes/annotator/openpose/body.py diff --git a/comfy/annotator/openpose/hand.py b/custom_nodes/annotator/openpose/hand.py similarity index 100% rename from comfy/annotator/openpose/hand.py rename to custom_nodes/annotator/openpose/hand.py diff --git a/comfy/annotator/openpose/model.py b/custom_nodes/annotator/openpose/model.py similarity index 100% rename from comfy/annotator/openpose/model.py rename to custom_nodes/annotator/openpose/model.py diff --git a/comfy/annotator/openpose/util.py b/custom_nodes/annotator/openpose/util.py similarity index 100% rename from comfy/annotator/openpose/util.py rename to custom_nodes/annotator/openpose/util.py diff --git a/comfy/annotator/uniformer/__init__.py b/custom_nodes/annotator/uniformer/__init__.py similarity index 100% rename from comfy/annotator/uniformer/__init__.py rename to custom_nodes/annotator/uniformer/__init__.py diff --git a/comfy/annotator/uniformer/configs/_base_/datasets/ade20k.py b/custom_nodes/annotator/uniformer/configs/_base_/datasets/ade20k.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/datasets/ade20k.py rename to custom_nodes/annotator/uniformer/configs/_base_/datasets/ade20k.py diff --git a/comfy/annotator/uniformer/configs/_base_/datasets/chase_db1.py b/custom_nodes/annotator/uniformer/configs/_base_/datasets/chase_db1.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/datasets/chase_db1.py rename to custom_nodes/annotator/uniformer/configs/_base_/datasets/chase_db1.py diff --git a/comfy/annotator/uniformer/configs/_base_/datasets/cityscapes.py b/custom_nodes/annotator/uniformer/configs/_base_/datasets/cityscapes.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/datasets/cityscapes.py rename to custom_nodes/annotator/uniformer/configs/_base_/datasets/cityscapes.py diff --git a/comfy/annotator/uniformer/configs/_base_/datasets/cityscapes_769x769.py b/custom_nodes/annotator/uniformer/configs/_base_/datasets/cityscapes_769x769.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/datasets/cityscapes_769x769.py rename to custom_nodes/annotator/uniformer/configs/_base_/datasets/cityscapes_769x769.py diff --git a/comfy/annotator/uniformer/configs/_base_/datasets/drive.py b/custom_nodes/annotator/uniformer/configs/_base_/datasets/drive.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/datasets/drive.py rename to custom_nodes/annotator/uniformer/configs/_base_/datasets/drive.py diff --git a/comfy/annotator/uniformer/configs/_base_/datasets/hrf.py b/custom_nodes/annotator/uniformer/configs/_base_/datasets/hrf.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/datasets/hrf.py rename to custom_nodes/annotator/uniformer/configs/_base_/datasets/hrf.py diff --git a/comfy/annotator/uniformer/configs/_base_/datasets/pascal_context.py b/custom_nodes/annotator/uniformer/configs/_base_/datasets/pascal_context.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/datasets/pascal_context.py rename to custom_nodes/annotator/uniformer/configs/_base_/datasets/pascal_context.py diff --git a/comfy/annotator/uniformer/configs/_base_/datasets/pascal_context_59.py b/custom_nodes/annotator/uniformer/configs/_base_/datasets/pascal_context_59.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/datasets/pascal_context_59.py rename to custom_nodes/annotator/uniformer/configs/_base_/datasets/pascal_context_59.py diff --git a/comfy/annotator/uniformer/configs/_base_/datasets/pascal_voc12.py b/custom_nodes/annotator/uniformer/configs/_base_/datasets/pascal_voc12.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/datasets/pascal_voc12.py rename to custom_nodes/annotator/uniformer/configs/_base_/datasets/pascal_voc12.py diff --git a/comfy/annotator/uniformer/configs/_base_/datasets/pascal_voc12_aug.py b/custom_nodes/annotator/uniformer/configs/_base_/datasets/pascal_voc12_aug.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/datasets/pascal_voc12_aug.py rename to custom_nodes/annotator/uniformer/configs/_base_/datasets/pascal_voc12_aug.py diff --git a/comfy/annotator/uniformer/configs/_base_/datasets/stare.py b/custom_nodes/annotator/uniformer/configs/_base_/datasets/stare.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/datasets/stare.py rename to custom_nodes/annotator/uniformer/configs/_base_/datasets/stare.py diff --git a/comfy/annotator/uniformer/configs/_base_/default_runtime.py b/custom_nodes/annotator/uniformer/configs/_base_/default_runtime.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/default_runtime.py rename to custom_nodes/annotator/uniformer/configs/_base_/default_runtime.py diff --git a/comfy/annotator/uniformer/configs/_base_/models/ann_r50-d8.py b/custom_nodes/annotator/uniformer/configs/_base_/models/ann_r50-d8.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/models/ann_r50-d8.py rename to custom_nodes/annotator/uniformer/configs/_base_/models/ann_r50-d8.py diff --git a/comfy/annotator/uniformer/configs/_base_/models/apcnet_r50-d8.py b/custom_nodes/annotator/uniformer/configs/_base_/models/apcnet_r50-d8.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/models/apcnet_r50-d8.py rename to custom_nodes/annotator/uniformer/configs/_base_/models/apcnet_r50-d8.py diff --git a/comfy/annotator/uniformer/configs/_base_/models/ccnet_r50-d8.py b/custom_nodes/annotator/uniformer/configs/_base_/models/ccnet_r50-d8.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/models/ccnet_r50-d8.py rename to custom_nodes/annotator/uniformer/configs/_base_/models/ccnet_r50-d8.py diff --git a/comfy/annotator/uniformer/configs/_base_/models/cgnet.py b/custom_nodes/annotator/uniformer/configs/_base_/models/cgnet.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/models/cgnet.py rename to custom_nodes/annotator/uniformer/configs/_base_/models/cgnet.py diff --git a/comfy/annotator/uniformer/configs/_base_/models/danet_r50-d8.py b/custom_nodes/annotator/uniformer/configs/_base_/models/danet_r50-d8.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/models/danet_r50-d8.py rename to custom_nodes/annotator/uniformer/configs/_base_/models/danet_r50-d8.py diff --git a/comfy/annotator/uniformer/configs/_base_/models/deeplabv3_r50-d8.py b/custom_nodes/annotator/uniformer/configs/_base_/models/deeplabv3_r50-d8.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/models/deeplabv3_r50-d8.py rename to custom_nodes/annotator/uniformer/configs/_base_/models/deeplabv3_r50-d8.py diff --git a/comfy/annotator/uniformer/configs/_base_/models/deeplabv3_unet_s5-d16.py b/custom_nodes/annotator/uniformer/configs/_base_/models/deeplabv3_unet_s5-d16.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/models/deeplabv3_unet_s5-d16.py rename to custom_nodes/annotator/uniformer/configs/_base_/models/deeplabv3_unet_s5-d16.py diff --git a/comfy/annotator/uniformer/configs/_base_/models/deeplabv3plus_r50-d8.py b/custom_nodes/annotator/uniformer/configs/_base_/models/deeplabv3plus_r50-d8.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/models/deeplabv3plus_r50-d8.py rename to custom_nodes/annotator/uniformer/configs/_base_/models/deeplabv3plus_r50-d8.py diff --git a/comfy/annotator/uniformer/configs/_base_/models/dmnet_r50-d8.py b/custom_nodes/annotator/uniformer/configs/_base_/models/dmnet_r50-d8.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/models/dmnet_r50-d8.py rename to custom_nodes/annotator/uniformer/configs/_base_/models/dmnet_r50-d8.py diff --git a/comfy/annotator/uniformer/configs/_base_/models/dnl_r50-d8.py b/custom_nodes/annotator/uniformer/configs/_base_/models/dnl_r50-d8.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/models/dnl_r50-d8.py rename to custom_nodes/annotator/uniformer/configs/_base_/models/dnl_r50-d8.py diff --git a/comfy/annotator/uniformer/configs/_base_/models/emanet_r50-d8.py b/custom_nodes/annotator/uniformer/configs/_base_/models/emanet_r50-d8.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/models/emanet_r50-d8.py rename to custom_nodes/annotator/uniformer/configs/_base_/models/emanet_r50-d8.py diff --git a/comfy/annotator/uniformer/configs/_base_/models/encnet_r50-d8.py b/custom_nodes/annotator/uniformer/configs/_base_/models/encnet_r50-d8.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/models/encnet_r50-d8.py rename to custom_nodes/annotator/uniformer/configs/_base_/models/encnet_r50-d8.py diff --git a/comfy/annotator/uniformer/configs/_base_/models/fast_scnn.py b/custom_nodes/annotator/uniformer/configs/_base_/models/fast_scnn.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/models/fast_scnn.py rename to custom_nodes/annotator/uniformer/configs/_base_/models/fast_scnn.py diff --git a/comfy/annotator/uniformer/configs/_base_/models/fcn_hr18.py b/custom_nodes/annotator/uniformer/configs/_base_/models/fcn_hr18.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/models/fcn_hr18.py rename to custom_nodes/annotator/uniformer/configs/_base_/models/fcn_hr18.py diff --git a/comfy/annotator/uniformer/configs/_base_/models/fcn_r50-d8.py b/custom_nodes/annotator/uniformer/configs/_base_/models/fcn_r50-d8.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/models/fcn_r50-d8.py rename to custom_nodes/annotator/uniformer/configs/_base_/models/fcn_r50-d8.py diff --git a/comfy/annotator/uniformer/configs/_base_/models/fcn_unet_s5-d16.py b/custom_nodes/annotator/uniformer/configs/_base_/models/fcn_unet_s5-d16.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/models/fcn_unet_s5-d16.py rename to custom_nodes/annotator/uniformer/configs/_base_/models/fcn_unet_s5-d16.py diff --git a/comfy/annotator/uniformer/configs/_base_/models/fpn_r50.py b/custom_nodes/annotator/uniformer/configs/_base_/models/fpn_r50.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/models/fpn_r50.py rename to custom_nodes/annotator/uniformer/configs/_base_/models/fpn_r50.py diff --git a/comfy/annotator/uniformer/configs/_base_/models/fpn_uniformer.py b/custom_nodes/annotator/uniformer/configs/_base_/models/fpn_uniformer.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/models/fpn_uniformer.py rename to custom_nodes/annotator/uniformer/configs/_base_/models/fpn_uniformer.py diff --git a/comfy/annotator/uniformer/configs/_base_/models/gcnet_r50-d8.py b/custom_nodes/annotator/uniformer/configs/_base_/models/gcnet_r50-d8.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/models/gcnet_r50-d8.py rename to custom_nodes/annotator/uniformer/configs/_base_/models/gcnet_r50-d8.py diff --git a/comfy/annotator/uniformer/configs/_base_/models/lraspp_m-v3-d8.py b/custom_nodes/annotator/uniformer/configs/_base_/models/lraspp_m-v3-d8.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/models/lraspp_m-v3-d8.py rename to custom_nodes/annotator/uniformer/configs/_base_/models/lraspp_m-v3-d8.py diff --git a/comfy/annotator/uniformer/configs/_base_/models/nonlocal_r50-d8.py b/custom_nodes/annotator/uniformer/configs/_base_/models/nonlocal_r50-d8.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/models/nonlocal_r50-d8.py rename to custom_nodes/annotator/uniformer/configs/_base_/models/nonlocal_r50-d8.py diff --git a/comfy/annotator/uniformer/configs/_base_/models/ocrnet_hr18.py b/custom_nodes/annotator/uniformer/configs/_base_/models/ocrnet_hr18.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/models/ocrnet_hr18.py rename to custom_nodes/annotator/uniformer/configs/_base_/models/ocrnet_hr18.py diff --git a/comfy/annotator/uniformer/configs/_base_/models/ocrnet_r50-d8.py b/custom_nodes/annotator/uniformer/configs/_base_/models/ocrnet_r50-d8.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/models/ocrnet_r50-d8.py rename to custom_nodes/annotator/uniformer/configs/_base_/models/ocrnet_r50-d8.py diff --git a/comfy/annotator/uniformer/configs/_base_/models/pointrend_r50.py b/custom_nodes/annotator/uniformer/configs/_base_/models/pointrend_r50.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/models/pointrend_r50.py rename to custom_nodes/annotator/uniformer/configs/_base_/models/pointrend_r50.py diff --git a/comfy/annotator/uniformer/configs/_base_/models/psanet_r50-d8.py b/custom_nodes/annotator/uniformer/configs/_base_/models/psanet_r50-d8.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/models/psanet_r50-d8.py rename to custom_nodes/annotator/uniformer/configs/_base_/models/psanet_r50-d8.py diff --git a/comfy/annotator/uniformer/configs/_base_/models/pspnet_r50-d8.py b/custom_nodes/annotator/uniformer/configs/_base_/models/pspnet_r50-d8.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/models/pspnet_r50-d8.py rename to custom_nodes/annotator/uniformer/configs/_base_/models/pspnet_r50-d8.py diff --git a/comfy/annotator/uniformer/configs/_base_/models/pspnet_unet_s5-d16.py b/custom_nodes/annotator/uniformer/configs/_base_/models/pspnet_unet_s5-d16.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/models/pspnet_unet_s5-d16.py rename to custom_nodes/annotator/uniformer/configs/_base_/models/pspnet_unet_s5-d16.py diff --git a/comfy/annotator/uniformer/configs/_base_/models/upernet_r50.py b/custom_nodes/annotator/uniformer/configs/_base_/models/upernet_r50.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/models/upernet_r50.py rename to custom_nodes/annotator/uniformer/configs/_base_/models/upernet_r50.py diff --git a/comfy/annotator/uniformer/configs/_base_/models/upernet_uniformer.py b/custom_nodes/annotator/uniformer/configs/_base_/models/upernet_uniformer.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/models/upernet_uniformer.py rename to custom_nodes/annotator/uniformer/configs/_base_/models/upernet_uniformer.py diff --git a/comfy/annotator/uniformer/configs/_base_/schedules/schedule_160k.py b/custom_nodes/annotator/uniformer/configs/_base_/schedules/schedule_160k.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/schedules/schedule_160k.py rename to custom_nodes/annotator/uniformer/configs/_base_/schedules/schedule_160k.py diff --git a/comfy/annotator/uniformer/configs/_base_/schedules/schedule_20k.py b/custom_nodes/annotator/uniformer/configs/_base_/schedules/schedule_20k.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/schedules/schedule_20k.py rename to custom_nodes/annotator/uniformer/configs/_base_/schedules/schedule_20k.py diff --git a/comfy/annotator/uniformer/configs/_base_/schedules/schedule_40k.py b/custom_nodes/annotator/uniformer/configs/_base_/schedules/schedule_40k.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/schedules/schedule_40k.py rename to custom_nodes/annotator/uniformer/configs/_base_/schedules/schedule_40k.py diff --git a/comfy/annotator/uniformer/configs/_base_/schedules/schedule_80k.py b/custom_nodes/annotator/uniformer/configs/_base_/schedules/schedule_80k.py similarity index 100% rename from comfy/annotator/uniformer/configs/_base_/schedules/schedule_80k.py rename to custom_nodes/annotator/uniformer/configs/_base_/schedules/schedule_80k.py diff --git a/comfy/annotator/uniformer/exp/upernet_global_small/config.py b/custom_nodes/annotator/uniformer/exp/upernet_global_small/config.py similarity index 100% rename from comfy/annotator/uniformer/exp/upernet_global_small/config.py rename to custom_nodes/annotator/uniformer/exp/upernet_global_small/config.py diff --git a/comfy/annotator/uniformer/exp/upernet_global_small/run.sh b/custom_nodes/annotator/uniformer/exp/upernet_global_small/run.sh similarity index 100% rename from comfy/annotator/uniformer/exp/upernet_global_small/run.sh rename to custom_nodes/annotator/uniformer/exp/upernet_global_small/run.sh diff --git a/comfy/annotator/uniformer/exp/upernet_global_small/test.sh b/custom_nodes/annotator/uniformer/exp/upernet_global_small/test.sh similarity index 100% rename from comfy/annotator/uniformer/exp/upernet_global_small/test.sh rename to custom_nodes/annotator/uniformer/exp/upernet_global_small/test.sh diff --git a/comfy/annotator/uniformer/exp/upernet_global_small/test_config_g.py b/custom_nodes/annotator/uniformer/exp/upernet_global_small/test_config_g.py similarity index 100% rename from comfy/annotator/uniformer/exp/upernet_global_small/test_config_g.py rename to custom_nodes/annotator/uniformer/exp/upernet_global_small/test_config_g.py diff --git a/comfy/annotator/uniformer/exp/upernet_global_small/test_config_h32.py b/custom_nodes/annotator/uniformer/exp/upernet_global_small/test_config_h32.py similarity index 100% rename from comfy/annotator/uniformer/exp/upernet_global_small/test_config_h32.py rename to custom_nodes/annotator/uniformer/exp/upernet_global_small/test_config_h32.py diff --git a/comfy/annotator/uniformer/exp/upernet_global_small/test_config_w32.py b/custom_nodes/annotator/uniformer/exp/upernet_global_small/test_config_w32.py similarity index 100% rename from comfy/annotator/uniformer/exp/upernet_global_small/test_config_w32.py rename to custom_nodes/annotator/uniformer/exp/upernet_global_small/test_config_w32.py diff --git a/comfy/annotator/uniformer/mmcv/__init__.py b/custom_nodes/annotator/uniformer/mmcv/__init__.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/__init__.py rename to custom_nodes/annotator/uniformer/mmcv/__init__.py diff --git a/comfy/annotator/uniformer/mmcv/arraymisc/__init__.py b/custom_nodes/annotator/uniformer/mmcv/arraymisc/__init__.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/arraymisc/__init__.py rename to custom_nodes/annotator/uniformer/mmcv/arraymisc/__init__.py diff --git a/comfy/annotator/uniformer/mmcv/arraymisc/quantization.py b/custom_nodes/annotator/uniformer/mmcv/arraymisc/quantization.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/arraymisc/quantization.py rename to custom_nodes/annotator/uniformer/mmcv/arraymisc/quantization.py diff --git a/comfy/annotator/uniformer/mmcv/cnn/__init__.py b/custom_nodes/annotator/uniformer/mmcv/cnn/__init__.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/cnn/__init__.py rename to custom_nodes/annotator/uniformer/mmcv/cnn/__init__.py diff --git a/comfy/annotator/uniformer/mmcv/cnn/alexnet.py b/custom_nodes/annotator/uniformer/mmcv/cnn/alexnet.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/cnn/alexnet.py rename to custom_nodes/annotator/uniformer/mmcv/cnn/alexnet.py diff --git a/comfy/annotator/uniformer/mmcv/cnn/bricks/__init__.py b/custom_nodes/annotator/uniformer/mmcv/cnn/bricks/__init__.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/cnn/bricks/__init__.py rename to custom_nodes/annotator/uniformer/mmcv/cnn/bricks/__init__.py diff --git a/comfy/annotator/uniformer/mmcv/cnn/bricks/activation.py b/custom_nodes/annotator/uniformer/mmcv/cnn/bricks/activation.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/cnn/bricks/activation.py rename to custom_nodes/annotator/uniformer/mmcv/cnn/bricks/activation.py diff --git a/comfy/annotator/uniformer/mmcv/cnn/bricks/context_block.py b/custom_nodes/annotator/uniformer/mmcv/cnn/bricks/context_block.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/cnn/bricks/context_block.py rename to custom_nodes/annotator/uniformer/mmcv/cnn/bricks/context_block.py diff --git a/comfy/annotator/uniformer/mmcv/cnn/bricks/conv.py b/custom_nodes/annotator/uniformer/mmcv/cnn/bricks/conv.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/cnn/bricks/conv.py rename to custom_nodes/annotator/uniformer/mmcv/cnn/bricks/conv.py diff --git a/comfy/annotator/uniformer/mmcv/cnn/bricks/conv2d_adaptive_padding.py b/custom_nodes/annotator/uniformer/mmcv/cnn/bricks/conv2d_adaptive_padding.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/cnn/bricks/conv2d_adaptive_padding.py rename to custom_nodes/annotator/uniformer/mmcv/cnn/bricks/conv2d_adaptive_padding.py diff --git a/comfy/annotator/uniformer/mmcv/cnn/bricks/conv_module.py b/custom_nodes/annotator/uniformer/mmcv/cnn/bricks/conv_module.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/cnn/bricks/conv_module.py rename to custom_nodes/annotator/uniformer/mmcv/cnn/bricks/conv_module.py diff --git a/comfy/annotator/uniformer/mmcv/cnn/bricks/conv_ws.py b/custom_nodes/annotator/uniformer/mmcv/cnn/bricks/conv_ws.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/cnn/bricks/conv_ws.py rename to custom_nodes/annotator/uniformer/mmcv/cnn/bricks/conv_ws.py diff --git a/comfy/annotator/uniformer/mmcv/cnn/bricks/depthwise_separable_conv_module.py b/custom_nodes/annotator/uniformer/mmcv/cnn/bricks/depthwise_separable_conv_module.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/cnn/bricks/depthwise_separable_conv_module.py rename to custom_nodes/annotator/uniformer/mmcv/cnn/bricks/depthwise_separable_conv_module.py diff --git a/comfy/annotator/uniformer/mmcv/cnn/bricks/drop.py b/custom_nodes/annotator/uniformer/mmcv/cnn/bricks/drop.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/cnn/bricks/drop.py rename to custom_nodes/annotator/uniformer/mmcv/cnn/bricks/drop.py diff --git a/comfy/annotator/uniformer/mmcv/cnn/bricks/generalized_attention.py b/custom_nodes/annotator/uniformer/mmcv/cnn/bricks/generalized_attention.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/cnn/bricks/generalized_attention.py rename to custom_nodes/annotator/uniformer/mmcv/cnn/bricks/generalized_attention.py diff --git a/comfy/annotator/uniformer/mmcv/cnn/bricks/hsigmoid.py b/custom_nodes/annotator/uniformer/mmcv/cnn/bricks/hsigmoid.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/cnn/bricks/hsigmoid.py rename to custom_nodes/annotator/uniformer/mmcv/cnn/bricks/hsigmoid.py diff --git a/comfy/annotator/uniformer/mmcv/cnn/bricks/hswish.py b/custom_nodes/annotator/uniformer/mmcv/cnn/bricks/hswish.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/cnn/bricks/hswish.py rename to custom_nodes/annotator/uniformer/mmcv/cnn/bricks/hswish.py diff --git a/comfy/annotator/uniformer/mmcv/cnn/bricks/non_local.py b/custom_nodes/annotator/uniformer/mmcv/cnn/bricks/non_local.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/cnn/bricks/non_local.py rename to custom_nodes/annotator/uniformer/mmcv/cnn/bricks/non_local.py diff --git a/comfy/annotator/uniformer/mmcv/cnn/bricks/norm.py b/custom_nodes/annotator/uniformer/mmcv/cnn/bricks/norm.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/cnn/bricks/norm.py rename to custom_nodes/annotator/uniformer/mmcv/cnn/bricks/norm.py diff --git a/comfy/annotator/uniformer/mmcv/cnn/bricks/padding.py b/custom_nodes/annotator/uniformer/mmcv/cnn/bricks/padding.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/cnn/bricks/padding.py rename to custom_nodes/annotator/uniformer/mmcv/cnn/bricks/padding.py diff --git a/comfy/annotator/uniformer/mmcv/cnn/bricks/plugin.py b/custom_nodes/annotator/uniformer/mmcv/cnn/bricks/plugin.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/cnn/bricks/plugin.py rename to custom_nodes/annotator/uniformer/mmcv/cnn/bricks/plugin.py diff --git a/comfy/annotator/uniformer/mmcv/cnn/bricks/registry.py b/custom_nodes/annotator/uniformer/mmcv/cnn/bricks/registry.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/cnn/bricks/registry.py rename to custom_nodes/annotator/uniformer/mmcv/cnn/bricks/registry.py diff --git a/comfy/annotator/uniformer/mmcv/cnn/bricks/scale.py b/custom_nodes/annotator/uniformer/mmcv/cnn/bricks/scale.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/cnn/bricks/scale.py rename to custom_nodes/annotator/uniformer/mmcv/cnn/bricks/scale.py diff --git a/comfy/annotator/uniformer/mmcv/cnn/bricks/swish.py b/custom_nodes/annotator/uniformer/mmcv/cnn/bricks/swish.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/cnn/bricks/swish.py rename to custom_nodes/annotator/uniformer/mmcv/cnn/bricks/swish.py diff --git a/comfy/annotator/uniformer/mmcv/cnn/bricks/transformer.py b/custom_nodes/annotator/uniformer/mmcv/cnn/bricks/transformer.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/cnn/bricks/transformer.py rename to custom_nodes/annotator/uniformer/mmcv/cnn/bricks/transformer.py diff --git a/comfy/annotator/uniformer/mmcv/cnn/bricks/upsample.py b/custom_nodes/annotator/uniformer/mmcv/cnn/bricks/upsample.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/cnn/bricks/upsample.py rename to custom_nodes/annotator/uniformer/mmcv/cnn/bricks/upsample.py diff --git a/comfy/annotator/uniformer/mmcv/cnn/bricks/wrappers.py b/custom_nodes/annotator/uniformer/mmcv/cnn/bricks/wrappers.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/cnn/bricks/wrappers.py rename to custom_nodes/annotator/uniformer/mmcv/cnn/bricks/wrappers.py diff --git a/comfy/annotator/uniformer/mmcv/cnn/builder.py b/custom_nodes/annotator/uniformer/mmcv/cnn/builder.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/cnn/builder.py rename to custom_nodes/annotator/uniformer/mmcv/cnn/builder.py diff --git a/comfy/annotator/uniformer/mmcv/cnn/resnet.py b/custom_nodes/annotator/uniformer/mmcv/cnn/resnet.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/cnn/resnet.py rename to custom_nodes/annotator/uniformer/mmcv/cnn/resnet.py diff --git a/comfy/annotator/uniformer/mmcv/cnn/utils/__init__.py b/custom_nodes/annotator/uniformer/mmcv/cnn/utils/__init__.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/cnn/utils/__init__.py rename to custom_nodes/annotator/uniformer/mmcv/cnn/utils/__init__.py diff --git a/comfy/annotator/uniformer/mmcv/cnn/utils/flops_counter.py b/custom_nodes/annotator/uniformer/mmcv/cnn/utils/flops_counter.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/cnn/utils/flops_counter.py rename to custom_nodes/annotator/uniformer/mmcv/cnn/utils/flops_counter.py diff --git a/comfy/annotator/uniformer/mmcv/cnn/utils/fuse_conv_bn.py b/custom_nodes/annotator/uniformer/mmcv/cnn/utils/fuse_conv_bn.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/cnn/utils/fuse_conv_bn.py rename to custom_nodes/annotator/uniformer/mmcv/cnn/utils/fuse_conv_bn.py diff --git a/comfy/annotator/uniformer/mmcv/cnn/utils/sync_bn.py b/custom_nodes/annotator/uniformer/mmcv/cnn/utils/sync_bn.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/cnn/utils/sync_bn.py rename to custom_nodes/annotator/uniformer/mmcv/cnn/utils/sync_bn.py diff --git a/comfy/annotator/uniformer/mmcv/cnn/utils/weight_init.py b/custom_nodes/annotator/uniformer/mmcv/cnn/utils/weight_init.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/cnn/utils/weight_init.py rename to custom_nodes/annotator/uniformer/mmcv/cnn/utils/weight_init.py diff --git a/comfy/annotator/uniformer/mmcv/cnn/vgg.py b/custom_nodes/annotator/uniformer/mmcv/cnn/vgg.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/cnn/vgg.py rename to custom_nodes/annotator/uniformer/mmcv/cnn/vgg.py diff --git a/comfy/annotator/uniformer/mmcv/engine/__init__.py b/custom_nodes/annotator/uniformer/mmcv/engine/__init__.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/engine/__init__.py rename to custom_nodes/annotator/uniformer/mmcv/engine/__init__.py diff --git a/comfy/annotator/uniformer/mmcv/engine/test.py b/custom_nodes/annotator/uniformer/mmcv/engine/test.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/engine/test.py rename to custom_nodes/annotator/uniformer/mmcv/engine/test.py diff --git a/comfy/annotator/uniformer/mmcv/fileio/__init__.py b/custom_nodes/annotator/uniformer/mmcv/fileio/__init__.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/fileio/__init__.py rename to custom_nodes/annotator/uniformer/mmcv/fileio/__init__.py diff --git a/comfy/annotator/uniformer/mmcv/fileio/file_client.py b/custom_nodes/annotator/uniformer/mmcv/fileio/file_client.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/fileio/file_client.py rename to custom_nodes/annotator/uniformer/mmcv/fileio/file_client.py diff --git a/comfy/annotator/uniformer/mmcv/fileio/handlers/__init__.py b/custom_nodes/annotator/uniformer/mmcv/fileio/handlers/__init__.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/fileio/handlers/__init__.py rename to custom_nodes/annotator/uniformer/mmcv/fileio/handlers/__init__.py diff --git a/comfy/annotator/uniformer/mmcv/fileio/handlers/base.py b/custom_nodes/annotator/uniformer/mmcv/fileio/handlers/base.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/fileio/handlers/base.py rename to custom_nodes/annotator/uniformer/mmcv/fileio/handlers/base.py diff --git a/comfy/annotator/uniformer/mmcv/fileio/handlers/json_handler.py b/custom_nodes/annotator/uniformer/mmcv/fileio/handlers/json_handler.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/fileio/handlers/json_handler.py rename to custom_nodes/annotator/uniformer/mmcv/fileio/handlers/json_handler.py diff --git a/comfy/annotator/uniformer/mmcv/fileio/handlers/pickle_handler.py b/custom_nodes/annotator/uniformer/mmcv/fileio/handlers/pickle_handler.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/fileio/handlers/pickle_handler.py rename to custom_nodes/annotator/uniformer/mmcv/fileio/handlers/pickle_handler.py diff --git a/comfy/annotator/uniformer/mmcv/fileio/handlers/yaml_handler.py b/custom_nodes/annotator/uniformer/mmcv/fileio/handlers/yaml_handler.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/fileio/handlers/yaml_handler.py rename to custom_nodes/annotator/uniformer/mmcv/fileio/handlers/yaml_handler.py diff --git a/comfy/annotator/uniformer/mmcv/fileio/io.py b/custom_nodes/annotator/uniformer/mmcv/fileio/io.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/fileio/io.py rename to custom_nodes/annotator/uniformer/mmcv/fileio/io.py diff --git a/comfy/annotator/uniformer/mmcv/fileio/parse.py b/custom_nodes/annotator/uniformer/mmcv/fileio/parse.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/fileio/parse.py rename to custom_nodes/annotator/uniformer/mmcv/fileio/parse.py diff --git a/comfy/annotator/uniformer/mmcv/image/__init__.py b/custom_nodes/annotator/uniformer/mmcv/image/__init__.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/image/__init__.py rename to custom_nodes/annotator/uniformer/mmcv/image/__init__.py diff --git a/comfy/annotator/uniformer/mmcv/image/colorspace.py b/custom_nodes/annotator/uniformer/mmcv/image/colorspace.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/image/colorspace.py rename to custom_nodes/annotator/uniformer/mmcv/image/colorspace.py diff --git a/comfy/annotator/uniformer/mmcv/image/geometric.py b/custom_nodes/annotator/uniformer/mmcv/image/geometric.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/image/geometric.py rename to custom_nodes/annotator/uniformer/mmcv/image/geometric.py diff --git a/comfy/annotator/uniformer/mmcv/image/io.py b/custom_nodes/annotator/uniformer/mmcv/image/io.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/image/io.py rename to custom_nodes/annotator/uniformer/mmcv/image/io.py diff --git a/comfy/annotator/uniformer/mmcv/image/misc.py b/custom_nodes/annotator/uniformer/mmcv/image/misc.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/image/misc.py rename to custom_nodes/annotator/uniformer/mmcv/image/misc.py diff --git a/comfy/annotator/uniformer/mmcv/image/photometric.py b/custom_nodes/annotator/uniformer/mmcv/image/photometric.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/image/photometric.py rename to custom_nodes/annotator/uniformer/mmcv/image/photometric.py diff --git a/comfy/annotator/uniformer/mmcv/model_zoo/deprecated.json b/custom_nodes/annotator/uniformer/mmcv/model_zoo/deprecated.json similarity index 100% rename from comfy/annotator/uniformer/mmcv/model_zoo/deprecated.json rename to custom_nodes/annotator/uniformer/mmcv/model_zoo/deprecated.json diff --git a/comfy/annotator/uniformer/mmcv/model_zoo/mmcls.json b/custom_nodes/annotator/uniformer/mmcv/model_zoo/mmcls.json similarity index 100% rename from comfy/annotator/uniformer/mmcv/model_zoo/mmcls.json rename to custom_nodes/annotator/uniformer/mmcv/model_zoo/mmcls.json diff --git a/comfy/annotator/uniformer/mmcv/model_zoo/open_mmlab.json b/custom_nodes/annotator/uniformer/mmcv/model_zoo/open_mmlab.json similarity index 100% rename from comfy/annotator/uniformer/mmcv/model_zoo/open_mmlab.json rename to custom_nodes/annotator/uniformer/mmcv/model_zoo/open_mmlab.json diff --git a/comfy/annotator/uniformer/mmcv/ops/__init__.py b/custom_nodes/annotator/uniformer/mmcv/ops/__init__.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/__init__.py rename to custom_nodes/annotator/uniformer/mmcv/ops/__init__.py diff --git a/comfy/annotator/uniformer/mmcv/ops/assign_score_withk.py b/custom_nodes/annotator/uniformer/mmcv/ops/assign_score_withk.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/assign_score_withk.py rename to custom_nodes/annotator/uniformer/mmcv/ops/assign_score_withk.py diff --git a/comfy/annotator/uniformer/mmcv/ops/ball_query.py b/custom_nodes/annotator/uniformer/mmcv/ops/ball_query.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/ball_query.py rename to custom_nodes/annotator/uniformer/mmcv/ops/ball_query.py diff --git a/comfy/annotator/uniformer/mmcv/ops/bbox.py b/custom_nodes/annotator/uniformer/mmcv/ops/bbox.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/bbox.py rename to custom_nodes/annotator/uniformer/mmcv/ops/bbox.py diff --git a/comfy/annotator/uniformer/mmcv/ops/border_align.py b/custom_nodes/annotator/uniformer/mmcv/ops/border_align.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/border_align.py rename to custom_nodes/annotator/uniformer/mmcv/ops/border_align.py diff --git a/comfy/annotator/uniformer/mmcv/ops/box_iou_rotated.py b/custom_nodes/annotator/uniformer/mmcv/ops/box_iou_rotated.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/box_iou_rotated.py rename to custom_nodes/annotator/uniformer/mmcv/ops/box_iou_rotated.py diff --git a/comfy/annotator/uniformer/mmcv/ops/carafe.py b/custom_nodes/annotator/uniformer/mmcv/ops/carafe.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/carafe.py rename to custom_nodes/annotator/uniformer/mmcv/ops/carafe.py diff --git a/comfy/annotator/uniformer/mmcv/ops/cc_attention.py b/custom_nodes/annotator/uniformer/mmcv/ops/cc_attention.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/cc_attention.py rename to custom_nodes/annotator/uniformer/mmcv/ops/cc_attention.py diff --git a/comfy/annotator/uniformer/mmcv/ops/contour_expand.py b/custom_nodes/annotator/uniformer/mmcv/ops/contour_expand.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/contour_expand.py rename to custom_nodes/annotator/uniformer/mmcv/ops/contour_expand.py diff --git a/comfy/annotator/uniformer/mmcv/ops/corner_pool.py b/custom_nodes/annotator/uniformer/mmcv/ops/corner_pool.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/corner_pool.py rename to custom_nodes/annotator/uniformer/mmcv/ops/corner_pool.py diff --git a/comfy/annotator/uniformer/mmcv/ops/correlation.py b/custom_nodes/annotator/uniformer/mmcv/ops/correlation.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/correlation.py rename to custom_nodes/annotator/uniformer/mmcv/ops/correlation.py diff --git a/comfy/annotator/uniformer/mmcv/ops/deform_conv.py b/custom_nodes/annotator/uniformer/mmcv/ops/deform_conv.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/deform_conv.py rename to custom_nodes/annotator/uniformer/mmcv/ops/deform_conv.py diff --git a/comfy/annotator/uniformer/mmcv/ops/deform_roi_pool.py b/custom_nodes/annotator/uniformer/mmcv/ops/deform_roi_pool.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/deform_roi_pool.py rename to custom_nodes/annotator/uniformer/mmcv/ops/deform_roi_pool.py diff --git a/comfy/annotator/uniformer/mmcv/ops/deprecated_wrappers.py b/custom_nodes/annotator/uniformer/mmcv/ops/deprecated_wrappers.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/deprecated_wrappers.py rename to custom_nodes/annotator/uniformer/mmcv/ops/deprecated_wrappers.py diff --git a/comfy/annotator/uniformer/mmcv/ops/focal_loss.py b/custom_nodes/annotator/uniformer/mmcv/ops/focal_loss.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/focal_loss.py rename to custom_nodes/annotator/uniformer/mmcv/ops/focal_loss.py diff --git a/comfy/annotator/uniformer/mmcv/ops/furthest_point_sample.py b/custom_nodes/annotator/uniformer/mmcv/ops/furthest_point_sample.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/furthest_point_sample.py rename to custom_nodes/annotator/uniformer/mmcv/ops/furthest_point_sample.py diff --git a/comfy/annotator/uniformer/mmcv/ops/fused_bias_leakyrelu.py b/custom_nodes/annotator/uniformer/mmcv/ops/fused_bias_leakyrelu.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/fused_bias_leakyrelu.py rename to custom_nodes/annotator/uniformer/mmcv/ops/fused_bias_leakyrelu.py diff --git a/comfy/annotator/uniformer/mmcv/ops/gather_points.py b/custom_nodes/annotator/uniformer/mmcv/ops/gather_points.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/gather_points.py rename to custom_nodes/annotator/uniformer/mmcv/ops/gather_points.py diff --git a/comfy/annotator/uniformer/mmcv/ops/group_points.py b/custom_nodes/annotator/uniformer/mmcv/ops/group_points.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/group_points.py rename to custom_nodes/annotator/uniformer/mmcv/ops/group_points.py diff --git a/comfy/annotator/uniformer/mmcv/ops/info.py b/custom_nodes/annotator/uniformer/mmcv/ops/info.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/info.py rename to custom_nodes/annotator/uniformer/mmcv/ops/info.py diff --git a/comfy/annotator/uniformer/mmcv/ops/iou3d.py b/custom_nodes/annotator/uniformer/mmcv/ops/iou3d.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/iou3d.py rename to custom_nodes/annotator/uniformer/mmcv/ops/iou3d.py diff --git a/comfy/annotator/uniformer/mmcv/ops/knn.py b/custom_nodes/annotator/uniformer/mmcv/ops/knn.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/knn.py rename to custom_nodes/annotator/uniformer/mmcv/ops/knn.py diff --git a/comfy/annotator/uniformer/mmcv/ops/masked_conv.py b/custom_nodes/annotator/uniformer/mmcv/ops/masked_conv.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/masked_conv.py rename to custom_nodes/annotator/uniformer/mmcv/ops/masked_conv.py diff --git a/comfy/annotator/uniformer/mmcv/ops/merge_cells.py b/custom_nodes/annotator/uniformer/mmcv/ops/merge_cells.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/merge_cells.py rename to custom_nodes/annotator/uniformer/mmcv/ops/merge_cells.py diff --git a/comfy/annotator/uniformer/mmcv/ops/modulated_deform_conv.py b/custom_nodes/annotator/uniformer/mmcv/ops/modulated_deform_conv.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/modulated_deform_conv.py rename to custom_nodes/annotator/uniformer/mmcv/ops/modulated_deform_conv.py diff --git a/comfy/annotator/uniformer/mmcv/ops/multi_scale_deform_attn.py b/custom_nodes/annotator/uniformer/mmcv/ops/multi_scale_deform_attn.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/multi_scale_deform_attn.py rename to custom_nodes/annotator/uniformer/mmcv/ops/multi_scale_deform_attn.py diff --git a/comfy/annotator/uniformer/mmcv/ops/nms.py b/custom_nodes/annotator/uniformer/mmcv/ops/nms.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/nms.py rename to custom_nodes/annotator/uniformer/mmcv/ops/nms.py diff --git a/comfy/annotator/uniformer/mmcv/ops/pixel_group.py b/custom_nodes/annotator/uniformer/mmcv/ops/pixel_group.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/pixel_group.py rename to custom_nodes/annotator/uniformer/mmcv/ops/pixel_group.py diff --git a/comfy/annotator/uniformer/mmcv/ops/point_sample.py b/custom_nodes/annotator/uniformer/mmcv/ops/point_sample.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/point_sample.py rename to custom_nodes/annotator/uniformer/mmcv/ops/point_sample.py diff --git a/comfy/annotator/uniformer/mmcv/ops/points_in_boxes.py b/custom_nodes/annotator/uniformer/mmcv/ops/points_in_boxes.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/points_in_boxes.py rename to custom_nodes/annotator/uniformer/mmcv/ops/points_in_boxes.py diff --git a/comfy/annotator/uniformer/mmcv/ops/points_sampler.py b/custom_nodes/annotator/uniformer/mmcv/ops/points_sampler.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/points_sampler.py rename to custom_nodes/annotator/uniformer/mmcv/ops/points_sampler.py diff --git a/comfy/annotator/uniformer/mmcv/ops/psa_mask.py b/custom_nodes/annotator/uniformer/mmcv/ops/psa_mask.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/psa_mask.py rename to custom_nodes/annotator/uniformer/mmcv/ops/psa_mask.py diff --git a/comfy/annotator/uniformer/mmcv/ops/roi_align.py b/custom_nodes/annotator/uniformer/mmcv/ops/roi_align.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/roi_align.py rename to custom_nodes/annotator/uniformer/mmcv/ops/roi_align.py diff --git a/comfy/annotator/uniformer/mmcv/ops/roi_align_rotated.py b/custom_nodes/annotator/uniformer/mmcv/ops/roi_align_rotated.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/roi_align_rotated.py rename to custom_nodes/annotator/uniformer/mmcv/ops/roi_align_rotated.py diff --git a/comfy/annotator/uniformer/mmcv/ops/roi_pool.py b/custom_nodes/annotator/uniformer/mmcv/ops/roi_pool.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/roi_pool.py rename to custom_nodes/annotator/uniformer/mmcv/ops/roi_pool.py diff --git a/comfy/annotator/uniformer/mmcv/ops/roiaware_pool3d.py b/custom_nodes/annotator/uniformer/mmcv/ops/roiaware_pool3d.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/roiaware_pool3d.py rename to custom_nodes/annotator/uniformer/mmcv/ops/roiaware_pool3d.py diff --git a/comfy/annotator/uniformer/mmcv/ops/roipoint_pool3d.py b/custom_nodes/annotator/uniformer/mmcv/ops/roipoint_pool3d.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/roipoint_pool3d.py rename to custom_nodes/annotator/uniformer/mmcv/ops/roipoint_pool3d.py diff --git a/comfy/annotator/uniformer/mmcv/ops/saconv.py b/custom_nodes/annotator/uniformer/mmcv/ops/saconv.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/saconv.py rename to custom_nodes/annotator/uniformer/mmcv/ops/saconv.py diff --git a/comfy/annotator/uniformer/mmcv/ops/scatter_points.py b/custom_nodes/annotator/uniformer/mmcv/ops/scatter_points.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/scatter_points.py rename to custom_nodes/annotator/uniformer/mmcv/ops/scatter_points.py diff --git a/comfy/annotator/uniformer/mmcv/ops/sync_bn.py b/custom_nodes/annotator/uniformer/mmcv/ops/sync_bn.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/sync_bn.py rename to custom_nodes/annotator/uniformer/mmcv/ops/sync_bn.py diff --git a/comfy/annotator/uniformer/mmcv/ops/three_interpolate.py b/custom_nodes/annotator/uniformer/mmcv/ops/three_interpolate.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/three_interpolate.py rename to custom_nodes/annotator/uniformer/mmcv/ops/three_interpolate.py diff --git a/comfy/annotator/uniformer/mmcv/ops/three_nn.py b/custom_nodes/annotator/uniformer/mmcv/ops/three_nn.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/three_nn.py rename to custom_nodes/annotator/uniformer/mmcv/ops/three_nn.py diff --git a/comfy/annotator/uniformer/mmcv/ops/tin_shift.py b/custom_nodes/annotator/uniformer/mmcv/ops/tin_shift.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/tin_shift.py rename to custom_nodes/annotator/uniformer/mmcv/ops/tin_shift.py diff --git a/comfy/annotator/uniformer/mmcv/ops/upfirdn2d.py b/custom_nodes/annotator/uniformer/mmcv/ops/upfirdn2d.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/upfirdn2d.py rename to custom_nodes/annotator/uniformer/mmcv/ops/upfirdn2d.py diff --git a/comfy/annotator/uniformer/mmcv/ops/voxelize.py b/custom_nodes/annotator/uniformer/mmcv/ops/voxelize.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/ops/voxelize.py rename to custom_nodes/annotator/uniformer/mmcv/ops/voxelize.py diff --git a/comfy/annotator/uniformer/mmcv/parallel/__init__.py b/custom_nodes/annotator/uniformer/mmcv/parallel/__init__.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/parallel/__init__.py rename to custom_nodes/annotator/uniformer/mmcv/parallel/__init__.py diff --git a/comfy/annotator/uniformer/mmcv/parallel/_functions.py b/custom_nodes/annotator/uniformer/mmcv/parallel/_functions.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/parallel/_functions.py rename to custom_nodes/annotator/uniformer/mmcv/parallel/_functions.py diff --git a/comfy/annotator/uniformer/mmcv/parallel/collate.py b/custom_nodes/annotator/uniformer/mmcv/parallel/collate.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/parallel/collate.py rename to custom_nodes/annotator/uniformer/mmcv/parallel/collate.py diff --git a/comfy/annotator/uniformer/mmcv/parallel/data_container.py b/custom_nodes/annotator/uniformer/mmcv/parallel/data_container.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/parallel/data_container.py rename to custom_nodes/annotator/uniformer/mmcv/parallel/data_container.py diff --git a/comfy/annotator/uniformer/mmcv/parallel/data_parallel.py b/custom_nodes/annotator/uniformer/mmcv/parallel/data_parallel.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/parallel/data_parallel.py rename to custom_nodes/annotator/uniformer/mmcv/parallel/data_parallel.py diff --git a/comfy/annotator/uniformer/mmcv/parallel/distributed.py b/custom_nodes/annotator/uniformer/mmcv/parallel/distributed.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/parallel/distributed.py rename to custom_nodes/annotator/uniformer/mmcv/parallel/distributed.py diff --git a/comfy/annotator/uniformer/mmcv/parallel/distributed_deprecated.py b/custom_nodes/annotator/uniformer/mmcv/parallel/distributed_deprecated.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/parallel/distributed_deprecated.py rename to custom_nodes/annotator/uniformer/mmcv/parallel/distributed_deprecated.py diff --git a/comfy/annotator/uniformer/mmcv/parallel/registry.py b/custom_nodes/annotator/uniformer/mmcv/parallel/registry.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/parallel/registry.py rename to custom_nodes/annotator/uniformer/mmcv/parallel/registry.py diff --git a/comfy/annotator/uniformer/mmcv/parallel/scatter_gather.py b/custom_nodes/annotator/uniformer/mmcv/parallel/scatter_gather.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/parallel/scatter_gather.py rename to custom_nodes/annotator/uniformer/mmcv/parallel/scatter_gather.py diff --git a/comfy/annotator/uniformer/mmcv/parallel/utils.py b/custom_nodes/annotator/uniformer/mmcv/parallel/utils.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/parallel/utils.py rename to custom_nodes/annotator/uniformer/mmcv/parallel/utils.py diff --git a/comfy/annotator/uniformer/mmcv/runner/__init__.py b/custom_nodes/annotator/uniformer/mmcv/runner/__init__.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/__init__.py rename to custom_nodes/annotator/uniformer/mmcv/runner/__init__.py diff --git a/comfy/annotator/uniformer/mmcv/runner/base_module.py b/custom_nodes/annotator/uniformer/mmcv/runner/base_module.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/base_module.py rename to custom_nodes/annotator/uniformer/mmcv/runner/base_module.py diff --git a/comfy/annotator/uniformer/mmcv/runner/base_runner.py b/custom_nodes/annotator/uniformer/mmcv/runner/base_runner.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/base_runner.py rename to custom_nodes/annotator/uniformer/mmcv/runner/base_runner.py diff --git a/comfy/annotator/uniformer/mmcv/runner/builder.py b/custom_nodes/annotator/uniformer/mmcv/runner/builder.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/builder.py rename to custom_nodes/annotator/uniformer/mmcv/runner/builder.py diff --git a/comfy/annotator/uniformer/mmcv/runner/checkpoint.py b/custom_nodes/annotator/uniformer/mmcv/runner/checkpoint.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/checkpoint.py rename to custom_nodes/annotator/uniformer/mmcv/runner/checkpoint.py diff --git a/comfy/annotator/uniformer/mmcv/runner/default_constructor.py b/custom_nodes/annotator/uniformer/mmcv/runner/default_constructor.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/default_constructor.py rename to custom_nodes/annotator/uniformer/mmcv/runner/default_constructor.py diff --git a/comfy/annotator/uniformer/mmcv/runner/dist_utils.py b/custom_nodes/annotator/uniformer/mmcv/runner/dist_utils.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/dist_utils.py rename to custom_nodes/annotator/uniformer/mmcv/runner/dist_utils.py diff --git a/comfy/annotator/uniformer/mmcv/runner/epoch_based_runner.py b/custom_nodes/annotator/uniformer/mmcv/runner/epoch_based_runner.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/epoch_based_runner.py rename to custom_nodes/annotator/uniformer/mmcv/runner/epoch_based_runner.py diff --git a/comfy/annotator/uniformer/mmcv/runner/fp16_utils.py b/custom_nodes/annotator/uniformer/mmcv/runner/fp16_utils.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/fp16_utils.py rename to custom_nodes/annotator/uniformer/mmcv/runner/fp16_utils.py diff --git a/comfy/annotator/uniformer/mmcv/runner/hooks/__init__.py b/custom_nodes/annotator/uniformer/mmcv/runner/hooks/__init__.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/hooks/__init__.py rename to custom_nodes/annotator/uniformer/mmcv/runner/hooks/__init__.py diff --git a/comfy/annotator/uniformer/mmcv/runner/hooks/checkpoint.py b/custom_nodes/annotator/uniformer/mmcv/runner/hooks/checkpoint.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/hooks/checkpoint.py rename to custom_nodes/annotator/uniformer/mmcv/runner/hooks/checkpoint.py diff --git a/comfy/annotator/uniformer/mmcv/runner/hooks/closure.py b/custom_nodes/annotator/uniformer/mmcv/runner/hooks/closure.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/hooks/closure.py rename to custom_nodes/annotator/uniformer/mmcv/runner/hooks/closure.py diff --git a/comfy/annotator/uniformer/mmcv/runner/hooks/ema.py b/custom_nodes/annotator/uniformer/mmcv/runner/hooks/ema.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/hooks/ema.py rename to custom_nodes/annotator/uniformer/mmcv/runner/hooks/ema.py diff --git a/comfy/annotator/uniformer/mmcv/runner/hooks/evaluation.py b/custom_nodes/annotator/uniformer/mmcv/runner/hooks/evaluation.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/hooks/evaluation.py rename to custom_nodes/annotator/uniformer/mmcv/runner/hooks/evaluation.py diff --git a/comfy/annotator/uniformer/mmcv/runner/hooks/hook.py b/custom_nodes/annotator/uniformer/mmcv/runner/hooks/hook.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/hooks/hook.py rename to custom_nodes/annotator/uniformer/mmcv/runner/hooks/hook.py diff --git a/comfy/annotator/uniformer/mmcv/runner/hooks/iter_timer.py b/custom_nodes/annotator/uniformer/mmcv/runner/hooks/iter_timer.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/hooks/iter_timer.py rename to custom_nodes/annotator/uniformer/mmcv/runner/hooks/iter_timer.py diff --git a/comfy/annotator/uniformer/mmcv/runner/hooks/logger/__init__.py b/custom_nodes/annotator/uniformer/mmcv/runner/hooks/logger/__init__.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/hooks/logger/__init__.py rename to custom_nodes/annotator/uniformer/mmcv/runner/hooks/logger/__init__.py diff --git a/comfy/annotator/uniformer/mmcv/runner/hooks/logger/base.py b/custom_nodes/annotator/uniformer/mmcv/runner/hooks/logger/base.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/hooks/logger/base.py rename to custom_nodes/annotator/uniformer/mmcv/runner/hooks/logger/base.py diff --git a/comfy/annotator/uniformer/mmcv/runner/hooks/logger/dvclive.py b/custom_nodes/annotator/uniformer/mmcv/runner/hooks/logger/dvclive.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/hooks/logger/dvclive.py rename to custom_nodes/annotator/uniformer/mmcv/runner/hooks/logger/dvclive.py diff --git a/comfy/annotator/uniformer/mmcv/runner/hooks/logger/mlflow.py b/custom_nodes/annotator/uniformer/mmcv/runner/hooks/logger/mlflow.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/hooks/logger/mlflow.py rename to custom_nodes/annotator/uniformer/mmcv/runner/hooks/logger/mlflow.py diff --git a/comfy/annotator/uniformer/mmcv/runner/hooks/logger/neptune.py b/custom_nodes/annotator/uniformer/mmcv/runner/hooks/logger/neptune.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/hooks/logger/neptune.py rename to custom_nodes/annotator/uniformer/mmcv/runner/hooks/logger/neptune.py diff --git a/comfy/annotator/uniformer/mmcv/runner/hooks/logger/pavi.py b/custom_nodes/annotator/uniformer/mmcv/runner/hooks/logger/pavi.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/hooks/logger/pavi.py rename to custom_nodes/annotator/uniformer/mmcv/runner/hooks/logger/pavi.py diff --git a/comfy/annotator/uniformer/mmcv/runner/hooks/logger/tensorboard.py b/custom_nodes/annotator/uniformer/mmcv/runner/hooks/logger/tensorboard.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/hooks/logger/tensorboard.py rename to custom_nodes/annotator/uniformer/mmcv/runner/hooks/logger/tensorboard.py diff --git a/comfy/annotator/uniformer/mmcv/runner/hooks/logger/text.py b/custom_nodes/annotator/uniformer/mmcv/runner/hooks/logger/text.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/hooks/logger/text.py rename to custom_nodes/annotator/uniformer/mmcv/runner/hooks/logger/text.py diff --git a/comfy/annotator/uniformer/mmcv/runner/hooks/logger/wandb.py b/custom_nodes/annotator/uniformer/mmcv/runner/hooks/logger/wandb.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/hooks/logger/wandb.py rename to custom_nodes/annotator/uniformer/mmcv/runner/hooks/logger/wandb.py diff --git a/comfy/annotator/uniformer/mmcv/runner/hooks/lr_updater.py b/custom_nodes/annotator/uniformer/mmcv/runner/hooks/lr_updater.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/hooks/lr_updater.py rename to custom_nodes/annotator/uniformer/mmcv/runner/hooks/lr_updater.py diff --git a/comfy/annotator/uniformer/mmcv/runner/hooks/memory.py b/custom_nodes/annotator/uniformer/mmcv/runner/hooks/memory.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/hooks/memory.py rename to custom_nodes/annotator/uniformer/mmcv/runner/hooks/memory.py diff --git a/comfy/annotator/uniformer/mmcv/runner/hooks/momentum_updater.py b/custom_nodes/annotator/uniformer/mmcv/runner/hooks/momentum_updater.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/hooks/momentum_updater.py rename to custom_nodes/annotator/uniformer/mmcv/runner/hooks/momentum_updater.py diff --git a/comfy/annotator/uniformer/mmcv/runner/hooks/optimizer.py b/custom_nodes/annotator/uniformer/mmcv/runner/hooks/optimizer.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/hooks/optimizer.py rename to custom_nodes/annotator/uniformer/mmcv/runner/hooks/optimizer.py diff --git a/comfy/annotator/uniformer/mmcv/runner/hooks/profiler.py b/custom_nodes/annotator/uniformer/mmcv/runner/hooks/profiler.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/hooks/profiler.py rename to custom_nodes/annotator/uniformer/mmcv/runner/hooks/profiler.py diff --git a/comfy/annotator/uniformer/mmcv/runner/hooks/sampler_seed.py b/custom_nodes/annotator/uniformer/mmcv/runner/hooks/sampler_seed.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/hooks/sampler_seed.py rename to custom_nodes/annotator/uniformer/mmcv/runner/hooks/sampler_seed.py diff --git a/comfy/annotator/uniformer/mmcv/runner/hooks/sync_buffer.py b/custom_nodes/annotator/uniformer/mmcv/runner/hooks/sync_buffer.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/hooks/sync_buffer.py rename to custom_nodes/annotator/uniformer/mmcv/runner/hooks/sync_buffer.py diff --git a/comfy/annotator/uniformer/mmcv/runner/iter_based_runner.py b/custom_nodes/annotator/uniformer/mmcv/runner/iter_based_runner.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/iter_based_runner.py rename to custom_nodes/annotator/uniformer/mmcv/runner/iter_based_runner.py diff --git a/comfy/annotator/uniformer/mmcv/runner/log_buffer.py b/custom_nodes/annotator/uniformer/mmcv/runner/log_buffer.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/log_buffer.py rename to custom_nodes/annotator/uniformer/mmcv/runner/log_buffer.py diff --git a/comfy/annotator/uniformer/mmcv/runner/optimizer/__init__.py b/custom_nodes/annotator/uniformer/mmcv/runner/optimizer/__init__.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/optimizer/__init__.py rename to custom_nodes/annotator/uniformer/mmcv/runner/optimizer/__init__.py diff --git a/comfy/annotator/uniformer/mmcv/runner/optimizer/builder.py b/custom_nodes/annotator/uniformer/mmcv/runner/optimizer/builder.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/optimizer/builder.py rename to custom_nodes/annotator/uniformer/mmcv/runner/optimizer/builder.py diff --git a/comfy/annotator/uniformer/mmcv/runner/optimizer/default_constructor.py b/custom_nodes/annotator/uniformer/mmcv/runner/optimizer/default_constructor.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/optimizer/default_constructor.py rename to custom_nodes/annotator/uniformer/mmcv/runner/optimizer/default_constructor.py diff --git a/comfy/annotator/uniformer/mmcv/runner/priority.py b/custom_nodes/annotator/uniformer/mmcv/runner/priority.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/priority.py rename to custom_nodes/annotator/uniformer/mmcv/runner/priority.py diff --git a/comfy/annotator/uniformer/mmcv/runner/utils.py b/custom_nodes/annotator/uniformer/mmcv/runner/utils.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/runner/utils.py rename to custom_nodes/annotator/uniformer/mmcv/runner/utils.py diff --git a/comfy/annotator/uniformer/mmcv/utils/__init__.py b/custom_nodes/annotator/uniformer/mmcv/utils/__init__.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/utils/__init__.py rename to custom_nodes/annotator/uniformer/mmcv/utils/__init__.py diff --git a/comfy/annotator/uniformer/mmcv/utils/config.py b/custom_nodes/annotator/uniformer/mmcv/utils/config.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/utils/config.py rename to custom_nodes/annotator/uniformer/mmcv/utils/config.py diff --git a/comfy/annotator/uniformer/mmcv/utils/env.py b/custom_nodes/annotator/uniformer/mmcv/utils/env.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/utils/env.py rename to custom_nodes/annotator/uniformer/mmcv/utils/env.py diff --git a/comfy/annotator/uniformer/mmcv/utils/ext_loader.py b/custom_nodes/annotator/uniformer/mmcv/utils/ext_loader.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/utils/ext_loader.py rename to custom_nodes/annotator/uniformer/mmcv/utils/ext_loader.py diff --git a/comfy/annotator/uniformer/mmcv/utils/logging.py b/custom_nodes/annotator/uniformer/mmcv/utils/logging.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/utils/logging.py rename to custom_nodes/annotator/uniformer/mmcv/utils/logging.py diff --git a/comfy/annotator/uniformer/mmcv/utils/misc.py b/custom_nodes/annotator/uniformer/mmcv/utils/misc.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/utils/misc.py rename to custom_nodes/annotator/uniformer/mmcv/utils/misc.py diff --git a/comfy/annotator/uniformer/mmcv/utils/parrots_jit.py b/custom_nodes/annotator/uniformer/mmcv/utils/parrots_jit.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/utils/parrots_jit.py rename to custom_nodes/annotator/uniformer/mmcv/utils/parrots_jit.py diff --git a/comfy/annotator/uniformer/mmcv/utils/parrots_wrapper.py b/custom_nodes/annotator/uniformer/mmcv/utils/parrots_wrapper.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/utils/parrots_wrapper.py rename to custom_nodes/annotator/uniformer/mmcv/utils/parrots_wrapper.py diff --git a/comfy/annotator/uniformer/mmcv/utils/path.py b/custom_nodes/annotator/uniformer/mmcv/utils/path.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/utils/path.py rename to custom_nodes/annotator/uniformer/mmcv/utils/path.py diff --git a/comfy/annotator/uniformer/mmcv/utils/progressbar.py b/custom_nodes/annotator/uniformer/mmcv/utils/progressbar.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/utils/progressbar.py rename to custom_nodes/annotator/uniformer/mmcv/utils/progressbar.py diff --git a/comfy/annotator/uniformer/mmcv/utils/registry.py b/custom_nodes/annotator/uniformer/mmcv/utils/registry.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/utils/registry.py rename to custom_nodes/annotator/uniformer/mmcv/utils/registry.py diff --git a/comfy/annotator/uniformer/mmcv/utils/testing.py b/custom_nodes/annotator/uniformer/mmcv/utils/testing.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/utils/testing.py rename to custom_nodes/annotator/uniformer/mmcv/utils/testing.py diff --git a/comfy/annotator/uniformer/mmcv/utils/timer.py b/custom_nodes/annotator/uniformer/mmcv/utils/timer.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/utils/timer.py rename to custom_nodes/annotator/uniformer/mmcv/utils/timer.py diff --git a/comfy/annotator/uniformer/mmcv/utils/trace.py b/custom_nodes/annotator/uniformer/mmcv/utils/trace.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/utils/trace.py rename to custom_nodes/annotator/uniformer/mmcv/utils/trace.py diff --git a/comfy/annotator/uniformer/mmcv/utils/version_utils.py b/custom_nodes/annotator/uniformer/mmcv/utils/version_utils.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/utils/version_utils.py rename to custom_nodes/annotator/uniformer/mmcv/utils/version_utils.py diff --git a/comfy/annotator/uniformer/mmcv/version.py b/custom_nodes/annotator/uniformer/mmcv/version.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/version.py rename to custom_nodes/annotator/uniformer/mmcv/version.py diff --git a/comfy/annotator/uniformer/mmcv/video/__init__.py b/custom_nodes/annotator/uniformer/mmcv/video/__init__.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/video/__init__.py rename to custom_nodes/annotator/uniformer/mmcv/video/__init__.py diff --git a/comfy/annotator/uniformer/mmcv/video/io.py b/custom_nodes/annotator/uniformer/mmcv/video/io.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/video/io.py rename to custom_nodes/annotator/uniformer/mmcv/video/io.py diff --git a/comfy/annotator/uniformer/mmcv/video/optflow.py b/custom_nodes/annotator/uniformer/mmcv/video/optflow.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/video/optflow.py rename to custom_nodes/annotator/uniformer/mmcv/video/optflow.py diff --git a/comfy/annotator/uniformer/mmcv/video/processing.py b/custom_nodes/annotator/uniformer/mmcv/video/processing.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/video/processing.py rename to custom_nodes/annotator/uniformer/mmcv/video/processing.py diff --git a/comfy/annotator/uniformer/mmcv/visualization/__init__.py b/custom_nodes/annotator/uniformer/mmcv/visualization/__init__.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/visualization/__init__.py rename to custom_nodes/annotator/uniformer/mmcv/visualization/__init__.py diff --git a/comfy/annotator/uniformer/mmcv/visualization/color.py b/custom_nodes/annotator/uniformer/mmcv/visualization/color.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/visualization/color.py rename to custom_nodes/annotator/uniformer/mmcv/visualization/color.py diff --git a/comfy/annotator/uniformer/mmcv/visualization/image.py b/custom_nodes/annotator/uniformer/mmcv/visualization/image.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/visualization/image.py rename to custom_nodes/annotator/uniformer/mmcv/visualization/image.py diff --git a/comfy/annotator/uniformer/mmcv/visualization/optflow.py b/custom_nodes/annotator/uniformer/mmcv/visualization/optflow.py similarity index 100% rename from comfy/annotator/uniformer/mmcv/visualization/optflow.py rename to custom_nodes/annotator/uniformer/mmcv/visualization/optflow.py diff --git a/comfy/annotator/uniformer/mmcv_custom/__init__.py b/custom_nodes/annotator/uniformer/mmcv_custom/__init__.py similarity index 100% rename from comfy/annotator/uniformer/mmcv_custom/__init__.py rename to custom_nodes/annotator/uniformer/mmcv_custom/__init__.py diff --git a/comfy/annotator/uniformer/mmcv_custom/checkpoint.py b/custom_nodes/annotator/uniformer/mmcv_custom/checkpoint.py similarity index 100% rename from comfy/annotator/uniformer/mmcv_custom/checkpoint.py rename to custom_nodes/annotator/uniformer/mmcv_custom/checkpoint.py diff --git a/comfy/annotator/uniformer/mmseg/apis/__init__.py b/custom_nodes/annotator/uniformer/mmseg/apis/__init__.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/apis/__init__.py rename to custom_nodes/annotator/uniformer/mmseg/apis/__init__.py diff --git a/comfy/annotator/uniformer/mmseg/apis/inference.py b/custom_nodes/annotator/uniformer/mmseg/apis/inference.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/apis/inference.py rename to custom_nodes/annotator/uniformer/mmseg/apis/inference.py diff --git a/comfy/annotator/uniformer/mmseg/apis/test.py b/custom_nodes/annotator/uniformer/mmseg/apis/test.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/apis/test.py rename to custom_nodes/annotator/uniformer/mmseg/apis/test.py diff --git a/comfy/annotator/uniformer/mmseg/apis/train.py b/custom_nodes/annotator/uniformer/mmseg/apis/train.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/apis/train.py rename to custom_nodes/annotator/uniformer/mmseg/apis/train.py diff --git a/comfy/annotator/uniformer/mmseg/core/__init__.py b/custom_nodes/annotator/uniformer/mmseg/core/__init__.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/core/__init__.py rename to custom_nodes/annotator/uniformer/mmseg/core/__init__.py diff --git a/comfy/annotator/uniformer/mmseg/core/evaluation/__init__.py b/custom_nodes/annotator/uniformer/mmseg/core/evaluation/__init__.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/core/evaluation/__init__.py rename to custom_nodes/annotator/uniformer/mmseg/core/evaluation/__init__.py diff --git a/comfy/annotator/uniformer/mmseg/core/evaluation/class_names.py b/custom_nodes/annotator/uniformer/mmseg/core/evaluation/class_names.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/core/evaluation/class_names.py rename to custom_nodes/annotator/uniformer/mmseg/core/evaluation/class_names.py diff --git a/comfy/annotator/uniformer/mmseg/core/evaluation/eval_hooks.py b/custom_nodes/annotator/uniformer/mmseg/core/evaluation/eval_hooks.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/core/evaluation/eval_hooks.py rename to custom_nodes/annotator/uniformer/mmseg/core/evaluation/eval_hooks.py diff --git a/comfy/annotator/uniformer/mmseg/core/evaluation/metrics.py b/custom_nodes/annotator/uniformer/mmseg/core/evaluation/metrics.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/core/evaluation/metrics.py rename to custom_nodes/annotator/uniformer/mmseg/core/evaluation/metrics.py diff --git a/comfy/annotator/uniformer/mmseg/core/seg/__init__.py b/custom_nodes/annotator/uniformer/mmseg/core/seg/__init__.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/core/seg/__init__.py rename to custom_nodes/annotator/uniformer/mmseg/core/seg/__init__.py diff --git a/comfy/annotator/uniformer/mmseg/core/seg/builder.py b/custom_nodes/annotator/uniformer/mmseg/core/seg/builder.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/core/seg/builder.py rename to custom_nodes/annotator/uniformer/mmseg/core/seg/builder.py diff --git a/comfy/annotator/uniformer/mmseg/core/seg/sampler/__init__.py b/custom_nodes/annotator/uniformer/mmseg/core/seg/sampler/__init__.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/core/seg/sampler/__init__.py rename to custom_nodes/annotator/uniformer/mmseg/core/seg/sampler/__init__.py diff --git a/comfy/annotator/uniformer/mmseg/core/seg/sampler/base_pixel_sampler.py b/custom_nodes/annotator/uniformer/mmseg/core/seg/sampler/base_pixel_sampler.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/core/seg/sampler/base_pixel_sampler.py rename to custom_nodes/annotator/uniformer/mmseg/core/seg/sampler/base_pixel_sampler.py diff --git a/comfy/annotator/uniformer/mmseg/core/seg/sampler/ohem_pixel_sampler.py b/custom_nodes/annotator/uniformer/mmseg/core/seg/sampler/ohem_pixel_sampler.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/core/seg/sampler/ohem_pixel_sampler.py rename to custom_nodes/annotator/uniformer/mmseg/core/seg/sampler/ohem_pixel_sampler.py diff --git a/comfy/annotator/uniformer/mmseg/core/utils/__init__.py b/custom_nodes/annotator/uniformer/mmseg/core/utils/__init__.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/core/utils/__init__.py rename to custom_nodes/annotator/uniformer/mmseg/core/utils/__init__.py diff --git a/comfy/annotator/uniformer/mmseg/core/utils/misc.py b/custom_nodes/annotator/uniformer/mmseg/core/utils/misc.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/core/utils/misc.py rename to custom_nodes/annotator/uniformer/mmseg/core/utils/misc.py diff --git a/comfy/annotator/uniformer/mmseg/datasets/__init__.py b/custom_nodes/annotator/uniformer/mmseg/datasets/__init__.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/datasets/__init__.py rename to custom_nodes/annotator/uniformer/mmseg/datasets/__init__.py diff --git a/comfy/annotator/uniformer/mmseg/datasets/ade.py b/custom_nodes/annotator/uniformer/mmseg/datasets/ade.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/datasets/ade.py rename to custom_nodes/annotator/uniformer/mmseg/datasets/ade.py diff --git a/comfy/annotator/uniformer/mmseg/datasets/builder.py b/custom_nodes/annotator/uniformer/mmseg/datasets/builder.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/datasets/builder.py rename to custom_nodes/annotator/uniformer/mmseg/datasets/builder.py diff --git a/comfy/annotator/uniformer/mmseg/datasets/chase_db1.py b/custom_nodes/annotator/uniformer/mmseg/datasets/chase_db1.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/datasets/chase_db1.py rename to custom_nodes/annotator/uniformer/mmseg/datasets/chase_db1.py diff --git a/comfy/annotator/uniformer/mmseg/datasets/cityscapes.py b/custom_nodes/annotator/uniformer/mmseg/datasets/cityscapes.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/datasets/cityscapes.py rename to custom_nodes/annotator/uniformer/mmseg/datasets/cityscapes.py diff --git a/comfy/annotator/uniformer/mmseg/datasets/custom.py b/custom_nodes/annotator/uniformer/mmseg/datasets/custom.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/datasets/custom.py rename to custom_nodes/annotator/uniformer/mmseg/datasets/custom.py diff --git a/comfy/annotator/uniformer/mmseg/datasets/dataset_wrappers.py b/custom_nodes/annotator/uniformer/mmseg/datasets/dataset_wrappers.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/datasets/dataset_wrappers.py rename to custom_nodes/annotator/uniformer/mmseg/datasets/dataset_wrappers.py diff --git a/comfy/annotator/uniformer/mmseg/datasets/drive.py b/custom_nodes/annotator/uniformer/mmseg/datasets/drive.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/datasets/drive.py rename to custom_nodes/annotator/uniformer/mmseg/datasets/drive.py diff --git a/comfy/annotator/uniformer/mmseg/datasets/hrf.py b/custom_nodes/annotator/uniformer/mmseg/datasets/hrf.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/datasets/hrf.py rename to custom_nodes/annotator/uniformer/mmseg/datasets/hrf.py diff --git a/comfy/annotator/uniformer/mmseg/datasets/pascal_context.py b/custom_nodes/annotator/uniformer/mmseg/datasets/pascal_context.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/datasets/pascal_context.py rename to custom_nodes/annotator/uniformer/mmseg/datasets/pascal_context.py diff --git a/comfy/annotator/uniformer/mmseg/datasets/pipelines/__init__.py b/custom_nodes/annotator/uniformer/mmseg/datasets/pipelines/__init__.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/datasets/pipelines/__init__.py rename to custom_nodes/annotator/uniformer/mmseg/datasets/pipelines/__init__.py diff --git a/comfy/annotator/uniformer/mmseg/datasets/pipelines/compose.py b/custom_nodes/annotator/uniformer/mmseg/datasets/pipelines/compose.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/datasets/pipelines/compose.py rename to custom_nodes/annotator/uniformer/mmseg/datasets/pipelines/compose.py diff --git a/comfy/annotator/uniformer/mmseg/datasets/pipelines/formating.py b/custom_nodes/annotator/uniformer/mmseg/datasets/pipelines/formating.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/datasets/pipelines/formating.py rename to custom_nodes/annotator/uniformer/mmseg/datasets/pipelines/formating.py diff --git a/comfy/annotator/uniformer/mmseg/datasets/pipelines/loading.py b/custom_nodes/annotator/uniformer/mmseg/datasets/pipelines/loading.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/datasets/pipelines/loading.py rename to custom_nodes/annotator/uniformer/mmseg/datasets/pipelines/loading.py diff --git a/comfy/annotator/uniformer/mmseg/datasets/pipelines/test_time_aug.py b/custom_nodes/annotator/uniformer/mmseg/datasets/pipelines/test_time_aug.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/datasets/pipelines/test_time_aug.py rename to custom_nodes/annotator/uniformer/mmseg/datasets/pipelines/test_time_aug.py diff --git a/comfy/annotator/uniformer/mmseg/datasets/pipelines/transforms.py b/custom_nodes/annotator/uniformer/mmseg/datasets/pipelines/transforms.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/datasets/pipelines/transforms.py rename to custom_nodes/annotator/uniformer/mmseg/datasets/pipelines/transforms.py diff --git a/comfy/annotator/uniformer/mmseg/datasets/stare.py b/custom_nodes/annotator/uniformer/mmseg/datasets/stare.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/datasets/stare.py rename to custom_nodes/annotator/uniformer/mmseg/datasets/stare.py diff --git a/comfy/annotator/uniformer/mmseg/datasets/voc.py b/custom_nodes/annotator/uniformer/mmseg/datasets/voc.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/datasets/voc.py rename to custom_nodes/annotator/uniformer/mmseg/datasets/voc.py diff --git a/comfy/annotator/uniformer/mmseg/models/__init__.py b/custom_nodes/annotator/uniformer/mmseg/models/__init__.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/__init__.py rename to custom_nodes/annotator/uniformer/mmseg/models/__init__.py diff --git a/comfy/annotator/uniformer/mmseg/models/backbones/__init__.py b/custom_nodes/annotator/uniformer/mmseg/models/backbones/__init__.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/backbones/__init__.py rename to custom_nodes/annotator/uniformer/mmseg/models/backbones/__init__.py diff --git a/comfy/annotator/uniformer/mmseg/models/backbones/cgnet.py b/custom_nodes/annotator/uniformer/mmseg/models/backbones/cgnet.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/backbones/cgnet.py rename to custom_nodes/annotator/uniformer/mmseg/models/backbones/cgnet.py diff --git a/comfy/annotator/uniformer/mmseg/models/backbones/fast_scnn.py b/custom_nodes/annotator/uniformer/mmseg/models/backbones/fast_scnn.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/backbones/fast_scnn.py rename to custom_nodes/annotator/uniformer/mmseg/models/backbones/fast_scnn.py diff --git a/comfy/annotator/uniformer/mmseg/models/backbones/hrnet.py b/custom_nodes/annotator/uniformer/mmseg/models/backbones/hrnet.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/backbones/hrnet.py rename to custom_nodes/annotator/uniformer/mmseg/models/backbones/hrnet.py diff --git a/comfy/annotator/uniformer/mmseg/models/backbones/mobilenet_v2.py b/custom_nodes/annotator/uniformer/mmseg/models/backbones/mobilenet_v2.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/backbones/mobilenet_v2.py rename to custom_nodes/annotator/uniformer/mmseg/models/backbones/mobilenet_v2.py diff --git a/comfy/annotator/uniformer/mmseg/models/backbones/mobilenet_v3.py b/custom_nodes/annotator/uniformer/mmseg/models/backbones/mobilenet_v3.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/backbones/mobilenet_v3.py rename to custom_nodes/annotator/uniformer/mmseg/models/backbones/mobilenet_v3.py diff --git a/comfy/annotator/uniformer/mmseg/models/backbones/resnest.py b/custom_nodes/annotator/uniformer/mmseg/models/backbones/resnest.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/backbones/resnest.py rename to custom_nodes/annotator/uniformer/mmseg/models/backbones/resnest.py diff --git a/comfy/annotator/uniformer/mmseg/models/backbones/resnet.py b/custom_nodes/annotator/uniformer/mmseg/models/backbones/resnet.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/backbones/resnet.py rename to custom_nodes/annotator/uniformer/mmseg/models/backbones/resnet.py diff --git a/comfy/annotator/uniformer/mmseg/models/backbones/resnext.py b/custom_nodes/annotator/uniformer/mmseg/models/backbones/resnext.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/backbones/resnext.py rename to custom_nodes/annotator/uniformer/mmseg/models/backbones/resnext.py diff --git a/comfy/annotator/uniformer/mmseg/models/backbones/unet.py b/custom_nodes/annotator/uniformer/mmseg/models/backbones/unet.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/backbones/unet.py rename to custom_nodes/annotator/uniformer/mmseg/models/backbones/unet.py diff --git a/comfy/annotator/uniformer/mmseg/models/backbones/uniformer.py b/custom_nodes/annotator/uniformer/mmseg/models/backbones/uniformer.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/backbones/uniformer.py rename to custom_nodes/annotator/uniformer/mmseg/models/backbones/uniformer.py diff --git a/comfy/annotator/uniformer/mmseg/models/backbones/vit.py b/custom_nodes/annotator/uniformer/mmseg/models/backbones/vit.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/backbones/vit.py rename to custom_nodes/annotator/uniformer/mmseg/models/backbones/vit.py diff --git a/comfy/annotator/uniformer/mmseg/models/builder.py b/custom_nodes/annotator/uniformer/mmseg/models/builder.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/builder.py rename to custom_nodes/annotator/uniformer/mmseg/models/builder.py diff --git a/comfy/annotator/uniformer/mmseg/models/decode_heads/__init__.py b/custom_nodes/annotator/uniformer/mmseg/models/decode_heads/__init__.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/decode_heads/__init__.py rename to custom_nodes/annotator/uniformer/mmseg/models/decode_heads/__init__.py diff --git a/comfy/annotator/uniformer/mmseg/models/decode_heads/ann_head.py b/custom_nodes/annotator/uniformer/mmseg/models/decode_heads/ann_head.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/decode_heads/ann_head.py rename to custom_nodes/annotator/uniformer/mmseg/models/decode_heads/ann_head.py diff --git a/comfy/annotator/uniformer/mmseg/models/decode_heads/apc_head.py b/custom_nodes/annotator/uniformer/mmseg/models/decode_heads/apc_head.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/decode_heads/apc_head.py rename to custom_nodes/annotator/uniformer/mmseg/models/decode_heads/apc_head.py diff --git a/comfy/annotator/uniformer/mmseg/models/decode_heads/aspp_head.py b/custom_nodes/annotator/uniformer/mmseg/models/decode_heads/aspp_head.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/decode_heads/aspp_head.py rename to custom_nodes/annotator/uniformer/mmseg/models/decode_heads/aspp_head.py diff --git a/comfy/annotator/uniformer/mmseg/models/decode_heads/cascade_decode_head.py b/custom_nodes/annotator/uniformer/mmseg/models/decode_heads/cascade_decode_head.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/decode_heads/cascade_decode_head.py rename to custom_nodes/annotator/uniformer/mmseg/models/decode_heads/cascade_decode_head.py diff --git a/comfy/annotator/uniformer/mmseg/models/decode_heads/cc_head.py b/custom_nodes/annotator/uniformer/mmseg/models/decode_heads/cc_head.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/decode_heads/cc_head.py rename to custom_nodes/annotator/uniformer/mmseg/models/decode_heads/cc_head.py diff --git a/comfy/annotator/uniformer/mmseg/models/decode_heads/da_head.py b/custom_nodes/annotator/uniformer/mmseg/models/decode_heads/da_head.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/decode_heads/da_head.py rename to custom_nodes/annotator/uniformer/mmseg/models/decode_heads/da_head.py diff --git a/comfy/annotator/uniformer/mmseg/models/decode_heads/decode_head.py b/custom_nodes/annotator/uniformer/mmseg/models/decode_heads/decode_head.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/decode_heads/decode_head.py rename to custom_nodes/annotator/uniformer/mmseg/models/decode_heads/decode_head.py diff --git a/comfy/annotator/uniformer/mmseg/models/decode_heads/dm_head.py b/custom_nodes/annotator/uniformer/mmseg/models/decode_heads/dm_head.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/decode_heads/dm_head.py rename to custom_nodes/annotator/uniformer/mmseg/models/decode_heads/dm_head.py diff --git a/comfy/annotator/uniformer/mmseg/models/decode_heads/dnl_head.py b/custom_nodes/annotator/uniformer/mmseg/models/decode_heads/dnl_head.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/decode_heads/dnl_head.py rename to custom_nodes/annotator/uniformer/mmseg/models/decode_heads/dnl_head.py diff --git a/comfy/annotator/uniformer/mmseg/models/decode_heads/ema_head.py b/custom_nodes/annotator/uniformer/mmseg/models/decode_heads/ema_head.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/decode_heads/ema_head.py rename to custom_nodes/annotator/uniformer/mmseg/models/decode_heads/ema_head.py diff --git a/comfy/annotator/uniformer/mmseg/models/decode_heads/enc_head.py b/custom_nodes/annotator/uniformer/mmseg/models/decode_heads/enc_head.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/decode_heads/enc_head.py rename to custom_nodes/annotator/uniformer/mmseg/models/decode_heads/enc_head.py diff --git a/comfy/annotator/uniformer/mmseg/models/decode_heads/fcn_head.py b/custom_nodes/annotator/uniformer/mmseg/models/decode_heads/fcn_head.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/decode_heads/fcn_head.py rename to custom_nodes/annotator/uniformer/mmseg/models/decode_heads/fcn_head.py diff --git a/comfy/annotator/uniformer/mmseg/models/decode_heads/fpn_head.py b/custom_nodes/annotator/uniformer/mmseg/models/decode_heads/fpn_head.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/decode_heads/fpn_head.py rename to custom_nodes/annotator/uniformer/mmseg/models/decode_heads/fpn_head.py diff --git a/comfy/annotator/uniformer/mmseg/models/decode_heads/gc_head.py b/custom_nodes/annotator/uniformer/mmseg/models/decode_heads/gc_head.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/decode_heads/gc_head.py rename to custom_nodes/annotator/uniformer/mmseg/models/decode_heads/gc_head.py diff --git a/comfy/annotator/uniformer/mmseg/models/decode_heads/lraspp_head.py b/custom_nodes/annotator/uniformer/mmseg/models/decode_heads/lraspp_head.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/decode_heads/lraspp_head.py rename to custom_nodes/annotator/uniformer/mmseg/models/decode_heads/lraspp_head.py diff --git a/comfy/annotator/uniformer/mmseg/models/decode_heads/nl_head.py b/custom_nodes/annotator/uniformer/mmseg/models/decode_heads/nl_head.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/decode_heads/nl_head.py rename to custom_nodes/annotator/uniformer/mmseg/models/decode_heads/nl_head.py diff --git a/comfy/annotator/uniformer/mmseg/models/decode_heads/ocr_head.py b/custom_nodes/annotator/uniformer/mmseg/models/decode_heads/ocr_head.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/decode_heads/ocr_head.py rename to custom_nodes/annotator/uniformer/mmseg/models/decode_heads/ocr_head.py diff --git a/comfy/annotator/uniformer/mmseg/models/decode_heads/point_head.py b/custom_nodes/annotator/uniformer/mmseg/models/decode_heads/point_head.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/decode_heads/point_head.py rename to custom_nodes/annotator/uniformer/mmseg/models/decode_heads/point_head.py diff --git a/comfy/annotator/uniformer/mmseg/models/decode_heads/psa_head.py b/custom_nodes/annotator/uniformer/mmseg/models/decode_heads/psa_head.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/decode_heads/psa_head.py rename to custom_nodes/annotator/uniformer/mmseg/models/decode_heads/psa_head.py diff --git a/comfy/annotator/uniformer/mmseg/models/decode_heads/psp_head.py b/custom_nodes/annotator/uniformer/mmseg/models/decode_heads/psp_head.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/decode_heads/psp_head.py rename to custom_nodes/annotator/uniformer/mmseg/models/decode_heads/psp_head.py diff --git a/comfy/annotator/uniformer/mmseg/models/decode_heads/sep_aspp_head.py b/custom_nodes/annotator/uniformer/mmseg/models/decode_heads/sep_aspp_head.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/decode_heads/sep_aspp_head.py rename to custom_nodes/annotator/uniformer/mmseg/models/decode_heads/sep_aspp_head.py diff --git a/comfy/annotator/uniformer/mmseg/models/decode_heads/sep_fcn_head.py b/custom_nodes/annotator/uniformer/mmseg/models/decode_heads/sep_fcn_head.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/decode_heads/sep_fcn_head.py rename to custom_nodes/annotator/uniformer/mmseg/models/decode_heads/sep_fcn_head.py diff --git a/comfy/annotator/uniformer/mmseg/models/decode_heads/uper_head.py b/custom_nodes/annotator/uniformer/mmseg/models/decode_heads/uper_head.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/decode_heads/uper_head.py rename to custom_nodes/annotator/uniformer/mmseg/models/decode_heads/uper_head.py diff --git a/comfy/annotator/uniformer/mmseg/models/losses/__init__.py b/custom_nodes/annotator/uniformer/mmseg/models/losses/__init__.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/losses/__init__.py rename to custom_nodes/annotator/uniformer/mmseg/models/losses/__init__.py diff --git a/comfy/annotator/uniformer/mmseg/models/losses/accuracy.py b/custom_nodes/annotator/uniformer/mmseg/models/losses/accuracy.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/losses/accuracy.py rename to custom_nodes/annotator/uniformer/mmseg/models/losses/accuracy.py diff --git a/comfy/annotator/uniformer/mmseg/models/losses/cross_entropy_loss.py b/custom_nodes/annotator/uniformer/mmseg/models/losses/cross_entropy_loss.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/losses/cross_entropy_loss.py rename to custom_nodes/annotator/uniformer/mmseg/models/losses/cross_entropy_loss.py diff --git a/comfy/annotator/uniformer/mmseg/models/losses/dice_loss.py b/custom_nodes/annotator/uniformer/mmseg/models/losses/dice_loss.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/losses/dice_loss.py rename to custom_nodes/annotator/uniformer/mmseg/models/losses/dice_loss.py diff --git a/comfy/annotator/uniformer/mmseg/models/losses/lovasz_loss.py b/custom_nodes/annotator/uniformer/mmseg/models/losses/lovasz_loss.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/losses/lovasz_loss.py rename to custom_nodes/annotator/uniformer/mmseg/models/losses/lovasz_loss.py diff --git a/comfy/annotator/uniformer/mmseg/models/losses/utils.py b/custom_nodes/annotator/uniformer/mmseg/models/losses/utils.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/losses/utils.py rename to custom_nodes/annotator/uniformer/mmseg/models/losses/utils.py diff --git a/comfy/annotator/uniformer/mmseg/models/necks/__init__.py b/custom_nodes/annotator/uniformer/mmseg/models/necks/__init__.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/necks/__init__.py rename to custom_nodes/annotator/uniformer/mmseg/models/necks/__init__.py diff --git a/comfy/annotator/uniformer/mmseg/models/necks/fpn.py b/custom_nodes/annotator/uniformer/mmseg/models/necks/fpn.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/necks/fpn.py rename to custom_nodes/annotator/uniformer/mmseg/models/necks/fpn.py diff --git a/comfy/annotator/uniformer/mmseg/models/necks/multilevel_neck.py b/custom_nodes/annotator/uniformer/mmseg/models/necks/multilevel_neck.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/necks/multilevel_neck.py rename to custom_nodes/annotator/uniformer/mmseg/models/necks/multilevel_neck.py diff --git a/comfy/annotator/uniformer/mmseg/models/segmentors/__init__.py b/custom_nodes/annotator/uniformer/mmseg/models/segmentors/__init__.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/segmentors/__init__.py rename to custom_nodes/annotator/uniformer/mmseg/models/segmentors/__init__.py diff --git a/comfy/annotator/uniformer/mmseg/models/segmentors/base.py b/custom_nodes/annotator/uniformer/mmseg/models/segmentors/base.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/segmentors/base.py rename to custom_nodes/annotator/uniformer/mmseg/models/segmentors/base.py diff --git a/comfy/annotator/uniformer/mmseg/models/segmentors/cascade_encoder_decoder.py b/custom_nodes/annotator/uniformer/mmseg/models/segmentors/cascade_encoder_decoder.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/segmentors/cascade_encoder_decoder.py rename to custom_nodes/annotator/uniformer/mmseg/models/segmentors/cascade_encoder_decoder.py diff --git a/comfy/annotator/uniformer/mmseg/models/segmentors/encoder_decoder.py b/custom_nodes/annotator/uniformer/mmseg/models/segmentors/encoder_decoder.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/segmentors/encoder_decoder.py rename to custom_nodes/annotator/uniformer/mmseg/models/segmentors/encoder_decoder.py diff --git a/comfy/annotator/uniformer/mmseg/models/utils/__init__.py b/custom_nodes/annotator/uniformer/mmseg/models/utils/__init__.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/utils/__init__.py rename to custom_nodes/annotator/uniformer/mmseg/models/utils/__init__.py diff --git a/comfy/annotator/uniformer/mmseg/models/utils/drop.py b/custom_nodes/annotator/uniformer/mmseg/models/utils/drop.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/utils/drop.py rename to custom_nodes/annotator/uniformer/mmseg/models/utils/drop.py diff --git a/comfy/annotator/uniformer/mmseg/models/utils/inverted_residual.py b/custom_nodes/annotator/uniformer/mmseg/models/utils/inverted_residual.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/utils/inverted_residual.py rename to custom_nodes/annotator/uniformer/mmseg/models/utils/inverted_residual.py diff --git a/comfy/annotator/uniformer/mmseg/models/utils/make_divisible.py b/custom_nodes/annotator/uniformer/mmseg/models/utils/make_divisible.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/utils/make_divisible.py rename to custom_nodes/annotator/uniformer/mmseg/models/utils/make_divisible.py diff --git a/comfy/annotator/uniformer/mmseg/models/utils/res_layer.py b/custom_nodes/annotator/uniformer/mmseg/models/utils/res_layer.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/utils/res_layer.py rename to custom_nodes/annotator/uniformer/mmseg/models/utils/res_layer.py diff --git a/comfy/annotator/uniformer/mmseg/models/utils/se_layer.py b/custom_nodes/annotator/uniformer/mmseg/models/utils/se_layer.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/utils/se_layer.py rename to custom_nodes/annotator/uniformer/mmseg/models/utils/se_layer.py diff --git a/comfy/annotator/uniformer/mmseg/models/utils/self_attention_block.py b/custom_nodes/annotator/uniformer/mmseg/models/utils/self_attention_block.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/utils/self_attention_block.py rename to custom_nodes/annotator/uniformer/mmseg/models/utils/self_attention_block.py diff --git a/comfy/annotator/uniformer/mmseg/models/utils/up_conv_block.py b/custom_nodes/annotator/uniformer/mmseg/models/utils/up_conv_block.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/utils/up_conv_block.py rename to custom_nodes/annotator/uniformer/mmseg/models/utils/up_conv_block.py diff --git a/comfy/annotator/uniformer/mmseg/models/utils/weight_init.py b/custom_nodes/annotator/uniformer/mmseg/models/utils/weight_init.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/models/utils/weight_init.py rename to custom_nodes/annotator/uniformer/mmseg/models/utils/weight_init.py diff --git a/comfy/annotator/uniformer/mmseg/ops/__init__.py b/custom_nodes/annotator/uniformer/mmseg/ops/__init__.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/ops/__init__.py rename to custom_nodes/annotator/uniformer/mmseg/ops/__init__.py diff --git a/comfy/annotator/uniformer/mmseg/ops/encoding.py b/custom_nodes/annotator/uniformer/mmseg/ops/encoding.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/ops/encoding.py rename to custom_nodes/annotator/uniformer/mmseg/ops/encoding.py diff --git a/comfy/annotator/uniformer/mmseg/ops/wrappers.py b/custom_nodes/annotator/uniformer/mmseg/ops/wrappers.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/ops/wrappers.py rename to custom_nodes/annotator/uniformer/mmseg/ops/wrappers.py diff --git a/comfy/annotator/uniformer/mmseg/utils/__init__.py b/custom_nodes/annotator/uniformer/mmseg/utils/__init__.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/utils/__init__.py rename to custom_nodes/annotator/uniformer/mmseg/utils/__init__.py diff --git a/comfy/annotator/uniformer/mmseg/utils/collect_env.py b/custom_nodes/annotator/uniformer/mmseg/utils/collect_env.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/utils/collect_env.py rename to custom_nodes/annotator/uniformer/mmseg/utils/collect_env.py diff --git a/comfy/annotator/uniformer/mmseg/utils/logger.py b/custom_nodes/annotator/uniformer/mmseg/utils/logger.py similarity index 100% rename from comfy/annotator/uniformer/mmseg/utils/logger.py rename to custom_nodes/annotator/uniformer/mmseg/utils/logger.py diff --git a/comfy/annotator/util.py b/custom_nodes/annotator/util.py similarity index 100% rename from comfy/annotator/util.py rename to custom_nodes/annotator/util.py diff --git a/nodes.py b/nodes.py index b4e8c6f9f..bbf2c36fe 100644 --- a/nodes.py +++ b/nodes.py @@ -17,8 +17,6 @@ sys.path.insert(0, os.path.join(sys.path[0], "comfy")) import comfy.samplers import comfy.sd import comfy.utils -from comfy.annotator import canny, hed, midas, mlsd, openpose, uniformer -from comfy.annotator.util import HWC3 import model_management import importlib @@ -43,14 +41,6 @@ def recursive_search(directory): def filter_files_extensions(files, extensions): return sorted(list(filter(lambda a: os.path.splitext(a)[-1].lower() in extensions, files))) -def img_np_to_tensor(img_np): - return torch.from_numpy(img_np.astype(np.float32) / 255.0)[None,] -def img_tensor_to_np(img_tensor): - img_tensor = img_tensor.clone() - img_tensor = img_tensor * 255.0 - return img_tensor.squeeze(0).numpy().astype(np.uint8) - #Thanks ChatGPT - class CLIPTextEncode: @classmethod def INPUT_TYPES(s): @@ -242,110 +232,6 @@ class ControlNetLoader: controlnet = comfy.sd.load_controlnet(controlnet_path) return (controlnet,) -class CannyPreprocessor: - @classmethod - def INPUT_TYPES(s): - return {"required": { "image": ("IMAGE", ) , - "low_threshold": ("INT", {"default": 100, "min": 0, "max": 255, "step": 1}), - "high_threshold": ("INT", {"default": 100, "min": 0, "max": 255, "step": 1}), - "l2gradient": (["disable", "enable"], ) - }} - RETURN_TYPES = ("IMAGE",) - FUNCTION = "detect_edge" - - CATEGORY = "preprocessor" - - def detect_edge(self, image, low_threshold, high_threshold, l2gradient): - apply_canny = canny.CannyDetector() - image = apply_canny(img_tensor_to_np(image), low_threshold, high_threshold, l2gradient == "enable") - image = img_np_to_tensor(HWC3(image)) - return (image,) - -class HEDPreprocessor: - @classmethod - def INPUT_TYPES(s): - return {"required": { "image": ("IMAGE",) }} - RETURN_TYPES = ("IMAGE",) - FUNCTION = "detect_edge" - - CATEGORY = "preprocessor" - - def detect_edge(self, image): - apply_hed = hed.HEDdetector() - image = apply_hed(img_tensor_to_np(image)) - image = img_np_to_tensor(HWC3(image)) - return (image,) - -class MIDASPreprocessor: - @classmethod - def INPUT_TYPES(s): - return {"required": { "image": ("IMAGE", ) , - "a": ("FLOAT", {"default": np.pi * 2.0, "min": 0.0, "max": np.pi * 5.0, "step": 0.1}), - "bg_threshold": ("FLOAT", {"default": 0.1, "min": 0, "max": 1, "step": 0.1}) - }} - RETURN_TYPES = ("IMAGE",) - FUNCTION = "estimate_depth" - - CATEGORY = "preprocessor" - - def estimate_depth(self, image, a, bg_threshold): - model_midas = midas.MidasDetector() - image, _ = model_midas(img_tensor_to_np(image), a, bg_threshold) - image = img_np_to_tensor(HWC3(image)) - return (image,) - -class MLSDPreprocessor: - @classmethod - def INPUT_TYPES(s): - return {"required": { "image": ("IMAGE",) , - #Idk what should be the max value here since idk much about ML - "score_threshold": ("FLOAT", {"default": np.pi * 2.0, "min": 0.0, "max": np.pi * 2.0, "step": 0.1}), - "dist_threshold": ("FLOAT", {"default": 0.1, "min": 0, "max": 1, "step": 0.1}) - }} - RETURN_TYPES = ("IMAGE",) - FUNCTION = "detect_edge" - - CATEGORY = "preprocessor" - - def detect_edge(self, image, score_threshold, dist_threshold): - model_mlsd = mlsd.MLSDdetector() - image = model_mlsd(img_tensor_to_np(image), score_threshold, dist_threshold) - image = img_np_to_tensor(HWC3(image)) - return (image,) - -class OpenPosePreprocessor: - @classmethod - def INPUT_TYPES(s): - return {"required": { "image": ("IMAGE", ), - "detect_hand": (["disable", "enable"],) - }} - RETURN_TYPES = ("IMAGE",) - FUNCTION = "estimate_pose" - - CATEGORY = "preprocessor" - - def estimate_pose(self, image, detect_hand): - model_openpose = openpose.OpenposeDetector() - image, _ = model_openpose(img_tensor_to_np(image), detect_hand == "enable") - image = img_np_to_tensor(HWC3(image)) - return (image,) - -class UniformerPreprocessor: - @classmethod - def INPUT_TYPES(s): - return {"required": { "image": ("IMAGE", ) - }} - RETURN_TYPES = ("IMAGE",) - FUNCTION = "semantic_segmentate" - - CATEGORY = "preprocessor" - - def semantic_segmentate(self, image): - model_uniformer = uniformer.UniformerDetector() - image = model_uniformer(img_np_to_tensor(image)) - image = img_np_to_tensor(HWC3(image)) - return (image,) - class ControlNetApply: @classmethod def INPUT_TYPES(s): @@ -858,11 +744,6 @@ NODE_CLASS_MAPPINGS = { "LatentCrop": LatentCrop, "LoraLoader": LoraLoader, "CLIPLoader": CLIPLoader, - "CannyPreprocessor": CannyPreprocessor, - "HEDPreprocessor": HEDPreprocessor, - "MIDASPreprocessor": MIDASPreprocessor, - "MLSDPreprocessor": MLSDPreprocessor, - "OpenPosePreprocessor": OpenPosePreprocessor, "ControlNetApply": ControlNetApply, "ControlNetLoader": ControlNetLoader }