Zero-shot image restoration via diffusion null-space modeling (research paper)
Top 31.8% on sourcepulse
This repository provides DDNM, a zero-shot image restoration method that leverages denoising diffusion models for various tasks without requiring task-specific training or optimization. It is designed for researchers and practitioners in computer vision and image processing seeking flexible and powerful image restoration capabilities.
How It Works
DDNM operates by projecting the diffusion process into the null-space of the degradation operator. This allows it to effectively remove degradations while preserving image content, even for arbitrary sizes and complex restoration tasks. The method offers two versions: an SVD-based approach for higher precision in noisy tasks and a simplified version that allows users to define custom degradation operators.
Quick Start & Requirements
pip install numpy torch blobfile tqdm pyYaml pillow
DDNM/exp/logs/
.python main.py --ni --simplified --config celeba_hq.yml --path_y celeba_hq --eta 0.85 --deg "sr_averagepooling" --deg_scale 4.0 --sigma_y 0 -i demo
Highlighted Details
Maintenance & Community
The project is associated with Peking University and PCL. Links to a Colab demo are provided for high-quality results.
Licensing & Compatibility
The repository does not explicitly state a license in the README. This requires clarification for commercial use or integration into closed-source projects.
Limitations & Caveats
The README mentions that high-quality results in the front figure are often generated by applying DDNM to models in RePaint, suggesting potential dependencies or performance variations. Reproducing paper results requires downloading specific datasets. The licensing status is unclear.
1 year ago
1 day