8000 GitHub - colaudiolab/NTIRE2025-GLAN
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

colaudiolab/NTIRE2025-GLAN

Repository files navigation

GLAN (Gaussian-LAN) Image Denoising Model

Table of Contents

Overview

This repository contains the implementation of the GLAN (Gaussian-LAN) model for image denoising. GLAN is an image denoising model designed to handle various noise distributions, especially those not encountered during training. The model incorporates a Gaussian noise mixing strategy, a noise generation module, and a spatially adaptive noise offset to enhance performance on mobile platforms and large images.

Prepare Model and Dataset

python==3.11

git clone https://github.com/chjinny/LAN.git
pip install -r requirements.txt
python prepare.py
  • Dataset : PolyU

  • Model : Restormer

  • File Instruction

    ......

    ├── test.py
    
    ├── data.py
    
    ├── main.py
    
    ├── noise_generator.py
    
    ├── metric.py
    
    ├── requirements.txt
    
    ├── README.md
    
    ├── noise1.pt
    
    ├── adapt/
    
    ├── Restormer/
    
    ├── checkpoint/
    
    │   └── real_denoising.pth
    
    ├── dataset/
    
    │   ├── lq/
    
    │   └── gt/
    
    ├── prepare/
    

Adaptation

This project is an implementation of GLAN for training and testing models with different methods and self-supervised loss functions.

Training

To train the model, use the following command:

python main.py --method {Glan, finetune} --self-loss {zsn2n, nbr2nbr}
  • --method Glan: Uses the GLAN method for training.
  • --method finetune: Finetunes a pre-trained model.
  • --self-loss zsn2n: Applies ZS-N2N self-supervised loss.
  • --self-loss nbr2nbr: Uses Neighbor-to-Neighbor self-supervised loss.

Testing

To evaluate the trained model, run:

python test.py

This script loads the trained model and runs inference on the test dataset.

Citation

@misc{GLAN,
  author = {Jiaying Zhou,Wei Wang, Fangyi Liu},
  title  = {GLAN (Gaussian-LAN) Image Denoising Model},
  year   = {2025},
  url    = {https://github.com/KmjGeorge/NTIRE2024},
  note   = {GitHub repository}
}

Acknowledgement

The codes are based on follows:

We thank the authors for sharing their codes.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0