Nano-RestoreNet-2

Nano-RestoreNet-2 is a lightweight image restoration model in the Restormer style with approximately 11M parameters. It switches between three tasks—denoise, upscale, and enhance—within a single set of weights using task embeddings, with both input and output being RGB images. The model card lists PSNR, SSIM, and LPIPS comparisons across the three tasks against baselines and the first-generation Nano-RestoreNet, and includes copy-paste-ready PyTorch loading and inference code.

Nano-RestoreNet-2 is a lightweight image restoration model in the Restormer style with approximately 11M parameters. It switches between three tasks—denoise, upscale, and enhance—within a single set of weights using task embeddings, with both input and output being RGB images. The model card lists PSNR, SSIM, and LPIPS comparisons across the three tasks against baselines and the first-generation Nano-RestoreNet, and includes copy-paste-ready PyTorch loading and inference code.

Why it matters Extremely small size, Apache-2.0 licensed for commercial use, and the model card directly provides the complete single-file PyTorch model definition and inference script.

Hugging Face likes 7 · Hugging Face trending score 7 · Hugging Face downloads 170

License: Commercial use allowed · ComfyUI: Not available · VRAM: ≈1 GB estimated

Reasons

  • Apache-2.0 license, lightweight safetensors weights, estimated to require only about 1 GB of VRAM, runnable on CPU or entry-level GPUs
  • The model card provides complete self-tested metric comparisons and self-contained inference code; Hugging Face likes 7, downloads 170 (indicating attention only)

Usage

  • Install torch, torchvision, huggingface_hub, safetensors, and pillow, copy the model class and inference script from the model card to load FlameF0X/Nano-RestoreNet-2, and specify denoise, upscale, or enhance in TASKS to run

Risks

  • No ComfyUI nodes available yet, requiring invocation via Python scripts; the estimated ~1 GB VRAM is based on parameter count, and inference on large images may require tiling depending on resolution
  • Comparison data comes from the author's self-tests, with no public test set names specified, and the associated Space demo is named NanoSR-6x, so note the distinction from this model

Open

抱脸 image-to-image 上升榜

Explore the latest AI Radar updates