Jzy2017 / TACL

TIP 2022 | Twin Adversarial Contrastive Learning for Underwater Image Enhancement and Beyond.
54 stars 5 forks source link
deep-learning pytorch tip underwater-images

Twin-Adversarial-Contrastive-Learning-for-Underwater-Image-Enhancement-and-Beyond

This is an implement of the TACL, β€œTwin-Adversarial-Contrastive-Learning-for-Underwater-Image-Enhancement-and-Beyond”, Risheng Liu*, Zhiying Jiang, Shuzhou Yang, Xin Fan, IEEE Transactions on Image Processing (TIP), 2022.

Overview

avatar

Prerequisites

πŸ”‘ Installation

Type the command:

pip install -r requirements.txt

πŸ€– Download

Download the pre-trained model and put it in ./checkpoints

πŸš€ Quick Run

Train Backbone

Training TAF

mkdir weights
cd weights
wget https://s3.amazonaws.com/amdegroot-models/vgg16_reducedfc.pth
python train.py
python eval.py

You can specify the parameters listed in the eval.py file by flagging them or manually changing them.

Training

cd ./ssd.pytorch-master \ Run

python trainall.py

πŸ“Œ Citation

If you find this code useful for your research, please use the following BibTeX entry.

@ARTICLE{9832540,
  author={Liu, Risheng and Jiang, Zhiying and Yang, Shuzhou and Fan, Xin},
  journal={IEEE Transactions on Image Processing}, 
  title={Twin Adversarial Contrastive Learning for Underwater Image Enhancement and Beyond}, 
  year={2022},
  volume={31},
  number={},
  pages={4922-4936},
  doi={10.1109/TIP.2022.3190209}}