Commit Graph
78 Commits
Author SHA1 Message Date
gero 5fe5462e3e Updated version 2025-08-28 06:20:58 +02:00
gero 0b0fa581a2 Updated icon 2025-08-28 06:19:04 +02:00
Gero Doll 1c3035351a Merge pull request #14 from Limbicnation/fix/depth-node-defaults
fix: Update DepthEstimationNode default parameters
2025-05-15 00:31:20 +02:00
gero d3fef8d498 fix: Update DepthEstimationNode default parameters
- Set input_size default to 1024 to avoid validation errors
  - Change median_size default to 3 for better compatibility
2025-05-15 00:24:50 +02:00
Gero Doll 47e9ff7d06 chore: Remove obsolete node.zip archive 2025-05-14 18:49:37 +02:00
Gero Doll 9a456f4c83 chore: Bump version to 1.1.1 for release 2025-05-14 18:15:56 +02:00
Gero Doll 14bb6d91e9 Merge pull request #13 from Limbicnation/fix/dependency-conflicts
fix: Update dependency requirements to avoid conflicts
2025-05-14 18:01:04 +02:00
gero 6d35f95b0f fix: Update dependency requirements to avoid conflicts
- Removed specific version requirements for numpy and Pillow
  - Added comments explaining dependency management approach
  - Updated pyproject.toml to be consistent with requirements.txt
  - Fixed compatibility issues with ComfyUI Manager installation
2025-05-14 17:38:24 +02:00
gero 9e014e0583 fix: lower case PublisherId 2025-05-07 07:19:56 +02:00
gero f946c50269 fix: lower case name 2025-05-07 07:15:47 +02:00
Gero Doll 785684e3a0 Update pyproject.toml
Fixed project name in pyproject.toml
2025-05-07 06:27:39 +02:00
Gero Doll 403bc11002 Merge pull request #12 from Limbicnation/feature-branch
Feature branch
2025-05-04 04:59:09 +02:00
limbicnation 979ae85cd0 fix(depth): Fix tensor dimension handling to ensure correct depth image resolution 2025-05-04 01:32:59 +02:00
limbicnation 9a9ccb3ddb fix(depth): resolve GPU tensor dimensions & auth issues in depth estimation
- Fix tensor dimension handling in MiDaSWrapper
- Add robust type conversion to consistently use float32
- Implement authentication-free model fallbacks
- Improve error recovery with progressive fallbacks
- Add detailed logging for better debugging
2025-05-04 00:36:20 +02:00
limbicnation fca63accb1 fix: update Hugging Face model paths for V2 models
- Updated model paths to use the correct organization 'depth-anything' instead of 'LiheYoung'
- Fixed direct URLs to point to the correct Hugging Face repositories
- Added more fallback model paths to try multiple organization/repo formats
- Updated error messages with correct download links
- Fixed tensor shape handling for output images
2025-05-04 00:07:37 +02:00
limbicnation 15804d8c6d fix: resolve GPU model loading and tensor dimension issues
- Fixed authentication error when loading V2 models by adding non-auth direct URLs
- Added multi-URL fallback downloading system for better reliability
- Fixed tensor dimensionality mismatch in MiDaS model interpolation
- Added tensor shape standardization to ensure consistent dimensions
- Enhanced model directory detection to support multiple folder structures
- Improved error messages with targeted solutions based on error type
- Added tensor type validation to prevent DoubleTensor vs FloatTensor issues
2025-05-04 00:03:52 +02:00
limbicnation 2914dd8b5c fix: resolve tensor type mismatch in depth estimation
- Fixed tensor type mismatch error between DoubleTensor and FloatTensor
- Added explicit tensor type conversion in MiDaSWrapper
- Improved error handling for tensor type mismatches
- Enhanced process_image to handle float64 tensors properly
- Added debugging logs to track tensor types
2025-05-03 23:32:15 +02:00
limbicnation 0438e413ef fix: improve tensor conversion in depth_estimation_node.py
- Add explicit dimension handling for improved tensor shape control
- Add check to ensure tensors are in [0, 1] range
- Respect force_cpu flag when moving tensor to device
- Add debug logging for output tensor shape
- Improve code comments for clarity
2025-05-03 20:43:23 +02:00
limbicnation 6ff7981678 fix: add protobuf dependency to resolve transformers import error
- Add protobuf==3.20.3 to requirements.txt
- Fix common 'Descriptors cannot be created directly' error
- Ensure compatibility with transformers library
- Prevent runtime errors caused by protobuf version conflicts
2025-05-03 19:48:09 +02:00
limbicnation 3d78b44438 chore: remove temporary documentation file 2025-05-03 19:47:15 +02:00
limbicnation d9589a989c Update with Better Error Handling 2025-05-03 19:45:55 +02:00
limbicnation 3bec5037d7 fix: update __init__.py to remove reference to non-existent file
- Remove attempt to import depth_estimation_node_improved
- Update version number to 1.1.0 to match improvements
- Update Pillow version check to 9.2.0
- Simplify node loading logic
- Add better logging for successful node loading
2025-05-03 19:35:26 +02:00
limbicnation 33d9665940 fix: remove upper version constraints to reduce dependency conflicts
- Remove upper bounds to avoid conflicts with other ComfyUI nodes
- Specify only minimum versions required for functionality
- Add note about ComfyUI potentially providing specific versions
- Improve compatibility with complex environments
2025-05-03 19:30:55 +02:00
limbicnation d34486cf93 fix: specify tokenizers version to avoid build errors
- Add tokenizers>=0.13.3,<0.14.0 to use pre-built wheels
- Prevent Rust compilation errors on systems without Rust toolchain
- Fix installation issues in environments like Anaconda
- Improve compatibility with Python 3.10
2025-05-03 19:21:15 +02:00
limbicnation 454a1c07c0 fix: update dependency version constraints for better compatibility
- Add upper version bounds to prevent future compatibility issues
- Update Pillow from >=9.1.0 to >=9.2.0 for broader compatibility
- Constrain transformers to <4.37.0 to avoid breaking changes
- Limit numpy to <2.0.0 to prevent NumPy 2.x conflicts
- Add detailed comments explaining the rationale for each constraint
- Make note about PyTorch dependency handling
2025-05-03 19:17:14 +02:00
limbicnation 3d1b5a2e19 optimize: reduce showcase image file size for better performance 2025-05-03 19:07:13 +02:00
limbicnation b61c288821 fix: resolve dependency conflicts and enhance node robustness
- Update dependency versions to resolve conflicts with other nodes
  - Implement robust error handling with visual feedback
  - Add automatic VRAM monitoring and CPU fallback
  - Enhance model loading with multiple fallback paths
  - Improve documentation with troubleshooting guide
2025-05-03 19:04:38 +02:00
limbicnation e61760bd3e docs: add comprehensive installation and troubleshooting guide
Update README.md with:
- Detailed installation instructions (via ComfyUI Manager and manual)
- Clear documentation for new optional parameters (force_reload, force_cpu)
- Model information table showing VRAM usage and performance characteristics
- Comprehensive troubleshooting guide for common issues
- Solutions for model loading errors, CUDA OOM, and performance problems
- Better explanations of node usage and parameters

This documentation will help users correctly install and use the node,
and provides clear guidance for resolving common issues.
2025-05-03 18:32:52 +02:00
limbicnation d3b1095d43 feat: enhance depth node with robust error handling and resource management
This comprehensive update improves the depth estimation node with:
- Robust error handling that continues workflow execution instead of crashing
- Visual error reporting with informative messages displayed on error images
- Intelligent resource management with VRAM usage tracking and requirements
- Automatic fallback to CPU when insufficient VRAM is detected
- Multiple fallback strategies for model loading issues
- Better handling of problematic inputs like NaN values
- Detailed logging for easier troubleshooting

These changes make the node much more stable and user-friendly in
complex ComfyUI setups, preventing workflow-breaking errors.
2025-05-03 18:29:07 +02:00
limbicnation e8269297e9 feat: add graceful dependency checking
Implement graceful dependency handling in __init__.py:
- Check for required dependencies at startup
- Display a helpful error node when dependencies are missing
- Provide clear installation instructions to users
- Fallback to simpler implementations when possible

This prevents ComfyUI from crashing at startup due to missing
dependencies and gives users clear guidance on how to fix issues.
2025-05-03 18:21:24 +02:00
limbicnation 3481e14bc9 fix: update dependency versions to resolve conflicts
This change updates minimum dependency versions in requirements.txt:
- Pillow from >=9.0.0 to >=9.1.0 for compatibility with nodes requiring >=9.2.0
- numpy from >=1.21.2 to >=1.23.0 to resolve numpy.dtypes issues
- transformers set to >=4.20.0 for broader compatibility

The fix resolves conflicts with other ComfyUI nodes while ensuring the
depth estimation node continues to function properly.
2025-05-03 18:19:38 +02:00
Gero Doll 73fb5f4f54 Merge pull request #11 from Limbicnation/fix/depth-model-loading-fallback
fix: add robust fallback for depth model loading
2025-02-27 12:29:30 +01:00
limbicnation b9a35b42e3 fix: add robust fallback for depth model loading
This change implements multiple fallback paths for depth model loading, handles both online and offline scenarios, and provides clear error messages for troubleshooting. It maintains backward compatibility while addressing the 'model not found' error.
2025-02-27 12:11:34 +01:00
Gero Doll dc3b1572ec Update README.md 2025-02-25 22:07:57 +01:00
limbicnation 6cbe8a04d7 Add showcase images 2025-02-25 14:29:17 +01:00
Gero Doll 23d00eebc1 Update README.md 2025-02-25 13:01:37 +01:00
limbicnation 04e7745b7c Update requirements.txt with huggingface-hub dependency 2025-02-25 12:59:02 +01:00
limbicnation 0bad0587ff Updated Logo 2025-02-25 12:52:34 +01:00
Gero Doll 2d17240c41 Merge pull request #9 from Limbicnation/feature/improved-depth-estimation-node
Feature/improved depth estimation node
2025-02-25 12:45:02 +01:00
limbicnation b184437560 Fix PIL Image conversion error in depth estimation pipeline 2025-02-25 12:39:08 +01:00
limbicnation 8b7fc49a16 fix: improve depth estimation with robust gamma correction and error handling 2025-02-25 12:27:53 +01:00
limbicnation 196315e331 Enhance DepthEstimationNode with type hints, better VRAM management and all models 2025-02-25 12:23:02 +01:00
limbicnation 29fac572ec Enhance DepthEstimationNode with type hints, better VRAM management and all models 2025-02-25 12:12:33 +01:00
Gero Doll 28a4ed29ca Merge pull request #8 from ComfyNodePRs/update-publish-yaml
Update GitHub Action with:
1. Issue creation permissions for tracking
2. Conditional execution in author's repo only
3. Version pinning (v1) instead of main branch

Improves reliability and feedback while fixing org/owner check issue.
2025-02-25 11:05:03 +01:00
Gero Doll 9b387b61ac Merge pull request #7 from Limbicnation/feature/improve-depth-estimation
feat(depth): enhance depth estimation node
2025-01-30 18:18:58 +01:00
gero ae35209d04 feat(depth): enhance depth estimation node
- Add proper VRAM management and cleanup
- Improve model caching and error handling
- Add FP16 support for CUDA devices
- Optimize image processing pipeline
- Add detailed logging
- Fix tensor device handling
- Add robust error recovery
2025-01-30 18:03:34 +01:00
snomiao 47d65e8073 chore(publish): update workflow for node publishing with permissions and version check 2025-01-20 21:36:27 +00:00
Gero Doll ce0b34cbfe Update README.md
docs: add node preview and logo images to README

- Add depth estimation logo in header
- Include node preview image
- Fix image alignments and sizing
- Update markdown formatting
2024-11-29 21:34:29 +01:00
limbicnation 0978cf6f40 Thumbnail images added 2024-11-29 21:24:54 +01:00
Gero Doll a80e3a6fc9 Update README.md 2024-11-29 21:19:47 +01:00