Views
No views yet
nagi_sharpen, a memory-bounded tiled defocus / soft-focus restoration tool built on PyTorch.| File | Role |
|---|---|
nagi_sharpen_stage4.pt | Baseline defocus / soft-focus restoration checkpoint from the early experiments. |
nagi_sharpen_stage5_dpdd_guard.pt | DPDD fine-tune candidate selected by validation-aware training. Best DPDD validation result; not the production default. |
nagi_sharpen_stage9_multiscale384.pt | Synthetic partial-defocus candidate for more visible subjective correction. Use with the stage9-visual / stage9-strong presets. |
nagi_sharpen_stage11_realistic.pt | Realistic synthetic-defocus candidate; improves realistic and mixed synthetic validation over stage9. Presets stage11-visual / stage11-strong. |
nagi_sharpen_stage12_realistic384.pt | Continued from stage11 with 384px realistic synthetic-defocus training. Presets stage12-visual / stage12-strong. |
nagi_sharpen_stage13_largeblur384.pt | Continued from stage12 with stronger large-radius realistic synthetic defocus. Presets stage13-visual, stage13-strong, stage13-adaptive, stage13-defocus-map and their strong variants. |
nagi_sharpen_stage14_balanced_long.pt | Best Stage14 balanced candidate by pipeline synthetic/paired validation. Presets stage14 / stage14-balanced. |
nagi_sharpen_stage14_pipeline500.pt | Stronger Stage14 visual-review candidate: higher synthetic defocus gain, slightly negative paired validation. Presets stage14-pipeline500 / stage14-strong-preview. |
nagi_sharpen_stage15_guarded_refine.pt | Recommended. Low-LR refinement from stage14_balanced_long; best pipeline-scored natural defocus result. Presets stage15 (general natural cleanup) and stage15-petal-natural (subtle flower-edge cleanup). |
MANIFEST.json | Machine-readable index of the checkpoints above, as used by the source repo. |
stage15-petal-generate, stage16–stage18) are experimental and are not defaults.1from huggingface_hub import snapshot_download
2
3snapshot_download(
4 "uniuyuni/nagi_sharpen",
5 allow_patterns=["*.pt", "MANIFEST.json"],
6 local_dir="nagi_sharpen/checkpoints",
7)python -m nagi_sharpen deblur input.jpg output.jpg --preset stage15docs/NATURAL_PRESETS.md for the current recommended presets and docs/EXPERIMENTS.md for the training history behind each stage.1@inproceedings{abuolaim2020defocus,
2 title = {Defocus Deblurring Using Dual-Pixel Data},
3 author = {Abuolaim, Abdullah and Brown, Michael S.},
4 booktitle = {European Conference on Computer Vision (ECCV)},
5 year = {2020}
6}