- Fix scoping bug in __init__.py where module_version was undefined after ImportError, causing incorrect DA3_AVAILABLE check - Add defensive try/except guard around depth_anything_3 import in depth_estimation_node.py to handle edge cases - Move logger initialization before DA3 import to prevent NameError - Bump version to 1.3.6 Resolves node loading failures on RunPod with PyTorch nightly builds where the error node "Depth Estimation (Error)" was incorrectly shown even when DA3 was intentionally not installed.
28 lines
981 B
TOML
28 lines
981 B
TOML
[project]
|
|
name = "comfyuidepthestimation"
|
|
description = "A robust custom depth estimation node for ComfyUI using Depth-Anything models (V1, V2, and V3/DA3). It integrates depth estimation with configurable post-processing options including blur, median filtering, contrast enhancement, and gamma correction."
|
|
version = "1.3.6"
|
|
license = { file = "LICENSE" }
|
|
dependencies = [
|
|
"transformers>=4.20.0",
|
|
"tokenizers>=0.13.3",
|
|
"timm>=0.6.12",
|
|
"huggingface-hub>=0.16.0",
|
|
"protobuf==3.20.3",
|
|
"requests>=2.27.0",
|
|
"wget>=3.2"
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
# DA3 (Depth Anything V3) support - Apache 2.0 licensed models
|
|
da3 = ["depth-anything-3"]
|
|
|
|
[project.urls]
|
|
Repository = "https://github.com/Limbicnation/ComfyUIDepthEstimation"
|
|
# Used by Comfy Registry https://comfyregistry.org
|
|
|
|
[tool.comfy]
|
|
PublisherId = "limbicnation"
|
|
DisplayName = "Depth Estimation Node"
|
|
Icon = "https://raw.githubusercontent.com/Limbicnation/ComfyUIDepthEstimation/main/icon.png"
|