Skip to content

Xiaodong-Bran/MLFcGAN-Multilevel-Feature-Fusion-Based-Conditional-GAN-for-Underwater-Image-Color-Correction

Notifications You must be signed in to change notification settings

Xiaodong-Bran/MLFcGAN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyTorch implementation of MLFcGAN: Multilevel Feature Fusion-Based Conditional GAN for Underwater Image Color Correction .

Based on pix2pix by Phillip Isola et al.

Prerequisites

  • Linux
  • Python, Numpy, PIL
  • pytorch 1.2.0
  • torchvision 0.4.0

Getting Started

name_of_dataset/
└── source2target
    ├── test
    │   ├── source
    │   └── target
    └── train
        ├── source
        └── target
  • Modifiy the test_img_folder and test_output_path in test.sh

  • To test the model, please run:

    sh test.sh

  • To train the model, please run:

    sh train.sh

Acknowledgments

This code is inspired by pix2pix.

Highly recommend the more sophisticated and organized code pytorch-CycleGAN-and-pix2pix by Jun-Yan Zhu.

About

Xiaodong-Bran/MLFcGAN-Multilevel-Feature-Fusion-Based-Conditional-GAN-for-Underwater-Image-Color-Correction

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published