31 lines
1.3 KiB
Plaintext
31 lines
1.3 KiB
Plaintext
# requirements.txt for ComfyUI-DepthEstimation Node
|
|
# Note: These are minimum requirements. ComfyUI's environment may provide newer versions.
|
|
|
|
# Fix for protobuf errors with transformers
|
|
protobuf>=3.20.3
|
|
|
|
# Core dependencies
|
|
tokenizers>=0.13.3 # Pre-built version compatible with most platforms
|
|
transformers>=4.20.0 # Required for Depth Anything models, but ComfyUI may have a specific version
|
|
|
|
# Pillow (PIL Fork) - Compatibility with other ComfyUI nodes
|
|
# Don't specify Pillow version to avoid conflicts with ComfyUI environment
|
|
|
|
# NumPy - Using version that properly supports numpy.dtypes
|
|
# Don't specify version to avoid conflicts with ComfyUI environment
|
|
|
|
# Additional dependencies specific to depth estimation node
|
|
timm>=0.6.12 # Required for Depth Anything models
|
|
huggingface-hub>=0.16.0 # For model downloading
|
|
wget>=3.2 # For reliable model downloading
|
|
|
|
# Torch version requirements
|
|
# Note: PyTorch dependencies are handled by ComfyUI's core installation
|
|
# If you're installing this node directly, ensure torch>=2.0.0 is available
|
|
|
|
# Network dependencies
|
|
requests>=2.27.0 # For model downloading
|
|
|
|
# Optional dependencies for DA3 (Depth Anything V3) support
|
|
# Uncomment the following line to enable DA3 models (Apache 2.0 licensed)
|
|
# depth-anything-3 @ git+https://github.com/ByteDance-Seed/Depth-Anything-3.git |