Skip to content

Pytorch implementation of our GMSNet.

License

Notifications You must be signed in to change notification settings

20155104009/GMSNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GMSNet

A simplified PyTorch implementation of our GMSNet.

Data

Download the dataset and pretrained model from GoogleDrive.

Extract the files to data folder and save_model folder as follow:

~/
  data/
    SIDD_train/
      ... (scene id)
    SIDD_valid/
      ... (id)
    Syn_train/
      ... (id)
    DND/
      images_srgb/
        ... (mat files)
      ... (mat files)
  save_model/
    gmsnet/ (model name)
      best_model.pth.tar

Synthesize

We provide the code to generate a synthetic dataset using clean images.

The code you can find in utils/syn.

Train

Copy the template code to build your own model:

~/
  model/
    gmsnet.py
    template.py
    ... (your model)

Train your own model:

python train.py --model ... (model name)

Submit

Evaluate the trained model (--ensemble for higher score):

python submit_dnd.py --model ... (model name) --ensemble

The results are in result/submit_dnd/bundled

Note that you should upload your results to the DND benchmark website by yourself.

About

Pytorch implementation of our GMSNet.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages