Files
aigc-home/docs/hel-892/batch177-controlnet-provenance/source-call-boundaries.json
T

5010 lines
117 KiB
JSON

[
{
"member": "__init__.py",
"sha256": "9a5786ef9569223acd235676c08297aff78b2de1e46ab69c96665222b8c2a4b4",
"bytes": 8822,
"crc32": 280110504,
"acquisition_time": "2026-11-01T22:32:39.614355+00:00",
"rechecked_at": "2026-11-01T22:40:21.285951+00:00",
"own_header_excerpt": "import sys, os\n\n# Disable NPU device initialization and problematic MMCV ops to prevent RuntimeError\n# Must be set BEFORE any MMCV imports happen anywhere in ComfyUI\nos.environ['NPU_DEVICE_COUNT'] = '0'\nos.environ['MMCV_WITH_OPS'] = '0'\nfrom .utils import here, define_preprocessor_inputs, INPUT\nfrom pathlib import Path\nimport traceback\nimport importlib\nfrom .log import log, blue_text, cyan_text, get_summary, get_label\nfrom .hint_image_enchance import NODE_CLASS_MAPPINGS as HIE_NODE_CLASS_MAPPINGS\nfrom .hint_image_enchance import NODE_DISPLAY_NAME_MAPPINGS as HIE_NODE_DISPLAY_NAME_MAPPINGS\n#Ref: https://github.com/comfyanonymous/ComfyUI/blob/76d53c4622fc06372975ed2a43ad345935b8a551/nodes.py#L17\nsys.path.insert(0, str(Path(here, \"src\").resolve()))",
"source_license": "release LICENSE.txt Apache-2.0; own notices retained",
"model_asset_license": "unknown; not inferred from software license",
"imports": [
{
"line": 1,
"statement": "import sys, os"
},
{
"line": 7,
"statement": "from .utils import here, define_preprocessor_inputs, INPUT"
},
{
"line": 8,
"statement": "from pathlib import Path"
},
{
"line": 9,
"statement": "import traceback"
},
{
"line": 10,
"statement": "import importlib"
},
{
"line": 11,
"statement": "from .log import log, blue_text, cyan_text, get_summary, get_label"
},
{
"line": 12,
"statement": "from .hint_image_enchance import NODE_CLASS_MAPPINGS as HIE_NODE_CLASS_MAPPINGS"
},
{
"line": 13,
"statement": "from .hint_image_enchance import NODE_DISPLAY_NAME_MAPPINGS as HIE_NODE_DISPLAY_NAME_MAPPINGS"
},
{
"line": 143,
"statement": "from PIL import Image, ImageDraw, ImageFont"
},
{
"line": 144,
"statement": "import numpy as np"
},
{
"line": 145,
"statement": "import torch"
},
{
"line": 163,
"statement": "from comfy_execution.graph_utils import GraphBuilder"
}
],
"calls": [
{
"line": 15,
"function": "sys.path.insert"
},
{
"line": 22,
"function": "os.getenv"
},
{
"line": 66,
"function": "load_nodes"
},
{
"line": 82,
"function": "preprocessor_options"
},
{
"line": 15,
"function": "str"
},
{
"line": 17,
"function": "sys.path.append"
},
{
"line": 31,
"function": "(here / 'node_wrappers').iterdir"
},
{
"line": 74,
"function": "list"
},
{
"line": 75,
"function": "auxs.insert"
},
{
"line": 15,
"function": "Path(here, 'src').resolve"
},
{
"line": 17,
"function": "str"
},
{
"line": 33,
"function": "module_name.startswith"
},
{
"line": 54,
"function": "len"
},
{
"line": 55,
"function": "'\\n\\n'.join"
},
{
"line": 56,
"function": "print"
},
{
"line": 57,
"function": "log.info"
},
{
"line": 74,
"function": "AUX_NODE_MAPPINGS.keys"
},
{
"line": 87,
"function": "define_preprocessor_inputs"
},
{
"line": 135,
"function": "dict"
},
{
"line": 147,
"function": "ImageFont.truetype"
},
{
"line": 148,
"function": "Image.fromarray"
},
{
"line": 149,
"function": "ImageDraw.Draw(img).text"
},
{
"line": 155,
"function": "define_preprocessor_inputs"
},
{
"line": 167,
"function": "GraphBuilder"
},
{
"line": 17,
"function": "Path(here, 'src', pkg_name).resolve"
},
{
"line": 35,
"function": "importlib.import_module"
},
{
"line": 38,
"function": "node_class_mappings.update"
},
{
"line": 39,
"function": "hasattr"
},
{
"line": 42,
"function": "log.debug"
},
{
"line": 78,
"function": "auxs.remove"
},
{
"line": 102,
"function": "aux_class.INPUT_TYPES"
},
{
"line": 108,
"function": "input_types.items"
},
{
"line": 130,
"function": "getattr(aux_class(), aux_class.FUNCTION)"
},
{
"line": 147,
"function": "str"
},
{
"line": 148,
"function": "image[0].cpu().numpy().__mul__(255.0).astype"
},
{
"line": 170,
"function": "graph.node"
},
{
"line": 171,
"function": "preprocc_node.out"
},
{
"line": 172,
"function": "graph.node"
},
{
"line": 173,
"function": "curr_outputs.append"
},
{
"line": 175,
"function": "len"
},
{
"line": 177,
"function": "range"
},
{
"line": 187,
"function": "graph.finalize"
},
{
"line": 15,
"function": "Path"
},
{
"line": 38,
"function": "getattr"
},
{
"line": 40,
"function": "node_display_name_mappings.update"
},
{
"line": 47,
"function": "traceback.format_exc"
},
{
"line": 48,
"function": "full_error_messages.append"
},
{
"line": 50,
"function": "shorted_errors.append"
},
{
"line": 88,
"function": "INPUT.COMBO"
},
{
"line": 89,
"function": "INPUT.RESOLUTION"
},
{
"line": 130,
"function": "getattr"
},
{
"line": 136,
"function": "dict"
},
{
"line": 147,
"function": "(here / 'NotoSans-Regular.ttf').resolve"
},
{
"line": 149,
"function": "ImageDraw.Draw"
},
{
"line": 150,
"function": "torch.from_numpy(np.array(img)).unsqueeze"
},
{
"line": 155,
"function": "INPUT.RESOLUTION"
},
{
"line": 165,
"function": "RuntimeError"
},
{
"line": 173,
"function": "add_text_node.out"
},
{
"line": 177,
"function": "len"
},
{
"line": 17,
"function": "Path"
},
{
"line": 40,
"function": "getattr"
},
{
"line": 49,
"function": "error_message.splitlines"
},
{
"line": 122,
"function": "type"
},
{
"line": 130,
"function": "aux_class"
},
{
"line": 148,
"function": "image[0].cpu().numpy().__mul__"
},
{
"line": 178,
"function": "len"
},
{
"line": 179,
"function": "graph.node"
},
{
"line": 180,
"function": "_outputs.append"
},
{
"line": 182,
"function": "_outputs.append"
},
{
"line": 117,
"function": "len"
},
{
"line": 136,
"function": "INPUT.IMAGE"
},
{
"line": 136,
"function": "INPUT.STRING"
},
{
"line": 150,
"function": "torch.from_numpy"
},
{
"line": 180,
"function": "image_batch.out"
},
{
"line": 59,
"function": "'\\n\\t'.join"
},
{
"line": 148,
"function": "image[0].cpu().numpy"
},
{
"line": 150,
"function": "np.array"
},
{
"line": 148,
"function": "image[0].cpu"
}
],
"boundary": "static text only; third-party torch/transformers/onnxruntime/cv2/skimage/model architectures and transitive modules not imported or executed; unobtained dependencies are not a certified runtime closure"
},
{
"member": "utils.py",
"sha256": "7d217c7ba934556ee0ffa2ff8cd7a705873381b274db179623c11b829f71a375",
"bytes": 9246,
"crc32": 4294385706,
"acquisition_time": "2026-11-01T22:32:40.286756+00:00",
"rechecked_at": "2026-11-01T22:40:21.287795+00:00",
"own_header_excerpt": "import torch\nimport numpy as np\nimport os\nimport cv2\nimport yaml\nfrom pathlib import Path\nfrom enum import Enum\nfrom .log import log\nimport subprocess\nimport threading\nimport comfy\nimport tempfile\n\nhere = Path(__file__).parent.resolve()\n",
"source_license": "release LICENSE.txt Apache-2.0; own notices retained",
"model_asset_license": "unknown; not inferred from software license",
"imports": [
{
"line": 1,
"statement": "import torch"
},
{
"line": 2,
"statement": "import numpy as np"
},
{
"line": 3,
"statement": "import os"
},
{
"line": 4,
"statement": "import cv2"
},
{
"line": 5,
"statement": "import yaml"
},
{
"line": 6,
"statement": "from pathlib import Path"
},
{
"line": 7,
"statement": "from enum import Enum"
},
{
"line": 8,
"statement": "from .log import log"
},
{
"line": 9,
"statement": "import subprocess"
},
{
"line": 10,
"statement": "import threading"
},
{
"line": 11,
"statement": "import comfy"
},
{
"line": 12,
"statement": "import tempfile"
}
],
"calls": [
{
"line": 14,
"function": "Path(__file__).parent.resolve"
},
{
"line": 16,
"function": "Path"
},
{
"line": 18,
"function": "os.path.exists"
},
{
"line": 51,
"function": "os.getenv"
},
{
"line": 52,
"function": "os.getenv"
},
{
"line": 53,
"function": "os.getenv"
},
{
"line": 54,
"function": "os.getenv"
},
{
"line": 56,
"function": "log.info"
},
{
"line": 57,
"function": "log.info"
},
{
"line": 58,
"function": "log.info"
},
{
"line": 19,
"function": "yaml.load"
},
{
"line": 21,
"function": "str"
},
{
"line": 46,
"function": "str"
},
{
"line": 47,
"function": "tempfile.gettempdir"
},
{
"line": 52,
"function": "str"
},
{
"line": 53,
"function": "str"
},
{
"line": 54,
"function": "str"
},
{
"line": 83,
"function": "enumerate"
},
{
"line": 95,
"function": "dict"
},
{
"line": 184,
"function": "log.debug"
},
{
"line": 185,
"function": "log.debug"
},
{
"line": 186,
"function": "log.debug"
},
{
"line": 187,
"function": "log.debug"
},
{
"line": 188,
"function": "log.debug"
},
{
"line": 189,
"function": "log.debug"
},
{
"line": 190,
"function": "log.debug"
},
{
"line": 192,
"function": "int"
},
{
"line": 200,
"function": "y.copy"
},
{
"line": 201,
"function": "np.ascontiguousarray"
},
{
"line": 202,
"function": "y.copy"
},
{
"line": 207,
"function": "np.asanyarray"
},
{
"line": 208,
"function": "np.lexsort"
},
{
"line": 210,
"function": "np.empty"
},
{
"line": 212,
"function": "np.any"
},
{
"line": 222,
"function": "subprocess.Popen"
},
{
"line": 224,
"function": "threading.Thread"
},
{
"line": 225,
"function": "threading.Thread"
},
{
"line": 227,
"function": "stdout_thread.start"
},
{
"line": 228,
"function": "stderr_thread.start"
},
{
"line": 230,
"function": "stdout_thread.join"
},
{
"line": 231,
"function": "stderr_thread.join"
},
{
"line": 233,
"function": "process.wait"
},
{
"line": 236,
"function": "cv2.GaussianBlur"
},
{
"line": 238,
"function": "np.array"
},
{
"line": 239,
"function": "np.array"
},
{
"line": 240,
"function": "np.array"
},
{
"line": 241,
"function": "np.array"
},
{
"line": 243,
"function": "np.zeros_like"
},
{
"line": 248,
"function": "np.zeros_like"
},
{
"line": 19,
"function": "open"
},
{
"line": 21,
"function": "Path"
},
{
"line": 27,
"function": "log.error"
},
{
"line": 31,
"function": "tempfile.gettempdir"
},
{
"line": 39,
"function": "os.path.isdir"
},
{
"line": 46,
"function": "Path"
},
{
"line": 54,
"function": "','.join"
},
{
"line": 75,
"function": "np.asarray"
},
{
"line": 76,
"function": "model"
},
{
"line": 77,
"function": "torch.from_numpy"
},
{
"line": 81,
"function": "comfy.utils.ProgressBar"
},
{
"line": 84,
"function": "np.asarray"
},
{
"line": 85,
"function": "model"
},
{
"line": 86,
"function": "torch.from_numpy"
},
{
"line": 176,
"function": "float"
},
{
"line": 176,
"function": "float"
},
{
"line": 177,
"function": "float"
},
{
"line": 177,
"function": "float"
},
{
"line": 192,
"function": "np.round"
},
{
"line": 210,
"function": "len"
},
{
"line": 218,
"function": "print"
},
{
"line": 236,
"function": "x.astype"
},
{
"line": 246,
"function": "np.putmask"
},
{
"line": 14,
"function": "Path"
},
{
"line": 26,
"function": "type"
},
{
"line": 32,
"function": "os.path.isdir"
},
{
"line": 41,
"function": "os.makedirs"
},
{
"line": 88,
"function": "torch.zeros"
},
{
"line": 91,
"function": "pbar.update"
},
{
"line": 96,
"function": "dict"
},
{
"line": 108,
"function": "dict"
},
{
"line": 110,
"function": "dict"
},
{
"line": 112,
"function": "dict"
},
{
"line": 114,
"function": "dict"
},
{
"line": 116,
"function": "dict"
},
{
"line": 118,
"function": "dict"
},
{
"line": 120,
"function": "dict"
},
{
"line": 180,
"function": "min"
},
{
"line": 180,
"function": "float"
},
{
"line": 182,
"function": "max"
},
{
"line": 182,
"function": "float"
},
{
"line": 34,
"function": "os.makedirs"
},
{
"line": 43,
"function": "log.error"
},
{
"line": 44,
"function": "str"
},
{
"line": 77,
"function": "np_results.astype"
},
{
"line": 84,
"function": "image.cpu"
},
{
"line": 86,
"function": "np_result.astype"
},
{
"line": 180,
"function": "min"
},
{
"line": 182,
"function": "min"
},
{
"line": 246,
"function": "cv2.dilate"
},
{
"line": 36,
"function": "log.error"
},
{
"line": 37,
"function": "tempfile.gettempdir"
},
{
"line": 44,
"function": "Path"
},
{
"line": 69,
"function": "type"
},
{
"line": 96,
"function": "INPUT.IMAGE"
}
],
"boundary": "static text only; third-party torch/transformers/onnxruntime/cv2/skimage/model architectures and transitive modules not imported or executed; unobtained dependencies are not a certified runtime closure"
},
{
"member": "pyproject.toml",
"sha256": "e8ec5486ae4d2fd82192e56efbbcecaa80e27f217ba06c216b10fac6ef147894",
"bytes": 655,
"crc32": 3230989245,
"acquisition_time": "2026-11-01T22:32:41.048317+00:00",
"rechecked_at": "2026-11-01T22:40:21.290028+00:00",
"own_header_excerpt": "[project]\nname = \"comfyui_controlnet_aux\"\ndescription = \"Plug-and-play ComfyUI node sets for making ControlNet hint images\"\n\nversion = \"1.1.5\"\ndependencies = [\"torch\", \"importlib_metadata\", \"huggingface_hub\", \"scipy\", \"opencv-python>=4.7.0.72\", \"filelock\", \"numpy\", \"Pillow\", \"einops\", \"torchvision\", \"pyyaml\", \"scikit-image\", \"python-dateutil\", \"mediapipe\", \"fvcore\", \"yapf\", \"omegaconf\", \"ftfy\", \"addict\", \"yacs\", \"trimesh[easy]\", \"albumentations\", \"scikit-learn\", \"matplotlib\"]\n\n[project.urls]\nRepository = \"https://github.com/Fannovel16/comfyui_controlnet_aux\"\n\n[tool.comfy]\nPublisherId = \"fannovel16\"\nDisplayName = \"comfyui_controlnet_aux\"\nIcon = \"\"",
"source_license": "release LICENSE.txt Apache-2.0; own notices retained",
"model_asset_license": "unknown; not inferred from software license",
"boundary": "static text only; third-party torch/transformers/onnxruntime/cv2/skimage/model architectures and transitive modules not imported or executed; unobtained dependencies are not a certified runtime closure"
},
{
"member": "requirements.txt",
"sha256": "3ed811fd0028017752d455366feee1a22f055885a1cac5ffce837d6dea2a26a3",
"bytes": 268,
"crc32": 1516137891,
"acquisition_time": "2026-11-01T22:32:41.808423+00:00",
"rechecked_at": "2026-11-01T22:40:21.290051+00:00",
"own_header_excerpt": "torch\nimportlib_metadata\nhuggingface_hub\nscipy\nopencv-python\nfilelock\nnumpy\nPillow\neinops\ntorchvision\npyyaml\nscikit-image\npython-dateutil\nmediapipe>=0.8.0\nfvcore",
"source_license": "release LICENSE.txt Apache-2.0; own notices retained",
"model_asset_license": "unknown; not inferred from software license",
"boundary": "static text only; third-party torch/transformers/onnxruntime/cv2/skimage/model architectures and transitive modules not imported or executed; unobtained dependencies are not a certified runtime closure"
},
{
"member": "LICENSE.txt",
"sha256": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4",
"bytes": 11357,
"crc32": 2069693628,
"acquisition_time": "2026-11-01T22:32:42.466815+00:00",
"rechecked_at": "2026-11-01T22:40:21.290067+00:00",
"own_header_excerpt": " Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all",
"source_license": "release LICENSE.txt Apache-2.0; own notices retained",
"model_asset_license": "unknown; not inferred from software license",
"boundary": "static text only; third-party torch/transformers/onnxruntime/cv2/skimage/model architectures and transitive modules not imported or executed; unobtained dependencies are not a certified runtime closure"
},
{
"member": "node_wrappers/depth_anything.py",
"sha256": "f769ac091bd2725065f4d8cddc6fba9ae636d659d16c3d2a79b9c202b099ec17",
"bytes": 2160,
"crc32": 481530161,
"acquisition_time": "2026-11-01T22:32:43.204603+00:00",
"rechecked_at": "2026-11-01T22:40:21.290089+00:00",
"own_header_excerpt": "from ..utils import common_annotator_call, define_preprocessor_inputs, INPUT\nimport comfy.model_management as model_management\n\nclass Depth_Anything_Preprocessor:\n @classmethod\n def INPUT_TYPES(s):\n return define_preprocessor_inputs(\n ckpt_name=INPUT.COMBO(\n [\"depth_anything_vitl14.pth\", \"depth_anything_vitb14.pth\", \"depth_anything_vits14.pth\"]\n ),\n resolution=INPUT.RESOLUTION()\n )\n\n RETURN_TYPES = (\"IMAGE\",)\n FUNCTION = \"execute\"",
"source_license": "release LICENSE.txt Apache-2.0; own notices retained",
"model_asset_license": "unknown; not inferred from software license",
"imports": [
{
"line": 1,
"statement": "from ..utils import common_annotator_call, define_preprocessor_inputs, INPUT"
},
{
"line": 2,
"statement": "import comfy.model_management as model_management"
},
{
"line": 20,
"statement": "from custom_controlnet_aux.depth_anything import DepthAnythingDetector"
},
{
"line": 41,
"statement": "from custom_controlnet_aux.zoe import ZoeDepthAnythingDetector"
}
],
"calls": [
{
"line": 7,
"function": "define_preprocessor_inputs"
},
{
"line": 22,
"function": "DepthAnythingDetector.from_pretrained(filename=ckpt_name).to"
},
{
"line": 23,
"function": "common_annotator_call"
},
{
"line": 30,
"function": "define_preprocessor_inputs"
},
{
"line": 43,
"function": "ZoeDepthAnythingDetector.from_pretrained(filename=ckpt_name).to"
},
{
"line": 44,
"function": "common_annotator_call"
},
{
"line": 22,
"function": "model_management.get_torch_device"
},
{
"line": 43,
"function": "model_management.get_torch_device"
},
{
"line": 8,
"function": "INPUT.COMBO"
},
{
"line": 11,
"function": "INPUT.RESOLUTION"
},
{
"line": 22,
"function": "DepthAnythingDetector.from_pretrained"
},
{
"line": 31,
"function": "INPUT.COMBO"
},
{
"line": 32,
"function": "INPUT.RESOLUTION"
},
{
"line": 43,
"function": "ZoeDepthAnythingDetector.from_pretrained"
}
],
"boundary": "static text only; third-party torch/transformers/onnxruntime/cv2/skimage/model architectures and transitive modules not imported or executed; unobtained dependencies are not a certified runtime closure"
},
{
"member": "node_wrappers/canny.py",
"sha256": "978dc783428aece63d04bfefb167790ffd6a7020ca4cc613da3b5287614d1fcc",
"bytes": 992,
"crc32": 1129006603,
"acquisition_time": "2026-11-01T22:32:43.949131+00:00",
"rechecked_at": "2026-11-01T22:40:21.290539+00:00",
"own_header_excerpt": "from ..utils import common_annotator_call, INPUT, define_preprocessor_inputs\nimport comfy.model_management as model_management\n\nclass Canny_Edge_Preprocessor:\n @classmethod\n def INPUT_TYPES(s):\n return define_preprocessor_inputs(\n low_threshold=INPUT.INT(default=100, max=255),\n high_threshold=INPUT.INT(default=200, max=255),\n resolution=INPUT.RESOLUTION()\n )\n\n RETURN_TYPES = (\"IMAGE\",)\n FUNCTION = \"execute\"\n",
"source_license": "release LICENSE.txt Apache-2.0; own notices retained",
"model_asset_license": "unknown; not inferred from software license",
"imports": [
{
"line": 1,
"statement": "from ..utils import common_annotator_call, INPUT, define_preprocessor_inputs"
},
{
"line": 2,
"statement": "import comfy.model_management as model_management"
},
{
"line": 19,
"statement": "from custom_controlnet_aux.canny import CannyDetector"
}
],
"calls": [
{
"line": 7,
"function": "define_preprocessor_inputs"
},
{
"line": 21,
"function": "common_annotator_call"
},
{
"line": 8,
"function": "INPUT.INT"
},
{
"line": 9,
"function": "INPUT.INT"
},
{
"line": 10,
"function": "INPUT.RESOLUTION"
},
{
"line": 21,
"function": "CannyDetector"
}
],
"boundary": "static text only; third-party torch/transformers/onnxruntime/cv2/skimage/model architectures and transitive modules not imported or executed; unobtained dependencies are not a certified runtime closure"
},
{
"member": "node_wrappers/anyline.py",
"sha256": "552f22763ef0d3494d2a2e76f1d17e5798c7ebd0363feb80eb62918609e1a660",
"bytes": 4123,
"crc32": 3608155197,
"acquisition_time": "2026-11-01T22:32:44.699007+00:00",
"rechecked_at": "2026-11-01T22:40:21.290757+00:00",
"own_header_excerpt": "import torch\nimport numpy as np\nimport comfy.model_management as model_management\nimport comfy.utils\n\n# Requires comfyui_controlnet_aux funcsions and classes\nfrom ..utils import common_annotator_call, INPUT, define_preprocessor_inputs\n\ndef get_intensity_mask(image_array, lower_bound, upper_bound):\n mask = image_array[:, :, 0]\n mask = np.where((mask >= lower_bound) & (mask <= upper_bound), mask, 0)\n mask = np.expand_dims(mask, 2).repeat(3, axis=2)\n return mask\n\ndef combine_layers(base_layer, top_layer):",
"source_license": "release LICENSE.txt Apache-2.0; own notices retained",
"model_asset_license": "unknown; not inferred from software license",
"imports": [
{
"line": 1,
"statement": "import torch"
},
{
"line": 2,
"statement": "import numpy as np"
},
{
"line": 3,
"statement": "import comfy.model_management as model_management"
},
{
"line": 4,
"statement": "import comfy.utils"
},
{
"line": 7,
"statement": "from ..utils import common_annotator_call, INPUT, define_preprocessor_inputs"
},
{
"line": 43,
"statement": "from custom_controlnet_aux.teed import TEDDetector"
},
{
"line": 44,
"statement": "from skimage import morphology"
},
{
"line": 56,
"statement": "from custom_controlnet_aux.lineart_standard import LineartStandardDetector"
},
{
"line": 61,
"statement": "from custom_controlnet_aux.lineart import LineartDetector"
},
{
"line": 62,
"statement": "from custom_controlnet_aux.lineart_anime import LineartAnimeDetector"
},
{
"line": 63,
"statement": "from custom_controlnet_aux.manga_line import LineartMangaDetector"
}
],
"calls": [
{
"line": 11,
"function": "np.where"
},
{
"line": 12,
"function": "np.expand_dims(mask, 2).repeat"
},
{
"line": 16,
"function": "top_layer.astype"
},
{
"line": 24,
"function": "define_preprocessor_inputs"
},
{
"line": 40,
"function": "model_management.get_torch_device"
},
{
"line": 45,
"function": "comfy.utils.ProgressBar"
},
{
"line": 48,
"function": "TEDDetector.from_pretrained('TheMistoAI/MistoLine', 'MTEED.pth', subfolder='Anyline').to"
},
{
"line": 49,
"function": "common_annotator_call"
},
{
"line": 50,
"function": "mteed_result.numpy"
},
{
"line": 52,
"function": "pbar.update"
},
{
"line": 68,
"function": "pbar.update"
},
{
"line": 71,
"function": "range"
},
{
"line": 79,
"function": "pbar.update"
},
{
"line": 12,
"function": "np.expand_dims"
},
{
"line": 57,
"function": "LineartStandardDetector"
},
{
"line": 58,
"function": "common_annotator_call(lineart_standard_detector, image, guassian_sigma=2, intensity_threshold=3, resolution=resolution, show_pbar=False).numpy"
},
{
"line": 65,
"function": "lineart_detector.from_pretrained().to"
},
{
"line": 66,
"function": "common_annotator_call(lineart_detector, image, resolution=resolution, show_pbar=False).numpy"
},
{
"line": 71,
"function": "len"
},
{
"line": 72,
"function": "get_intensity_mask"
},
{
"line": 73,
"function": "morphology.remove_small_objects"
},
{
"line": 78,
"function": "final_result.append"
},
{
"line": 80,
"function": "torch.stack"
},
{
"line": 25,
"function": "INPUT.COMBO"
},
{
"line": 26,
"function": "INPUT.RESOLUTION"
},
{
"line": 27,
"function": "INPUT.FLOAT"
},
{
"line": 28,
"function": "INPUT.FLOAT"
},
{
"line": 29,
"function": "INPUT.INT"
},
{
"line": 30,
"function": "INPUT.INT"
},
{
"line": 48,
"function": "TEDDetector.from_pretrained"
},
{
"line": 64,
"function": "dict"
},
{
"line": 73,
"function": "_lineart_result.astype"
},
{
"line": 78,
"function": "torch.from_numpy"
},
{
"line": 58,
"function": "common_annotator_call"
},
{
"line": 65,
"function": "lineart_detector.from_pretrained"
},
{
"line": 66,
"function": "common_annotator_call"
},
{
"line": 78,
"function": "combine_layers"
}
],
"boundary": "static text only; third-party torch/transformers/onnxruntime/cv2/skimage/model architectures and transitive modules not imported or executed; unobtained dependencies are not a certified runtime closure"
},
{
"member": "node_wrappers/lineart.py",
"sha256": "24efe04f9ee3a9b932adddf52f60a659b6d3c95991fec5f9182b7fde955e7ffa",
"bytes": 985,
"crc32": 2261764289,
"acquisition_time": "2026-11-01T22:32:45.457561+00:00",
"rechecked_at": "2026-11-01T22:40:21.291584+00:00",
"own_header_excerpt": "from ..utils import common_annotator_call, define_preprocessor_inputs, INPUT\nimport comfy.model_management as model_management\n\nclass LineArt_Preprocessor:\n @classmethod\n def INPUT_TYPES(s):\n return define_preprocessor_inputs(\n coarse=INPUT.COMBO(([\"disable\", \"enable\"])),\n resolution=INPUT.RESOLUTION()\n )\n\n RETURN_TYPES = (\"IMAGE\",)\n FUNCTION = \"execute\"\n\n CATEGORY = \"ControlNet Preprocessors/Line Extractors\"",
"source_license": "release LICENSE.txt Apache-2.0; own notices retained",
"model_asset_license": "unknown; not inferred from software license",
"imports": [
{
"line": 1,
"statement": "from ..utils import common_annotator_call, define_preprocessor_inputs, INPUT"
},
{
"line": 2,
"statement": "import comfy.model_management as model_management"
},
{
"line": 18,
"statement": "from custom_controlnet_aux.lineart import LineartDetector"
}
],
"calls": [
{
"line": 7,
"function": "define_preprocessor_inputs"
},
{
"line": 20,
"function": "LineartDetector.from_pretrained().to"
},
{
"line": 21,
"function": "common_annotator_call"
},
{
"line": 20,
"function": "model_management.get_torch_device"
},
{
"line": 8,
"function": "INPUT.COMBO"
},
{
"line": 9,
"function": "INPUT.RESOLUTION"
},
{
"line": 20,
"function": "LineartDetector.from_pretrained"
}
],
"boundary": "static text only; third-party torch/transformers/onnxruntime/cv2/skimage/model architectures and transitive modules not imported or executed; unobtained dependencies are not a certified runtime closure"
},
{
"member": "node_wrappers/lineart_anime.py",
"sha256": "f85b6515705bfeb5a49215a1e345e7b522af90d87a9bd20e1313330fd7ceae7f",
"bytes": 899,
"crc32": 671653680,
"acquisition_time": "2026-11-01T22:32:46.226938+00:00",
"rechecked_at": "2026-11-01T22:40:21.291800+00:00",
"own_header_excerpt": "from ..utils import common_annotator_call, define_preprocessor_inputs, INPUT\nimport comfy.model_management as model_management\n\nclass AnimeLineArt_Preprocessor:\n @classmethod\n def INPUT_TYPES(s):\n return define_preprocessor_inputs(resolution=INPUT.RESOLUTION())\n\n RETURN_TYPES = (\"IMAGE\",)\n FUNCTION = \"execute\"\n\n CATEGORY = \"ControlNet Preprocessors/Line Extractors\"\n\n def execute(self, image, resolution=512, **kwargs):\n from custom_controlnet_aux.lineart_anime import LineartAnimeDetector",
"source_license": "release LICENSE.txt Apache-2.0; own notices retained",
"model_asset_license": "unknown; not inferred from software license",
"imports": [
{
"line": 1,
"statement": "from ..utils import common_annotator_call, define_preprocessor_inputs, INPUT"
},
{
"line": 2,
"statement": "import comfy.model_management as model_management"
},
{
"line": 15,
"statement": "from custom_controlnet_aux.lineart_anime import LineartAnimeDetector"
}
],
"calls": [
{
"line": 7,
"function": "define_preprocessor_inputs"
},
{
"line": 17,
"function": "LineartAnimeDetector.from_pretrained().to"
},
{
"line": 18,
"function": "common_annotator_call"
},
{
"line": 17,
"function": "model_management.get_torch_device"
},
{
"line": 7,
"function": "INPUT.RESOLUTION"
},
{
"line": 17,
"function": "LineartAnimeDetector.from_pretrained"
}
],
"boundary": "static text only; third-party torch/transformers/onnxruntime/cv2/skimage/model architectures and transitive modules not imported or executed; unobtained dependencies are not a certified runtime closure"
},
{
"member": "node_wrappers/lineart_standard.py",
"sha256": "cf8773ecccb4cf18c1caf4d9da755972161e52d96a2a79005a8bf5f0796a7020",
"bytes": 1071,
"crc32": 2798083131,
"acquisition_time": "2026-11-01T22:32:47.024551+00:00",
"rechecked_at": "2026-11-01T22:40:21.291967+00:00",
"own_header_excerpt": "from ..utils import common_annotator_call, define_preprocessor_inputs, INPUT\nimport comfy.model_management as model_management\n\nclass Lineart_Standard_Preprocessor:\n @classmethod\n def INPUT_TYPES(s):\n return define_preprocessor_inputs(\n guassian_sigma=INPUT.FLOAT(default=6.0, max=100.0),\n intensity_threshold=INPUT.INT(default=8, max=16),\n resolution=INPUT.RESOLUTION()\n )\n\n RETURN_TYPES = (\"IMAGE\",)\n FUNCTION = \"execute\"\n",
"source_license": "release LICENSE.txt Apache-2.0; own notices retained",
"model_asset_license": "unknown; not inferred from software license",
"imports": [
{
"line": 1,
"statement": "from ..utils import common_annotator_call, define_preprocessor_inputs, INPUT"
},
{
"line": 2,
"statement": "import comfy.model_management as model_management"
},
{
"line": 19,
"statement": "from custom_controlnet_aux.lineart_standard import LineartStandardDetector"
}
],
"calls": [
{
"line": 7,
"function": "define_preprocessor_inputs"
},
{
"line": 20,
"function": "common_annotator_call"
},
{
"line": 8,
"function": "INPUT.FLOAT"
},
{
"line": 9,
"function": "INPUT.INT"
},
{
"line": 10,
"function": "INPUT.RESOLUTION"
},
{
"line": 20,
"function": "LineartStandardDetector"
}
],
"boundary": "static text only; third-party torch/transformers/onnxruntime/cv2/skimage/model architectures and transitive modules not imported or executed; unobtained dependencies are not a certified runtime closure"
},
{
"member": "node_wrappers/dwpose.py",
"sha256": "3b08fb623ea3898cedf864e96cfd7993265101100a3dd9666a6c66b03c15e481",
"bytes": 7101,
"crc32": 2055699912,
"acquisition_time": "2026-11-01T22:32:47.809630+00:00",
"rechecked_at": "2026-11-01T22:40:21.292139+00:00",
"own_header_excerpt": "from ..utils import common_annotator_call, define_preprocessor_inputs, INPUT\nimport comfy.model_management as model_management\nimport numpy as np\nimport warnings\nfrom ..src.custom_controlnet_aux.dwpose import DwposeDetector, AnimalposeDetector\nimport os\nimport json\n\nDWPOSE_MODEL_NAME = \"yzd-v/DWPose\"\n#Trigger startup caching for onnxruntime\nGPU_PROVIDERS = [\"CUDAExecutionProvider\", \"DirectMLExecutionProvider\", \"OpenVINOExecutionProvider\", \"ROCMExecutionProvider\", \"CoreMLExecutionProvider\"]\ndef check_ort_gpu():\n try:\n import onnxruntime as ort\n for provider in GPU_PROVIDERS:",
"source_license": "release LICENSE.txt Apache-2.0; own notices retained",
"model_asset_license": "unknown; not inferred from software license",
"imports": [
{
"line": 1,
"statement": "from ..utils import common_annotator_call, define_preprocessor_inputs, INPUT"
},
{
"line": 2,
"statement": "import comfy.model_management as model_management"
},
{
"line": 3,
"statement": "import numpy as np"
},
{
"line": 4,
"statement": "import warnings"
},
{
"line": 5,
"statement": "from ..src.custom_controlnet_aux.dwpose import DwposeDetector, AnimalposeDetector"
},
{
"line": 6,
"statement": "import os"
},
{
"line": 7,
"statement": "import json"
},
{
"line": 14,
"statement": "import onnxruntime as ort"
}
],
"calls": [
{
"line": 22,
"function": "os.environ.get"
},
{
"line": 23,
"function": "check_ort_gpu"
},
{
"line": 24,
"function": "print"
},
{
"line": 26,
"function": "warnings.warn"
},
{
"line": 33,
"function": "define_preprocessor_inputs"
},
{
"line": 75,
"function": "DwposeDetector.from_pretrained"
},
{
"line": 91,
"function": "common_annotator_call"
},
{
"line": 101,
"function": "define_preprocessor_inputs"
},
{
"line": 139,
"function": "AnimalposeDetector.from_pretrained"
},
{
"line": 152,
"function": "common_annotator_call"
},
{
"line": 68,
"function": "pose_estimator.endswith"
},
{
"line": 87,
"function": "model"
},
{
"line": 88,
"function": "self.openpose_dicts.append"
},
{
"line": 132,
"function": "pose_estimator.endswith"
},
{
"line": 148,
"function": "model"
},
{
"line": 149,
"function": "self.openpose_dicts.append"
},
{
"line": 16,
"function": "ort.get_available_providers"
},
{
"line": 34,
"function": "INPUT.COMBO"
},
{
"line": 35,
"function": "INPUT.COMBO"
},
{
"line": 36,
"function": "INPUT.COMBO"
},
{
"line": 37,
"function": "INPUT.RESOLUTION"
},
{
"line": 38,
"function": "INPUT.COMBO"
},
{
"line": 42,
"function": "INPUT.COMBO"
},
{
"line": 46,
"function": "INPUT.COMBO"
},
{
"line": 70,
"function": "pose_estimator.endswith"
},
{
"line": 79,
"function": "model_management.get_torch_device"
},
{
"line": 102,
"function": "INPUT.COMBO"
},
{
"line": 106,
"function": "INPUT.COMBO"
},
{
"line": 110,
"function": "INPUT.RESOLUTION"
},
{
"line": 134,
"function": "pose_estimator.endswith"
},
{
"line": 143,
"function": "model_management.get_torch_device"
},
{
"line": 73,
"function": "NotImplementedError"
},
{
"line": 94,
"function": "json.dumps"
},
{
"line": 137,
"function": "NotImplementedError"
},
{
"line": 155,
"function": "json.dumps"
},
{
"line": 64,
"function": "NotImplementedError"
},
{
"line": 128,
"function": "NotImplementedError"
}
],
"boundary": "static text only; third-party torch/transformers/onnxruntime/cv2/skimage/model architectures and transitive modules not imported or executed; unobtained dependencies are not a certified runtime closure"
},
{
"member": "src/custom_controlnet_aux/depth_anything/transformers.py",
"sha256": "7f9f571ab6a410fb43c14dc70a292d8987f8e1a2ac389b19ecc1b4e852966c22",
"bytes": 3452,
"crc32": 1352706547,
"acquisition_time": "2026-11-01T22:32:48.521218+00:00",
"rechecked_at": "2026-11-01T22:40:21.293198+00:00",
"own_header_excerpt": "\"\"\"\nModern DepthAnything implementation using HuggingFace transformers.\nReplaces legacy torch.hub.load DINOv2 backbone with transformers pipeline.\n\"\"\"\n\nimport numpy as np\nimport torch\nfrom PIL import Image\nfrom transformers import pipeline\n\nfrom custom_controlnet_aux.util import HWC3, common_input_validate, resize_image_with_pad\n\nclass DepthAnythingDetector:\n \"\"\"DepthAnything depth estimation using HuggingFace transformers.\"\"\"\n ",
"source_license": "release LICENSE.txt Apache-2.0; own notices retained",
"model_asset_license": "unknown; not inferred from software license",
"imports": [
{
"line": 6,
"statement": "import numpy as np"
},
{
"line": 7,
"statement": "import torch"
},
{
"line": 8,
"statement": "from PIL import Image"
},
{
"line": 9,
"statement": "from transformers import pipeline"
},
{
"line": 11,
"statement": "from custom_controlnet_aux.util import HWC3, common_input_validate, resize_image_with_pad"
},
{
"line": 18,
"statement": "from transformers import AutoImageProcessor, AutoModelForDepthEstimation"
}
],
"calls": [
{
"line": 38,
"function": "model_mapping.get"
},
{
"line": 39,
"function": "cls"
},
{
"line": 43,
"function": "self.pipe.model.to"
},
{
"line": 49,
"function": "common_input_validate"
},
{
"line": 50,
"function": "resize_image_with_pad"
},
{
"line": 52,
"function": "isinstance"
},
{
"line": 76,
"function": "remove_pad"
},
{
"line": 20,
"function": "AutoImageProcessor.from_pretrained"
},
{
"line": 21,
"function": "AutoModelForDepthEstimation.from_pretrained"
},
{
"line": 22,
"function": "pipeline"
},
{
"line": 53,
"function": "Image.fromarray"
},
{
"line": 57,
"function": "torch.no_grad"
},
{
"line": 58,
"function": "self.pipe"
},
{
"line": 61,
"function": "isinstance"
},
{
"line": 67,
"function": "depth_array.min"
},
{
"line": 68,
"function": "depth_array.max"
},
{
"line": 74,
"function": "depth_array.astype"
},
{
"line": 76,
"function": "HWC3"
},
{
"line": 79,
"function": "Image.fromarray"
},
{
"line": 24,
"function": "pipeline"
},
{
"line": 62,
"function": "np.array"
},
{
"line": 64,
"function": "np.array"
},
{
"line": 72,
"function": "np.zeros_like"
}
],
"boundary": "static text only; third-party torch/transformers/onnxruntime/cv2/skimage/model architectures and transitive modules not imported or executed; unobtained dependencies are not a certified runtime closure"
},
{
"member": "src/custom_controlnet_aux/depth_anything/__init__.py",
"sha256": "7bfb7a8efe99bfb5c767fbec3aed311b2ecf87ff8b815fd2080526267a1f025c",
"bytes": 47,
"crc32": 1161572408,
"acquisition_time": "2026-11-01T22:32:49.257779+00:00",
"rechecked_at": "2026-11-01T22:40:21.293818+00:00",
"own_header_excerpt": "from .transformers import DepthAnythingDetector",
"source_license": "release LICENSE.txt Apache-2.0; own notices retained",
"model_asset_license": "unknown; not inferred from software license",
"imports": [
{
"line": 1,
"statement": "from .transformers import DepthAnythingDetector"
}
],
"calls": [],
"boundary": "static text only; third-party torch/transformers/onnxruntime/cv2/skimage/model architectures and transitive modules not imported or executed; unobtained dependencies are not a certified runtime closure"
},
{
"member": "src/custom_controlnet_aux/util.py",
"sha256": "956ff6eb649148c98e68591824e9d029be527ea8f52eb1841b1b1c9f18f37b34",
"bytes": 14489,
"crc32": 2824962041,
"acquisition_time": "2026-11-01T22:32:51.278269+00:00",
"rechecked_at": "2026-11-01T22:40:21.293865+00:00",
"own_header_excerpt": "import os\nimport random\nimport tempfile\nimport warnings\nfrom contextlib import suppress\nfrom pathlib import Path\n\nimport cv2\nimport numpy as np\nimport torch\nfrom huggingface_hub import constants, hf_hub_download\nfrom torch.utils.model_zoo import load_url\nfrom ast import literal_eval\n\n",
"source_license": "release LICENSE.txt Apache-2.0; own notices retained",
"model_asset_license": "unknown; not inferred from software license",
"imports": [
{
"line": 1,
"statement": "import os"
},
{
"line": 2,
"statement": "import random"
},
{
"line": 3,
"statement": "import tempfile"
},
{
"line": 4,
"statement": "import warnings"
},
{
"line": 5,
"statement": "from contextlib import suppress"
},
{
"line": 6,
"statement": "from pathlib import Path"
},
{
"line": 8,
"statement": "import cv2"
},
{
"line": 9,
"statement": "import numpy as np"
},
{
"line": 10,
"statement": "import torch"
},
{
"line": 11,
"statement": "from huggingface_hub import constants, hf_hub_download"
},
{
"line": 12,
"statement": "from torch.utils.model_zoo import load_url"
},
{
"line": 13,
"statement": "from ast import literal_eval"
},
{
"line": 250,
"statement": "import hashlib"
},
{
"line": 303,
"statement": "import platform"
},
{
"line": 343,
"statement": "import shutil"
}
],
"calls": [
{
"line": 36,
"function": "tempfile.gettempdir"
},
{
"line": 37,
"function": "os.path.join"
},
{
"line": 61,
"function": "Path(__file__).parent.resolve"
},
{
"line": 47,
"function": "literal_eval"
},
{
"line": 87,
"function": "cv2.resize"
},
{
"line": 89,
"function": "np.min"
},
{
"line": 90,
"function": "np.max"
},
{
"line": 97,
"function": "cv2.GaussianBlur"
},
{
"line": 99,
"function": "np.array"
},
{
"line": 100,
"function": "np.array"
},
{
"line": 101,
"function": "np.array"
},
{
"line": 102,
"function": "np.array"
},
{
"line": 104,
"function": "np.zeros_like"
},
{
"line": 109,
"function": "np.zeros_like"
},
{
"line": 114,
"function": "np.min"
},
{
"line": 115,
"function": "np.maximum"
},
{
"line": 134,
"function": "cv2.resize"
},
{
"line": 143,
"function": "np.ascontiguousarray(x.copy()).copy"
},
{
"line": 148,
"function": "getattr"
},
{
"line": 151,
"function": "int"
},
{
"line": 164,
"function": "int"
},
{
"line": 165,
"function": "int"
},
{
"line": 166,
"function": "cv2.resize"
},
{
"line": 168,
"function": "np.pad"
},
{
"line": 201,
"function": "torch.cuda.is_available"
},
{
"line": 251,
"function": "hashlib.sha256"
},
{
"line": 252,
"function": "bytearray"
},
{
"line": 253,
"function": "memoryview"
},
{
"line": 257,
"function": "h.hexdigest"
},
{
"line": 260,
"function": "filename.split"
},
{
"line": 261,
"function": "basename.split"
},
{
"line": 262,
"function": "sha256sum"
},
{
"line": 270,
"function": "os.path.join"
},
{
"line": 274,
"function": "os.path.join"
},
{
"line": 286,
"function": "print"
},
{
"line": 291,
"function": "os.path.join"
},
{
"line": 292,
"function": "Path(local_dir).joinpath(*subfolder.split('/'), filename).__str__"
},
{
"line": 348,
"function": "print"
},
{
"line": 43,
"function": "warnings.warn"
},
{
"line": 49,
"function": "warnings.warn"
},
{
"line": 54,
"function": "len"
},
{
"line": 55,
"function": "warnings.warn"
},
{
"line": 56,
"function": "tempfile.gettempdir"
},
{
"line": 58,
"function": "warnings.warn"
},
{
"line": 73,
"function": "np.concatenate"
},
{
"line": 75,
"function": "x[:, :, 0:3].astype"
},
{
"line": 78,
"function": "y.clip(0, 255).astype"
},
{
"line": 84,
"function": "rng.uniform"
},
{
"line": 86,
"function": "np.random.uniform"
},
{
"line": 97,
"function": "x.astype"
},
{
"line": 107,
"function": "np.putmask"
},
{
"line": 115,
"function": "np.max"
},
{
"line": 120,
"function": "x.astype"
},
{
"line": 120,
"function": "float"
},
{
"line": 121,
"function": "y.astype(np.int32).astype"
},
{
"line": 121,
"function": "float"
},
{
"line": 136,
"function": "random.uniform"
},
{
"line": 139,
"function": "np.percentile"
},
{
"line": 159,
"function": "HWC3"
},
{
"line": 163,
"function": "float"
},
{
"line": 163,
"function": "float"
},
{
"line": 164,
"function": "np.round"
},
{
"line": 165,
"function": "np.round"
},
{
"line": 167,
"function": "pad64"
},
{
"line": 167,
"function": "pad64"
},
{
"line": 171,
"function": "safer_memory"
},
{
"line": 173,
"function": "safer_memory"
},
{
"line": 177,
"function": "warnings.warn"
},
{
"line": 178,
"function": "kwargs.pop"
},
{
"line": 181,
"function": "warnings.warn"
},
{
"line": 184,
"function": "type"
},
{
"line": 185,
"function": "warnings.warn"
},
{
"line": 190,
"function": "ValueError"
},
{
"line": 192,
"function": "isinstance"
},
{
"line": 193,
"function": "np.array"
},
{
"line": 202,
"function": "torch.cuda.empty_cache"
},
{
"line": 203,
"function": "torch.cuda.ipc_collect"
},
{
"line": 254,
"function": "open"
},
{
"line": 271,
"function": "os.path.exists"
},
{
"line": 272,
"function": "os.makedirs"
},
{
"line": 276,
"function": "os.path.exists"
},
{
"line": 277,
"function": "print"
},
{
"line": 294,
"function": "len"
},
{
"line": 295,
"function": "warnings.warn"
},
{
"line": 297,
"function": "os.path.exists"
},
{
"line": 298,
"function": "print"
},
{
"line": 299,
"function": "print"
},
{
"line": 331,
"function": "hf_hub_download"
},
{
"line": 37,
"function": "Path"
},
{
"line": 61,
"function": "Path"
},
{
"line": 76,
"function": "x[:, :, 3:4].astype"
},
{
"line": 139,
"function": "random.randrange"
},
{
"line": 143,
"function": "np.ascontiguousarray"
},
{
"line": 163,
"function": "min"
},
{
"line": 255,
"function": "f.readinto"
},
{
"line": 256,
"function": "h.update"
},
{
"line": 280,
"function": "load_url"
},
{
"line": 292,
"function": "Path(local_dir).joinpath"
},
{
"line": 294,
"function": "str"
},
{
"line": 329,
"function": "os.path.join"
},
{
"line": 78,
"function": "y.clip"
},
{
"line": 107,
"function": "cv2.dilate"
},
{
"line": 121,
"function": "y.astype"
},
{
"line": 130,
"function": "random.randrange"
},
{
"line": 143,
"function": "x.copy"
},
{
"line": 151,
"function": "np.ceil"
},
{
"line": 164,
"function": "float"
},
{
"line": 165,
"function": "float"
},
{
"line": 166,
"function": "get_upscale_method"
},
{
"line": 263,
"function": "len"
},
{
"line": 283,
"function": "warnings.warn"
},
{
"line": 310,
"function": "Path(cache_dir_d).mkdir"
},
{
"line": 311,
"function": "Path(ckpts_dir).mkdir"
},
{
"line": 312,
"function": "(Path(cache_dir_d) / f'linktest_{filename}.txt').touch"
},
{
"line": 314,
"function": "os.symlink"
},
{
"line": 315,
"function": "print"
},
{
"line": 344,
"function": "shutil.rmtree"
},
{
"line": 292,
"function": "Path"
},
{
"line": 292,
"function": "subfolder.split"
},
{
"line": 304,
"function": "platform.system"
},
{
"line": 305,
"function": "Path(os.getenv('USERPROFILE')).joinpath('.cache', 'huggingface', 'hub').__str__"
},
{
"line": 307,
"function": "os.path.join"
},
{
"line": 314,
"function": "os.path.join"
},
{
"line": 314,
"function": "os.path.join"
},
{
"line": 321,
"function": "print"
},
{
"line": 323,
"function": "Path(cache_dir).joinpath('ckpts', pretrained_model_or_path).__str__"
},
{
"line": 325,
"function": "suppress"
},
{
"line": 326,
"function": "os.remove"
},
{
"line": 327,
"function": "os.remove"
},
{
"line": 344,
"function": "os.path.join"
},
{
"line": 346,
"function": "print"
},
{
"line": 151,
"function": "float"
},
{
"line": 307,
"function": "os.getenv"
},
{
"line": 310,
"function": "Path"
},
{
"line": 311,
"function": "Path"
},
{
"line": 326,
"function": "os.path.join"
},
{
"line": 327,
"function": "os.path.join"
},
{
"line": 305,
"function": "Path(os.getenv('USERPROFILE')).joinpath"
},
{
"line": 312,
"function": "Path"
},
{
"line": 323,
"function": "Path(cache_dir).joinpath"
},
{
"line": 305,
"function": "Path"
},
{
"line": 323,
"function": "Path"
},
{
"line": 305,
"function": "os.getenv"
}
],
"boundary": "static text only; third-party torch/transformers/onnxruntime/cv2/skimage/model architectures and transitive modules not imported or executed; unobtained dependencies are not a certified runtime closure"
},
{
"member": "src/custom_controlnet_aux/canny/__init__.py",
"sha256": "247db43e90d1bc32cfeaeabc6686595015186838ea709f1fd094c7e9528ccae2",
"bytes": 812,
"crc32": 1498693832,
"acquisition_time": "2026-11-01T22:32:51.999196+00:00",
"rechecked_at": "2026-11-01T22:40:21.297928+00:00",
"own_header_excerpt": "import warnings\nimport cv2\nimport numpy as np\nfrom PIL import Image\nfrom custom_controlnet_aux.util import resize_image_with_pad, common_input_validate, HWC3\n\nclass CannyDetector:\n def __call__(self, input_image=None, low_threshold=100, high_threshold=200, detect_resolution=512, output_type=None, upscale_method=\"INTER_CUBIC\", **kwargs):\n input_image, output_type = common_input_validate(input_image, output_type, **kwargs)\n detected_map, remove_pad = resize_image_with_pad(input_image, detect_resolution, upscale_method)\n detected_map = cv2.Canny(detected_map, low_threshold, high_threshold)\n detected_map = HWC3(remove_pad(detected_map))\n \n if output_type == \"pil\":\n detected_map = Image.fromarray(detected_map)",
"source_license": "release LICENSE.txt Apache-2.0; own notices retained",
"model_asset_license": "unknown; not inferred from software license",
"imports": [
{
"line": 1,
"statement": "import warnings"
},
{
"line": 2,
"statement": "import cv2"
},
{
"line": 3,
"statement": "import numpy as np"
},
{
"line": 4,
"statement": "from PIL import Image"
},
{
"line": 5,
"statement": "from custom_controlnet_aux.util import resize_image_with_pad, common_input_validate, HWC3"
}
],
"calls": [
{
"line": 9,
"function": "common_input_validate"
},
{
"line": 10,
"function": "resize_image_with_pad"
},
{
"line": 11,
"function": "cv2.Canny"
},
{
"line": 12,
"function": "HWC3"
},
{
"line": 12,
"function": "remove_pad"
},
{
"line": 15,
"function": "Image.fromarray"
}
],
"boundary": "static text only; third-party torch/transformers/onnxruntime/cv2/skimage/model architectures and transitive modules not imported or executed; unobtained dependencies are not a certified runtime closure"
},
{
"member": "src/custom_controlnet_aux/teed/__init__.py",
"sha256": "9fa4189812b058efddad2c4e662e8c81195e78a5d394d91fbfc81fe20f1835e0",
"bytes": 2186,
"crc32": 3574527178,
"acquisition_time": "2026-11-01T22:37:34.438380+00:00",
"rechecked_at": "2026-11-01T22:40:21.298227+00:00",
"own_header_excerpt": "\"\"\"\nHello, welcome on board,\n\"\"\"\nfrom __future__ import print_function\n\nimport os\nimport cv2\nimport numpy as np\n\nimport torch\n\nfrom .ted import TED # TEED architecture\nfrom einops import rearrange\nfrom custom_controlnet_aux.util import safe_step, custom_hf_download, BDS_MODEL_NAME, common_input_validate, resize_image_with_pad, HWC3\nfrom PIL import Image",
"source_license": "release LICENSE.txt Apache-2.0; own notices retained",
"model_asset_license": "unknown; not inferred from software license",
"imports": [
{
"line": 4,
"statement": "from __future__ import print_function"
},
{
"line": 6,
"statement": "import os"
},
{
"line": 7,
"statement": "import cv2"
},
{
"line": 8,
"statement": "import numpy as np"
},
{
"line": 10,
"statement": "import torch"
},
{
"line": 12,
"statement": "from .ted import TED"
},
{
"line": 13,
"statement": "from einops import rearrange"
},
{
"line": 14,
"statement": "from custom_controlnet_aux.util import safe_step, custom_hf_download, BDS_MODEL_NAME, common_input_validate, resize_image_with_pad, HWC3"
},
{
"line": 15,
"statement": "from PIL import Image"
}
],
"calls": [
{
"line": 25,
"function": "custom_hf_download"
},
{
"line": 26,
"function": "TED"
},
{
"line": 27,
"function": "model.load_state_dict"
},
{
"line": 28,
"function": "model.eval"
},
{
"line": 29,
"function": "cls"
},
{
"line": 32,
"function": "self.model.to"
},
{
"line": 38,
"function": "common_input_validate"
},
{
"line": 39,
"function": "resize_image_with_pad"
},
{
"line": 54,
"function": "remove_pad"
},
{
"line": 27,
"function": "torch.load"
},
{
"line": 42,
"function": "torch.no_grad"
},
{
"line": 43,
"function": "torch.from_numpy(input_image.copy()).float().to"
},
{
"line": 44,
"function": "rearrange"
},
{
"line": 45,
"function": "self.model"
},
{
"line": 48,
"function": "np.stack"
},
{
"line": 52,
"function": "(edge * 255.0).clip(0, 255).astype"
},
{
"line": 54,
"function": "HWC3"
},
{
"line": 56,
"function": "Image.fromarray"
},
{
"line": 47,
"function": "cv2.resize"
},
{
"line": 51,
"function": "safe_step"
},
{
"line": 43,
"function": "torch.from_numpy(input_image.copy()).float"
},
{
"line": 46,
"function": "e.detach().cpu().numpy().astype"
},
{
"line": 49,
"function": "np.exp"
},
{
"line": 52,
"function": "(edge * 255.0).clip"
},
{
"line": 43,
"function": "torch.from_numpy"
},
{
"line": 46,
"function": "e.detach().cpu().numpy"
},
{
"line": 49,
"function": "np.mean(edges, axis=2).astype"
},
{
"line": 43,
"function": "input_image.copy"
},
{
"line": 46,
"function": "e.detach().cpu"
},
{
"line": 49,
"function": "np.mean"
},
{
"line": 46,
"function": "e.detach"
}
],
"boundary": "static text only; third-party torch/transformers/onnxruntime/cv2/skimage/model architectures and transitive modules not imported or executed; unobtained dependencies are not a certified runtime closure"
},
{
"member": "src/custom_controlnet_aux/lineart_standard/__init__.py",
"sha256": "a1d3625e10e88b07cc5623747face053d53c154cbf2e5eac645705c348f239a7",
"bytes": 1052,
"crc32": 3817314260,
"acquisition_time": "2026-11-01T22:37:35.136464+00:00",
"rechecked_at": "2026-11-01T22:40:21.298859+00:00",
"own_header_excerpt": "import cv2\nimport numpy as np\nfrom PIL import Image\nfrom custom_controlnet_aux.util import resize_image_with_pad, common_input_validate, HWC3\n\nclass LineartStandardDetector:\n def __call__(self, input_image=None, guassian_sigma=6.0, intensity_threshold=8, detect_resolution=512, output_type=None, upscale_method=\"INTER_CUBIC\", **kwargs):\n input_image, output_type = common_input_validate(input_image, output_type, **kwargs)\n input_image, remove_pad = resize_image_with_pad(input_image, detect_resolution, upscale_method)\n \n x = input_image.astype(np.float32)\n g = cv2.GaussianBlur(x, (0, 0), guassian_sigma)\n intensity = np.min(g - x, axis=2).clip(0, 255)\n intensity /= max(16, np.median(intensity[intensity > intensity_threshold]))\n intensity *= 127",
"source_license": "release LICENSE.txt Apache-2.0; own notices retained",
"model_asset_license": "unknown; not inferred from software license",
"imports": [
{
"line": 1,
"statement": "import cv2"
},
{
"line": 2,
"statement": "import numpy as np"
},
{
"line": 3,
"statement": "from PIL import Image"
},
{
"line": 4,
"statement": "from custom_controlnet_aux.util import resize_image_with_pad, common_input_validate, HWC3"
}
],
"calls": [
{
"line": 8,
"function": "common_input_validate"
},
{
"line": 9,
"function": "resize_image_with_pad"
},
{
"line": 11,
"function": "input_image.astype"
},
{
"line": 12,
"function": "cv2.GaussianBlur"
},
{
"line": 13,
"function": "np.min(g - x, axis=2).clip"
},
{
"line": 14,
"function": "max"
},
{
"line": 16,
"function": "intensity.clip(0, 255).astype"
},
{
"line": 18,
"function": "HWC3"
},
{
"line": 14,
"function": "np.median"
},
{
"line": 18,
"function": "remove_pad"
},
{
"line": 20,
"function": "Image.fromarray"
},
{
"line": 13,
"function": "np.min"
},
{
"line": 16,
"function": "intensity.clip"
}
],
"boundary": "static text only; third-party torch/transformers/onnxruntime/cv2/skimage/model architectures and transitive modules not imported or executed; unobtained dependencies are not a certified runtime closure"
},
{
"member": "src/custom_controlnet_aux/lineart/__init__.py",
"sha256": "7a96889f5412a98b74ffc54561547c80a0393ae1476a37de7de60aa14f422936",
"bytes": 4829,
"crc32": 3388522658,
"acquisition_time": "2026-11-01T22:37:36.471905+00:00",
"rechecked_at": "2026-11-01T22:40:21.299198+00:00",
"own_header_excerpt": "import os\nimport warnings\n\nimport cv2\nimport numpy as np\nimport torch\nimport torch.nn as nn\nfrom einops import rearrange\nfrom PIL import Image\n\nfrom custom_controlnet_aux.util import HWC3, resize_image_with_pad, common_input_validate, custom_hf_download, HF_MODEL_NAME\n\nnorm_layer = nn.InstanceNorm2d\n\n",
"source_license": "release LICENSE.txt Apache-2.0; own notices retained",
"model_asset_license": "unknown; not inferred from software license",
"imports": [
{
"line": 1,
"statement": "import os"
},
{
"line": 2,
"statement": "import warnings"
},
{
"line": 4,
"statement": "import cv2"
},
{
"line": 5,
"statement": "import numpy as np"
},
{
"line": 6,
"statement": "import torch"
},
{
"line": 7,
"statement": "import torch.nn as nn"
},
{
"line": 8,
"statement": "from einops import rearrange"
},
{
"line": 9,
"statement": "from PIL import Image"
},
{
"line": 11,
"statement": "from custom_controlnet_aux.util import HWC3, resize_image_with_pad, common_input_validate, custom_hf_download, HF_MODEL_NAME"
}
],
"calls": [
{
"line": 18,
"function": "super(ResidualBlock, self).__init__"
},
{
"line": 29,
"function": "nn.Sequential"
},
{
"line": 37,
"function": "super(Generator, self).__init__"
},
{
"line": 44,
"function": "nn.Sequential"
},
{
"line": 50,
"function": "range"
},
{
"line": 56,
"function": "nn.Sequential"
},
{
"line": 60,
"function": "range"
},
{
"line": 62,
"function": "nn.Sequential"
},
{
"line": 67,
"function": "range"
},
{
"line": 73,
"function": "nn.Sequential"
},
{
"line": 81,
"function": "nn.Sequential"
},
{
"line": 84,
"function": "self.model0"
},
{
"line": 85,
"function": "self.model1"
},
{
"line": 86,
"function": "self.model2"
},
{
"line": 87,
"function": "self.model3"
},
{
"line": 88,
"function": "self.model4"
},
{
"line": 101,
"function": "custom_hf_download"
},
{
"line": 102,
"function": "custom_hf_download"
},
{
"line": 104,
"function": "Generator"
},
{
"line": 105,
"function": "model.load_state_dict"
},
{
"line": 106,
"function": "model.eval"
},
{
"line": 108,
"function": "Generator"
},
{
"line": 109,
"function": "coarse_model.load_state_dict"
},
{
"line": 110,
"function": "coarse_model.eval"
},
{
"line": 112,
"function": "cls"
},
{
"line": 115,
"function": "self.model.to"
},
{
"line": 116,
"function": "self.model_coarse.to"
},
{
"line": 121,
"function": "common_input_validate"
},
{
"line": 122,
"function": "resize_image_with_pad"
},
{
"line": 135,
"function": "HWC3"
},
{
"line": 136,
"function": "remove_pad"
},
{
"line": 20,
"function": "nn.ReflectionPad2d"
},
{
"line": 21,
"function": "nn.Conv2d"
},
{
"line": 22,
"function": "norm_layer"
},
{
"line": 23,
"function": "nn.ReLU"
},
{
"line": 24,
"function": "nn.ReflectionPad2d"
},
{
"line": 25,
"function": "nn.Conv2d"
},
{
"line": 26,
"function": "norm_layer"
},
{
"line": 32,
"function": "self.conv_block"
},
{
"line": 40,
"function": "nn.ReflectionPad2d"
},
{
"line": 41,
"function": "nn.Conv2d"
},
{
"line": 42,
"function": "norm_layer"
},
{
"line": 43,
"function": "nn.ReLU"
},
{
"line": 76,
"function": "nn.ReflectionPad2d"
},
{
"line": 77,
"function": "nn.Conv2d"
},
{
"line": 105,
"function": "torch.load"
},
{
"line": 109,
"function": "torch.load"
},
{
"line": 126,
"function": "torch.no_grad"
},
{
"line": 127,
"function": "torch.from_numpy(detected_map).float().to"
},
{
"line": 129,
"function": "rearrange"
},
{
"line": 132,
"function": "line.cpu().numpy"
},
{
"line": 133,
"function": "(line * 255.0).clip(0, 255).astype"
},
{
"line": 139,
"function": "Image.fromarray"
},
{
"line": 18,
"function": "super"
},
{
"line": 37,
"function": "super"
},
{
"line": 51,
"function": "nn.Conv2d"
},
{
"line": 52,
"function": "norm_layer"
},
{
"line": 53,
"function": "nn.ReLU"
},
{
"line": 61,
"function": "ResidualBlock"
},
{
"line": 68,
"function": "nn.ConvTranspose2d"
},
{
"line": 69,
"function": "norm_layer"
},
{
"line": 70,
"function": "nn.ReLU"
},
{
"line": 79,
"function": "nn.Sigmoid"
},
{
"line": 105,
"function": "torch.device"
},
{
"line": 109,
"function": "torch.device"
},
{
"line": 127,
"function": "torch.from_numpy(detected_map).float"
},
{
"line": 130,
"function": "model"
},
{
"line": 132,
"function": "line.cpu"
},
{
"line": 133,
"function": "(line * 255.0).clip"
},
{
"line": 127,
"function": "torch.from_numpy"
}
],
"boundary": "static text only; third-party torch/transformers/onnxruntime/cv2/skimage/model architectures and transitive modules not imported or executed; unobtained dependencies are not a certified runtime closure"
},
{
"member": "src/custom_controlnet_aux/lineart_anime/__init__.py",
"sha256": "d4b8eebd6eb077a496400446b7dead1863160c34f10096f485779c6bf84a08f7",
"bytes": 7519,
"crc32": 1269070091,
"acquisition_time": "2026-11-01T22:37:37.795408+00:00",
"rechecked_at": "2026-11-01T22:40:21.300373+00:00",
"own_header_excerpt": "import functools\nimport os\nimport warnings\n\nimport cv2\nimport numpy as np\nimport torch\nimport torch.nn as nn\nfrom einops import rearrange\nfrom huggingface_hub import hf_hub_download\nfrom PIL import Image\n\nfrom custom_controlnet_aux.util import HWC3, resize_image_with_pad, common_input_validate, custom_hf_download, HF_MODEL_NAME\n\n",
"source_license": "release LICENSE.txt Apache-2.0; own notices retained",
"model_asset_license": "unknown; not inferred from software license",
"imports": [
{
"line": 1,
"statement": "import functools"
},
{
"line": 2,
"statement": "import os"
},
{
"line": 3,
"statement": "import warnings"
},
{
"line": 5,
"statement": "import cv2"
},
{
"line": 6,
"statement": "import numpy as np"
},
{
"line": 7,
"statement": "import torch"
},
{
"line": 8,
"statement": "import torch.nn as nn"
},
{
"line": 9,
"statement": "from einops import rearrange"
},
{
"line": 10,
"statement": "from huggingface_hub import hf_hub_download"
},
{
"line": 11,
"statement": "from PIL import Image"
},
{
"line": 13,
"statement": "from custom_controlnet_aux.util import HWC3, resize_image_with_pad, common_input_validate, custom_hf_download, HF_MODEL_NAME"
}
],
"calls": [
{
"line": 31,
"function": "super(UnetGenerator, self).__init__"
},
{
"line": 33,
"function": "UnetSkipConnectionBlock"
},
{
"line": 34,
"function": "range"
},
{
"line": 37,
"function": "UnetSkipConnectionBlock"
},
{
"line": 38,
"function": "UnetSkipConnectionBlock"
},
{
"line": 39,
"function": "UnetSkipConnectionBlock"
},
{
"line": 40,
"function": "UnetSkipConnectionBlock"
},
{
"line": 44,
"function": "self.model"
},
{
"line": 66,
"function": "super(UnetSkipConnectionBlock, self).__init__"
},
{
"line": 74,
"function": "nn.Conv2d"
},
{
"line": 76,
"function": "nn.LeakyReLU"
},
{
"line": 77,
"function": "norm_layer"
},
{
"line": 78,
"function": "nn.ReLU"
},
{
"line": 79,
"function": "norm_layer"
},
{
"line": 107,
"function": "nn.Sequential"
},
{
"line": 123,
"function": "custom_hf_download"
},
{
"line": 125,
"function": "functools.partial"
},
{
"line": 126,
"function": "UnetGenerator"
},
{
"line": 127,
"function": "torch.load"
},
{
"line": 128,
"function": "list"
},
{
"line": 132,
"function": "net.load_state_dict"
},
{
"line": 133,
"function": "net.eval"
},
{
"line": 135,
"function": "cls"
},
{
"line": 138,
"function": "self.model.to"
},
{
"line": 143,
"function": "common_input_validate"
},
{
"line": 144,
"function": "resize_image_with_pad"
},
{
"line": 149,
"function": "cv2.resize"
},
{
"line": 161,
"function": "cv2.resize"
},
{
"line": 162,
"function": "remove_pad"
},
{
"line": 35,
"function": "UnetSkipConnectionBlock"
},
{
"line": 68,
"function": "type"
},
{
"line": 82,
"function": "nn.ConvTranspose2d"
},
{
"line": 111,
"function": "self.model"
},
{
"line": 113,
"function": "torch.cat"
},
{
"line": 128,
"function": "ckpt.keys"
},
{
"line": 147,
"function": "int"
},
{
"line": 148,
"function": "int"
},
{
"line": 151,
"function": "torch.no_grad"
},
{
"line": 152,
"function": "torch.from_numpy(input_image).float().to"
},
{
"line": 154,
"function": "rearrange"
},
{
"line": 157,
"function": "line.cpu().numpy"
},
{
"line": 158,
"function": "line.clip(0, 255).astype"
},
{
"line": 161,
"function": "HWC3"
},
{
"line": 165,
"function": "Image.fromarray"
},
{
"line": 31,
"function": "super"
},
{
"line": 66,
"function": "super"
},
{
"line": 86,
"function": "nn.Tanh"
},
{
"line": 89,
"function": "nn.ConvTranspose2d"
},
{
"line": 96,
"function": "nn.ConvTranspose2d"
},
{
"line": 147,
"function": "np.ceil"
},
{
"line": 148,
"function": "np.ceil"
},
{
"line": 113,
"function": "self.model"
},
{
"line": 130,
"function": "key.replace"
},
{
"line": 152,
"function": "torch.from_numpy(input_image).float"
},
{
"line": 157,
"function": "line.cpu"
},
{
"line": 158,
"function": "line.clip"
},
{
"line": 147,
"function": "float"
},
{
"line": 148,
"function": "float"
},
{
"line": 156,
"function": "self.model"
},
{
"line": 103,
"function": "nn.Dropout"
},
{
"line": 152,
"function": "torch.from_numpy"
}
],
"boundary": "static text only; third-party torch/transformers/onnxruntime/cv2/skimage/model architectures and transitive modules not imported or executed; unobtained dependencies are not a certified runtime closure"
},
{
"member": "src/custom_controlnet_aux/dwpose/__init__.py",
"sha256": "0b2d156715311ae98bee116e3af5d23143001dbe5c6b81bcd632dc89609ac216",
"bytes": 13329,
"crc32": 2315843314,
"acquisition_time": "2026-11-01T22:37:38.441450+00:00",
"rechecked_at": "2026-11-01T22:40:21.301793+00:00",
"own_header_excerpt": "# Openpose\n# Original from CMU https://github.com/CMU-Perceptual-Computing-Lab/openpose\n# 2nd Edited by https://github.com/Hzzone/pytorch-openpose\n# 3rd Edited by ControlNet\n# 4th Edited by ControlNet (added face and correct hands)\n# 5th Edited by ControlNet (Improved JSON serialization/deserialization, and lots of bug fixs)\n# This preprocessor is licensed by CMU for non-commercial use only.\n\nimport os\nos.environ[\"KMP_DUPLICATE_LIB_OK\"] = \"TRUE\"\n\nimport json\nimport torch\nimport numpy as np\nfrom . import util",
"source_license": "release LICENSE.txt Apache-2.0; own notices retained",
"model_asset_license": "unknown; not inferred from software license",
"imports": [
{
"line": 9,
"statement": "import os"
},
{
"line": 12,
"statement": "import json"
},
{
"line": 13,
"statement": "import torch"
},
{
"line": 14,
"statement": "import numpy as np"
},
{
"line": 15,
"statement": "from . import util"
},
{
"line": 16,
"statement": "from .body import Body, BodyResult, Keypoint"
},
{
"line": 17,
"statement": "from .hand import Hand"
},
{
"line": 18,
"statement": "from .face import Face"
},
{
"line": 19,
"statement": "from .types import PoseResult, HandResult, FaceResult, AnimalPoseResult"
},
{
"line": 20,
"statement": "from huggingface_hub import hf_hub_download"
},
{
"line": 21,
"statement": "from .wholebody import Wholebody"
},
{
"line": 22,
"statement": "import warnings"
},
{
"line": 23,
"statement": "from custom_controlnet_aux.util import HWC3, resize_image_with_pad, common_input_validate, custom_hf_download"
},
{
"line": 24,
"statement": "import cv2"
},
{
"line": 25,
"statement": "from PIL import Image"
},
{
"line": 26,
"statement": "from .animalpose import AnimalPoseImage"
},
{
"line": 28,
"statement": "from typing import Tuple, List, Callable, Union, Optional"
}
],
"calls": [
{
"line": 215,
"function": "Wholebody"
},
{
"line": 292,
"function": "AnimalPoseImage"
},
{
"line": 32,
"function": "np.zeros"
},
{
"line": 79,
"function": "enumerate"
},
{
"line": 109,
"function": "np.zeros"
},
{
"line": 34,
"function": "draw_animalpose"
},
{
"line": 146,
"function": "range"
},
{
"line": 237,
"function": "custom_hf_download"
},
{
"line": 239,
"function": "print"
},
{
"line": 251,
"function": "cls"
},
{
"line": 264,
"function": "common_input_validate"
},
{
"line": 265,
"function": "resize_image_with_pad"
},
{
"line": 266,
"function": "self.detect_poses"
},
{
"line": 280,
"function": "draw_poses"
},
{
"line": 281,
"function": "resize_image_with_pad"
},
{
"line": 282,
"function": "HWC3"
},
{
"line": 306,
"function": "custom_hf_download"
},
{
"line": 307,
"function": "custom_hf_download"
},
{
"line": 309,
"function": "print"
},
{
"line": 321,
"function": "cls"
},
{
"line": 324,
"function": "common_input_validate"
},
{
"line": 325,
"function": "resize_image_with_pad"
},
{
"line": 326,
"function": "self.animal_pose_estimation"
},
{
"line": 337,
"function": "remove_pad"
},
{
"line": 84,
"function": "cv2.line"
},
{
"line": 113,
"function": "util.draw_bodypose"
},
{
"line": 116,
"function": "util.draw_handpose"
},
{
"line": 117,
"function": "util.draw_handpose"
},
{
"line": 120,
"function": "util.draw_facepose"
},
{
"line": 146,
"function": "len"
},
{
"line": 160,
"function": "Keypoint"
},
{
"line": 163,
"function": "create_keypoint"
},
{
"line": 167,
"function": "PoseResult"
},
{
"line": 177,
"function": "decompress_keypoints"
},
{
"line": 236,
"function": "custom_hf_download"
},
{
"line": 241,
"function": "Wholebody"
},
{
"line": 247,
"function": "Wholebody"
},
{
"line": 254,
"function": "torch.no_grad"
},
{
"line": 255,
"function": "self.dw_pose_estimation"
},
{
"line": 256,
"function": "Wholebody.format_result"
},
{
"line": 260,
"function": "warnings.warn"
},
{
"line": 272,
"function": "PoseResult"
},
{
"line": 278,
"function": "filtered_poses.append"
},
{
"line": 282,
"function": "remove_pad"
},
{
"line": 285,
"function": "Image.fromarray"
},
{
"line": 311,
"function": "AnimalPoseImage"
},
{
"line": 317,
"function": "AnimalPoseImage"
},
{
"line": 328,
"function": "np.zeros_like"
},
{
"line": 339,
"function": "Image.fromarray"
},
{
"line": 155,
"function": "len"
},
{
"line": 163,
"function": "chunks"
},
{
"line": 175,
"function": "pose_json.get"
},
{
"line": 177,
"function": "pose_json.get"
},
{
"line": 204,
"function": "compress_keypoints"
},
{
"line": 205,
"function": "compress_keypoints"
},
{
"line": 206,
"function": "compress_keypoints"
},
{
"line": 207,
"function": "compress_keypoints"
},
{
"line": 255,
"function": "oriImg.copy"
},
{
"line": 288,
"function": "encode_poses_as_dict"
},
{
"line": 86,
"function": "int"
},
{
"line": 86,
"function": "int"
},
{
"line": 87,
"function": "int"
},
{
"line": 87,
"function": "int"
},
{
"line": 168,
"function": "BodyResult"
},
{
"line": 171,
"function": "decompress_keypoints"
},
{
"line": 172,
"function": "decompress_keypoints"
},
{
"line": 173,
"function": "decompress_keypoints"
},
{
"line": 171,
"function": "pose.get"
},
{
"line": 172,
"function": "pose.get"
},
{
"line": 173,
"function": "pose.get"
},
{
"line": 195,
"function": "float"
},
{
"line": 195,
"function": "float"
},
{
"line": 273,
"function": "BodyResult"
},
{
"line": 169,
"function": "decompress_keypoints"
},
{
"line": 169,
"function": "pose.get"
}
],
"boundary": "static text only; third-party torch/transformers/onnxruntime/cv2/skimage/model architectures and transitive modules not imported or executed; unobtained dependencies are not a certified runtime closure"
},
{
"member": "src/custom_controlnet_aux/dwpose/wholebody.py",
"sha256": "89c871f4aed3440c2bafcf4987e79ffeed15fb28031951c36b7614374fd9df0f",
"bytes": 8457,
"crc32": 2301143529,
"acquisition_time": "2026-11-01T22:37:39.103395+00:00",
"rechecked_at": "2026-11-01T22:40:21.304067+00:00",
"own_header_excerpt": "# Copyright (c) OpenMMLab. All rights reserved.\nimport cv2\nimport numpy as np\n\nfrom .dw_onnx.cv_ox_det import inference_detector as inference_onnx_yolox\nfrom .dw_onnx.cv_ox_yolo_nas import inference_detector as inference_onnx_yolo_nas\nfrom .dw_onnx.cv_ox_pose import inference_pose as inference_onnx_pose\n\nfrom .dw_torchscript.jit_det import inference_detector as inference_jit_yolox\nfrom .dw_torchscript.jit_pose import inference_pose as inference_jit_pose\n\nfrom typing import List, Optional\nfrom .types import PoseResult, BodyResult, Keypoint\nfrom timeit import default_timer\nimport os",
"source_license": "release LICENSE.txt Apache-2.0; own notices retained",
"model_asset_license": "unknown; not inferred from software license",
"imports": [
{
"line": 2,
"statement": "import cv2"
},
{
"line": 3,
"statement": "import numpy as np"
},
{
"line": 5,
"statement": "from .dw_onnx.cv_ox_det import inference_detector as inference_onnx_yolox"
},
{
"line": 6,
"statement": "from .dw_onnx.cv_ox_yolo_nas import inference_detector as inference_onnx_yolo_nas"
},
{
"line": 7,
"statement": "from .dw_onnx.cv_ox_pose import inference_pose as inference_onnx_pose"
},
{
"line": 9,
"statement": "from .dw_torchscript.jit_det import inference_detector as inference_jit_yolox"
},
{
"line": 10,
"statement": "from .dw_torchscript.jit_pose import inference_pose as inference_jit_pose"
},
{
"line": 12,
"statement": "from typing import List, Optional"
},
{
"line": 13,
"statement": "from .types import PoseResult, BodyResult, Keypoint"
},
{
"line": 14,
"statement": "from timeit import default_timer"
},
{
"line": 15,
"statement": "import os"
},
{
"line": 16,
"statement": "from .util import guess_onnx_input_shape_dtype, get_model_type, get_ort_providers, is_model_torchscript"
},
{
"line": 17,
"statement": "import torch"
},
{
"line": 38,
"statement": "import onnxruntime as ort"
},
{
"line": 63,
"statement": "import onnxruntime as ort"
},
{
"line": 51,
"statement": "import onnxruntime as ort"
}
],
"calls": [
{
"line": 25,
"function": "get_model_type"
},
{
"line": 26,
"function": "get_model_type"
},
{
"line": 32,
"function": "get_ort_providers"
},
{
"line": 101,
"function": "default_timer"
},
{
"line": 102,
"function": "is_model_torchscript"
},
{
"line": 114,
"function": "print"
},
{
"line": 116,
"function": "np.concatenate"
},
{
"line": 119,
"function": "np.mean"
},
{
"line": 121,
"function": "np.logical_and(keypoints_info[:, 5, 2:4] > 0.3, keypoints_info[:, 6, 2:4] > 0.3).astype"
},
{
"line": 124,
"function": "np.insert"
},
{
"line": 21,
"function": "os.path.basename"
},
{
"line": 22,
"function": "os.path.basename"
},
{
"line": 77,
"function": "guess_onnx_input_shape_dtype"
},
{
"line": 85,
"function": "print"
},
{
"line": 88,
"function": "default_timer"
},
{
"line": 89,
"function": "is_model_torchscript"
},
{
"line": 97,
"function": "print"
},
{
"line": 103,
"function": "inference_jit_pose"
},
{
"line": 105,
"function": "guess_onnx_input_shape_dtype"
},
{
"line": 106,
"function": "inference_onnx_pose"
},
{
"line": 109,
"function": "hasattr"
},
{
"line": 164,
"function": "format_keypoint_part"
},
{
"line": 165,
"function": "format_keypoint_part"
},
{
"line": 166,
"function": "format_keypoint_part"
},
{
"line": 176,
"function": "BodyResult"
},
{
"line": 179,
"function": "pose_results.append"
},
{
"line": 90,
"function": "inference_jit_yolox"
},
{
"line": 111,
"function": "isinstance"
},
{
"line": 111,
"function": "isinstance"
},
{
"line": 121,
"function": "np.logical_and"
},
{
"line": 148,
"function": "all"
},
{
"line": 153,
"function": "sum"
},
{
"line": 163,
"function": "format_keypoint_part"
},
{
"line": 172,
"function": "face.append"
},
{
"line": 174,
"function": "face.append"
},
{
"line": 177,
"function": "total_score"
},
{
"line": 177,
"function": "len"
},
{
"line": 179,
"function": "PoseResult"
},
{
"line": 39,
"function": "ort.InferenceSession"
},
{
"line": 56,
"function": "torch.jit.load"
},
{
"line": 57,
"function": "self.det.to"
},
{
"line": 64,
"function": "ort.InferenceSession"
},
{
"line": 69,
"function": "cv2.dnn.readNetFromONNX"
},
{
"line": 70,
"function": "self.pose.setPreferableBackend"
},
{
"line": 71,
"function": "self.pose.setPreferableTarget"
},
{
"line": 73,
"function": "torch.jit.load"
},
{
"line": 74,
"function": "self.pose.to"
},
{
"line": 93,
"function": "inference_onnx_yolox"
},
{
"line": 96,
"function": "inference_onnx_yolo_nas"
},
{
"line": 111,
"function": "len"
},
{
"line": 144,
"function": "Keypoint"
},
{
"line": 145,
"function": "enumerate"
},
{
"line": 41,
"function": "print"
},
{
"line": 42,
"function": "ort.InferenceSession"
},
{
"line": 45,
"function": "cv2.dnn.readNetFromONNX"
},
{
"line": 46,
"function": "self.det.setPreferableBackend"
},
{
"line": 47,
"function": "self.det.setPreferableTarget"
},
{
"line": 66,
"function": "print"
},
{
"line": 67,
"function": "ort.InferenceSession"
},
{
"line": 112,
"function": "len"
},
{
"line": 49,
"function": "print"
},
{
"line": 114,
"function": "default_timer"
},
{
"line": 52,
"function": "ort.InferenceSession"
},
{
"line": 97,
"function": "default_timer"
},
{
"line": 41,
"function": "self.det.get_providers"
},
{
"line": 54,
"function": "print"
},
{
"line": 66,
"function": "self.pose.get_providers"
}
],
"boundary": "static text only; third-party torch/transformers/onnxruntime/cv2/skimage/model architectures and transitive modules not imported or executed; unobtained dependencies are not a certified runtime closure"
},
{
"member": "src/custom_controlnet_aux/dwpose/animalpose.py",
"sha256": "c5b42666d02bb49a7e9ab2b2afebe276913aaef152fca9de2251e01b0cc3e09f",
"bytes": 11134,
"crc32": 814505289,
"acquisition_time": "2026-11-01T22:37:39.735095+00:00",
"rechecked_at": "2026-11-01T22:40:21.305998+00:00",
"own_header_excerpt": "import numpy as np\nimport cv2\nimport os\nimport cv2\nfrom .dw_onnx.cv_ox_det import inference_detector as inference_onnx_yolox\nfrom .dw_onnx.cv_ox_yolo_nas import inference_detector as inference_onnx_yolo_nas\nfrom .dw_onnx.cv_ox_pose import inference_pose as inference_onnx_pose\n\nfrom .dw_torchscript.jit_det import inference_detector as inference_jit_yolox\nfrom .dw_torchscript.jit_pose import inference_pose as inference_jit_pose\nfrom typing import List, Optional\nfrom .types import PoseResult, BodyResult, Keypoint\nfrom .util import guess_onnx_input_shape_dtype, get_ort_providers, get_model_type, is_model_torchscript\nfrom timeit import default_timer\nimport torch",
"source_license": "release LICENSE.txt Apache-2.0; own notices retained",
"model_asset_license": "unknown; not inferred from software license",
"imports": [
{
"line": 1,
"statement": "import numpy as np"
},
{
"line": 2,
"statement": "import cv2"
},
{
"line": 3,
"statement": "import os"
},
{
"line": 4,
"statement": "import cv2"
},
{
"line": 5,
"statement": "from .dw_onnx.cv_ox_det import inference_detector as inference_onnx_yolox"
},
{
"line": 6,
"statement": "from .dw_onnx.cv_ox_yolo_nas import inference_detector as inference_onnx_yolo_nas"
},
{
"line": 7,
"statement": "from .dw_onnx.cv_ox_pose import inference_pose as inference_onnx_pose"
},
{
"line": 9,
"statement": "from .dw_torchscript.jit_det import inference_detector as inference_jit_yolox"
},
{
"line": 10,
"statement": "from .dw_torchscript.jit_pose import inference_pose as inference_jit_pose"
},
{
"line": 11,
"statement": "from typing import List, Optional"
},
{
"line": 12,
"statement": "from .types import PoseResult, BodyResult, Keypoint"
},
{
"line": 13,
"statement": "from .util import guess_onnx_input_shape_dtype, get_ort_providers, get_model_type, is_model_torchscript"
},
{
"line": 14,
"statement": "from timeit import default_timer"
},
{
"line": 15,
"statement": "import torch"
},
{
"line": 153,
"statement": "import onnxruntime as ort"
},
{
"line": 178,
"statement": "import onnxruntime as ort"
},
{
"line": 166,
"statement": "import onnxruntime as ort"
}
],
"calls": [
{
"line": 24,
"function": "int"
},
{
"line": 27,
"function": "cv2.line"
},
{
"line": 31,
"function": "enumerate"
},
{
"line": 108,
"function": "max"
},
{
"line": 120,
"function": "min"
},
{
"line": 130,
"function": "cv2.resize"
},
{
"line": 32,
"function": "drawBetweenKeypoints"
},
{
"line": 36,
"function": "drawBetweenKeypointsList"
},
{
"line": 44,
"function": "int"
},
{
"line": 54,
"function": "int"
},
{
"line": 63,
"function": "cv2.copyMakeBorder"
},
{
"line": 65,
"function": "cv2.copyMakeBorder"
},
{
"line": 98,
"function": "cv2.getRectSubPix"
},
{
"line": 140,
"function": "get_model_type"
},
{
"line": 141,
"function": "get_model_type"
},
{
"line": 147,
"function": "get_ort_providers"
},
{
"line": 195,
"function": "list"
},
{
"line": 198,
"function": "default_timer"
},
{
"line": 199,
"function": "is_model_torchscript"
},
{
"line": 209,
"function": "print"
},
{
"line": 220,
"function": "default_timer"
},
{
"line": 221,
"function": "is_model_torchscript"
},
{
"line": 227,
"function": "print"
},
{
"line": 230,
"function": "np.zeros"
},
{
"line": 231,
"function": "enumerate"
},
{
"line": 27,
"function": "int"
},
{
"line": 27,
"function": "int"
},
{
"line": 27,
"function": "int"
},
{
"line": 27,
"function": "int"
},
{
"line": 136,
"function": "os.path.basename"
},
{
"line": 137,
"function": "os.path.basename"
},
{
"line": 192,
"function": "guess_onnx_input_shape_dtype"
},
{
"line": 195,
"function": "range"
},
{
"line": 200,
"function": "inference_jit_yolox"
},
{
"line": 202,
"function": "default_timer"
},
{
"line": 222,
"function": "inference_jit_pose"
},
{
"line": 224,
"function": "default_timer"
},
{
"line": 225,
"function": "guess_onnx_input_shape_dtype"
},
{
"line": 226,
"function": "inference_onnx_pose"
},
{
"line": 238,
"function": "np.amin"
},
{
"line": 239,
"function": "np.amin"
},
{
"line": 240,
"function": "np.amax"
},
{
"line": 241,
"function": "np.amax"
},
{
"line": 248,
"function": "np.sum"
},
{
"line": 249,
"function": "np.sum"
},
{
"line": 259,
"function": "drawBetweenKeypointsList"
},
{
"line": 263,
"function": "animal_kps_scores.append"
},
{
"line": 205,
"function": "inference_onnx_yolox"
},
{
"line": 208,
"function": "inference_onnx_yolo_nas"
},
{
"line": 218,
"function": "np.zeros_like"
},
{
"line": 263,
"function": "np.concatenate"
},
{
"line": 267,
"function": "keypoints.tolist"
},
{
"line": 154,
"function": "ort.InferenceSession"
},
{
"line": 171,
"function": "torch.jit.load"
},
{
"line": 172,
"function": "self.det.to"
},
{
"line": 179,
"function": "ort.InferenceSession"
},
{
"line": 184,
"function": "cv2.dnn.readNetFromONNX"
},
{
"line": 185,
"function": "self.pose.setPreferableBackend"
},
{
"line": 186,
"function": "self.pose.setPreferableTarget"
},
{
"line": 188,
"function": "torch.jit.load"
},
{
"line": 189,
"function": "self.pose.to"
},
{
"line": 156,
"function": "print"
},
{
"line": 157,
"function": "ort.InferenceSession"
},
{
"line": 160,
"function": "cv2.dnn.readNetFromONNX"
},
{
"line": 161,
"function": "self.det.setPreferableBackend"
},
{
"line": 162,
"function": "self.det.setPreferableTarget"
},
{
"line": 181,
"function": "print"
},
{
"line": 182,
"function": "ort.InferenceSession"
},
{
"line": 164,
"function": "print"
},
{
"line": 209,
"function": "default_timer"
},
{
"line": 227,
"function": "default_timer"
},
{
"line": 167,
"function": "ort.InferenceSession"
},
{
"line": 156,
"function": "self.det.get_providers"
},
{
"line": 169,
"function": "print"
},
{
"line": 181,
"function": "self.pose.get_providers"
}
],
"boundary": "static text only; third-party torch/transformers/onnxruntime/cv2/skimage/model architectures and transitive modules not imported or executed; unobtained dependencies are not a certified runtime closure"
},
{
"member": "src/custom_controlnet_aux/dwpose/util.py",
"sha256": "e8957c7644e6f4ffe3aee90607f8d95a55905d31d66737129d825e69683d3605",
"bytes": 16421,
"crc32": 319756922,
"acquisition_time": "2026-11-01T22:37:40.382244+00:00",
"rechecked_at": "2026-11-01T22:40:21.308606+00:00",
"own_header_excerpt": "import math\nimport numpy as np\nimport matplotlib\nimport cv2\nimport os\nfrom typing import List, Tuple, Union, Optional\n\nfrom .body import BodyResult, Keypoint\n\neps = 0.01\n\n\ndef smart_resize(x, s):\n Ht, Wt = s\n if x.ndim == 2:",
"source_license": "release LICENSE.txt Apache-2.0; own notices retained",
"model_asset_license": "unknown; not inferred from software license",
"imports": [
{
"line": 1,
"statement": "import math"
},
{
"line": 2,
"statement": "import numpy as np"
},
{
"line": 3,
"statement": "import matplotlib"
},
{
"line": 4,
"statement": "import cv2"
},
{
"line": 5,
"statement": "import os"
},
{
"line": 6,
"statement": "from typing import List, Tuple, Union, Optional"
},
{
"line": 8,
"statement": "from .body import BodyResult, Keypoint"
},
{
"line": 443,
"statement": "import onnxruntime as ort"
}
],
"calls": [
{
"line": 436,
"function": "os.getenv"
},
{
"line": 52,
"function": "np.tile"
},
{
"line": 53,
"function": "np.concatenate"
},
{
"line": 54,
"function": "np.tile"
},
{
"line": 55,
"function": "np.concatenate"
},
{
"line": 56,
"function": "np.tile"
},
{
"line": 57,
"function": "np.concatenate"
},
{
"line": 58,
"function": "np.tile"
},
{
"line": 59,
"function": "np.concatenate"
},
{
"line": 66,
"function": "model.state_dict().keys"
},
{
"line": 79,
"function": "all"
},
{
"line": 106,
"function": "max"
},
{
"line": 124,
"function": "zip"
},
{
"line": 140,
"function": "zip"
},
{
"line": 178,
"function": "enumerate"
},
{
"line": 273,
"function": "all"
},
{
"line": 274,
"function": "all"
},
{
"line": 407,
"function": "min"
},
{
"line": 417,
"function": "array.argmax"
},
{
"line": 418,
"function": "array.max"
},
{
"line": 419,
"function": "arrayvalue.argmax"
},
{
"line": 437,
"function": "os.getenv('AUX_ORT_PROVIDERS').split"
},
{
"line": 452,
"function": "bool"
},
{
"line": 455,
"function": "list"
},
{
"line": 22,
"function": "cv2.resize"
},
{
"line": 24,
"function": "np.stack"
},
{
"line": 36,
"function": "cv2.resize"
},
{
"line": 38,
"function": "np.stack"
},
{
"line": 97,
"function": "is_normalized"
},
{
"line": 133,
"function": "np.mean"
},
{
"line": 134,
"function": "np.mean"
},
{
"line": 136,
"function": "math.degrees"
},
{
"line": 137,
"function": "cv2.ellipse2Poly"
},
{
"line": 138,
"function": "cv2.fillConvexPoly"
},
{
"line": 145,
"function": "int"
},
{
"line": 146,
"function": "int"
},
{
"line": 147,
"function": "cv2.circle"
},
{
"line": 170,
"function": "is_normalized"
},
{
"line": 184,
"function": "int"
},
{
"line": 185,
"function": "int"
},
{
"line": 186,
"function": "int"
},
{
"line": 187,
"function": "int"
},
{
"line": 196,
"function": "int"
},
{
"line": 197,
"function": "int"
},
{
"line": 221,
"function": "is_normalized"
},
{
"line": 231,
"function": "int"
},
{
"line": 232,
"function": "int"
},
{
"line": 281,
"function": "hands.append"
},
{
"line": 289,
"function": "hands.append"
},
{
"line": 305,
"function": "math.sqrt"
},
{
"line": 306,
"function": "math.sqrt"
},
{
"line": 320,
"function": "min"
},
{
"line": 361,
"function": "all"
},
{
"line": 369,
"function": "max"
},
{
"line": 370,
"function": "max"
},
{
"line": 374,
"function": "max"
},
{
"line": 375,
"function": "max"
},
{
"line": 379,
"function": "max"
},
{
"line": 380,
"function": "max"
},
{
"line": 384,
"function": "max"
},
{
"line": 385,
"function": "max"
},
{
"line": 455,
"function": "filter"
},
{
"line": 21,
"function": "float"
},
{
"line": 21,
"function": "float"
},
{
"line": 35,
"function": "float"
},
{
"line": 35,
"function": "float"
},
{
"line": 66,
"function": "model.state_dict"
},
{
"line": 67,
"function": "'.'.join"
},
{
"line": 108,
"function": "min"
},
{
"line": 131,
"function": "np.array"
},
{
"line": 131,
"function": "float"
},
{
"line": 132,
"function": "np.array"
},
{
"line": 132,
"function": "float"
},
{
"line": 136,
"function": "math.atan2"
},
{
"line": 137,
"function": "int"
},
{
"line": 189,
"function": "cv2.line"
},
{
"line": 199,
"function": "cv2.circle"
},
{
"line": 234,
"function": "cv2.circle"
},
{
"line": 307,
"function": "max"
},
{
"line": 323,
"function": "detect_result.append"
},
{
"line": 369,
"function": "abs"
},
{
"line": 369,
"function": "abs"
},
{
"line": 374,
"function": "abs"
},
{
"line": 374,
"function": "abs"
},
{
"line": 379,
"function": "abs"
},
{
"line": 379,
"function": "abs"
},
{
"line": 384,
"function": "abs"
},
{
"line": 384,
"function": "abs"
},
{
"line": 410,
"function": "int"
},
{
"line": 410,
"function": "int"
},
{
"line": 410,
"function": "int"
},
{
"line": 437,
"function": "os.getenv"
},
{
"line": 455,
"function": "get_ort_providers"
},
{
"line": 459,
"function": "print"
},
{
"line": 22,
"function": "int"
},
{
"line": 22,
"function": "int"
},
{
"line": 24,
"function": "smart_resize"
},
{
"line": 36,
"function": "int"
},
{
"line": 36,
"function": "int"
},
{
"line": 38,
"function": "smart_resize_k"
},
{
"line": 73,
"function": "abs"
},
{
"line": 73,
"function": "abs"
},
{
"line": 137,
"function": "int"
},
{
"line": 137,
"function": "int"
},
{
"line": 137,
"function": "int"
},
{
"line": 138,
"function": "int"
},
{
"line": 147,
"function": "int"
},
{
"line": 147,
"function": "int"
},
{
"line": 445,
"function": "ort.get_available_providers"
},
{
"line": 446,
"function": "providers.append"
},
{
"line": 452,
"function": "type"
},
{
"line": 462,
"function": "print"
},
{
"line": 465,
"function": "print"
},
{
"line": 24,
"function": "range"
},
{
"line": 38,
"function": "range"
},
{
"line": 67,
"function": "weights_name.split"
},
{
"line": 189,
"function": "matplotlib.colors.hsv_to_rgb"
},
{
"line": 323,
"function": "int"
},
{
"line": 323,
"function": "int"
},
{
"line": 323,
"function": "int"
},
{
"line": 138,
"function": "float"
},
{
"line": 189,
"function": "float"
},
{
"line": 189,
"function": "len"
}
],
"boundary": "static text only; third-party torch/transformers/onnxruntime/cv2/skimage/model architectures and transitive modules not imported or executed; unobtained dependencies are not a certified runtime closure"
}
]