Skip to content

oucailab/SUCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enhancing Underwater Images via Adaptive Semantic-aware Codebook Learning

This repository contains the official implementation of the following paper:

Enhancing Underwater Images via Adaptive Semantic-aware Codebook Learning
Bosen Lin, Feng Gao*, Yanwei Yu, Junyu Dong, Qian Du
IEEE Transactions on Geoscience and Remote Sensing, 2026

[Paper]

Dependencies and Installation

  1. Clone Repo

    git clone https://github.com/oucailab/SUCode.git
    cd SUCode
  2. Create Conda Environment

    conda create -n SUcode python=3.8
    conda activate SUcode
    pip install -r requirements.txt
    python setup.py develop

Get Started

Prepare pretrained models & dataset

  1. You are supposed to download our pretrained model for stage 2 and stage 3 first in the links below and put them in dir ./checkpoints/:
Model 🔗 Download Links
SUCode [Baidu Disk (pwd: icpg)]
  1. Unzip UIE dataset and put in dir ./dataset/. The directory structure will be arranged as:
checkpoints
    |- net_stage2_g_best_.pth
    |- net_stage2_d_best_.pth
    |- net_sucode_g_best_.pth
dataset
    |- test
        |- images
            |- ***.jpg
            |- ...
        |- reference
            |- ***.jpg
            |- ...
    |- train
        |- images
            |- ***.jpg
            |- ...
        |- reference
            |- ***.jpg
            |- ...

Training & Testing

Run the following commands for training:

python basicsr/train.py -opt options/train_SUCode_stage3.yaml

Run the following commands for testing:

python test_sucode.py

Citation

If you find our repo useful for your research, please cite us:

@article{lin2026sucode,
  title={Enhancing Underwater Images via Adaptive Semantic-aware Codebook Learning},
  author={Bosen Lin, Feng Gao, Yanwei Yu, Junyu Dong, Qian Du},
  journal={IEEE Transactions on Geoscience and Remote Sensing},
  year={2026}
}

License

Licensed under a Creative Commons Attribution-NonCommercial 4.0 International for Non-commercial use only. Any commercial use should get formal permission first.

About

Enhancing Underwater Images via Adaptive Semantic-aware Codebook Learning, IEEE TGRS 2026

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors