Xiaodong-Bran / MLFcGAN

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Python 99.4%Language:Shell 0.6%