# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [2.0.0] - 2025-11-13 ### ๐ŸŽ‰ Major Release - Dual Implementation This release includes a complete rewrite with **two colorization methods** available side-by-side! ### Added #### ColorMNet Implementation (New) - โœจ **ColorMNet Video Colorization Node** - Modern memory-based temporal colorization - โœจ **ColorMNet Image Colorization Node** - Single image colorization - ๐Ÿš€ DINOv2-based feature extraction for superior quality - โš™๏ธ Multiple memory modes (balanced, low_memory, high_quality) - โšก FP16 mixed precision support for faster processing - ๐Ÿ“Š Performance reports with timing and FPS metrics - ๐ŸŽฏ Automatic model download (~500MB DINOv2 model) - ๐Ÿ“ˆ Real-time progress bars in ComfyUI interface #### Deep Exemplar Implementation (Enhanced Original) - โœจ **Deep Exemplar Video Colorization Node** - Original CVPR 2019 method - โœจ **Deep Exemplar Image Colorization Node** - Classic exemplar-based approach - ๐Ÿ“Š Performance reports with timing and FPS metrics - ๐Ÿ“ˆ Real-time progress bars in ComfyUI interface - ๐ŸŽฏ Automatic model download for all checkpoints - ๐Ÿ”ง Enhanced WLS filtering with configurable parameters #### Infrastructure - ๐Ÿ“ฆ Automatic checkpoint downloading for all models - ๐Ÿ”„ Lazy loading of VGG19 models to prevent import-time errors - ๐Ÿ› Fixed relative import issues across all modules - ๐Ÿ“ Proper extraction of Deep Exemplar checkpoint ZIP files - ๐ŸŽจ Example workflow with both methods for comparison - ๐Ÿ“ธ Workflow screenshot for README - ๐Ÿ“š Comprehensive documentation updates ### Fixed - ๐Ÿ› ColorMNet greyscale output issue - proper RGB reference passing - ๐Ÿ› ColorMNet color saturation - normalized reference ab channels - ๐Ÿ› Progress bar not working in ColorMNet nodes - ๐Ÿ› Import errors with absolute vs relative paths - ๐Ÿ› VGG19 model loading at module import time - ๐Ÿ› Deep Exemplar checkpoint extraction path issues - ๐Ÿ› Missing auto-download for Deep Exemplar models ### Changed - ๐Ÿ“ Complete README rewrite with both implementations - ๐Ÿ—๏ธ Reorganized project structure for clarity - ๐ŸŽฏ Node display names clarified: "(New)" for ColorMNet, "(Original)" for Deep Exemplar - ๐Ÿ”ง Improved error messages and logging - โšก Optimized memory usage and performance ### Technical Details #### ColorMNet Fixes 1. **Reference Image Processing** - Changed from grayscale (Lร—3) to full RGB 2. **Color Space Normalization** - Proper LAB ab channel normalization (รท110) 3. **Output Denormalization** - Correct scaling from [-1,1] to LAB range (ร—110) 4. **Progress Updates** - Added `set_progress()` calls for UI updates #### Deep Exemplar Improvements 1. **Auto-download System** - Downloads from GitHub releases automatically 2. **ZIP Extraction** - Proper handling of nested directory structure 3. **VGG Loading** - Lazy initialization with correct absolute paths 4. **Import Fixes** - All relative imports (`.` and `..`) instead of absolute #### Performance Reports All four nodes now output optional STRING reports containing: - Processing time and FPS - Frame count and resolution - Configuration parameters used - Enable/disable status of features ### Performance **Example Benchmarks (768x432, 240 frames):** - ColorMNet (balanced, FP16): ~5.3 FPS, 45s total - Deep Exemplar (half-res, propagation): ~4.6 FPS, 52s total ## [1.0.0] - 2024-XX-XX ### Initial Release - Initial Deep Exemplar implementation - Basic video and image colorization nodes - Manual model download required - WLS filtering support --- ## Migration Guide ### From 1.x to 2.0 **Good News:** Both old and new implementations are available! **Changes:** 1. **Node Names**: Original nodes renamed to "Deep Exemplar ... (Original)" 2. **New Nodes**: "ColorMNet ... (New)" nodes added 3. **Outputs**: All nodes now have optional `performance_report` output 4. **Auto-download**: Models download automatically on first use **Existing Workflows:** - Will continue to work with Deep Exemplar nodes - Consider trying ColorMNet for comparison - Performance reports are optional (can be ignored) **Recommended Actions:** 1. Update ComfyUI custom node 2. Try the new example workflow 3. Compare ColorMNet vs Deep Exemplar quality 4. Review performance reports to optimize settings --- ## Future Roadmap ### Planned Features - [ ] Batch processing optimization - [ ] Memory-efficient streaming mode - [ ] Additional colorization algorithms - [ ] Color palette transfer utilities - [ ] Integration with temporal smoothing nodes ### Under Consideration - [ ] Web UI for reference image search - [ ] Automatic reference selection - [ ] Multi-reference blending - [ ] Training script for custom models - [ ] Real-time preview mode --- ## Version Support | Version | Status | Support Until | Notes | |---------|--------|---------------|-------| | 2.0.x | โœ… Active | Ongoing | Current release | | 1.0.x | โš ๏ธ Legacy | 2025-12-31 | Security fixes only | --- ## Breaking Changes ### 2.0.0 - Node display names changed (internal IDs unchanged) - New output socket added (backwards compatible) - Model paths changed (auto-downloaded) **Migration:** Update nodes in workflow to see new names. Existing connections work unchanged. --- ## Contributors Thanks to everyone who contributed to this release! - ColorMNet integration and bugfixes - Deep Exemplar enhancements - Documentation improvements - Testing and feedback --- For detailed technical changes, see the [commit history](https://github.com/jonstreeter/ComfyUI-Reference-Based-Video-Colorization/commits/main).