This is the PyTorch implementation of our paper entitiled "Single Image Dehazing via Semi-Supervised Domain Translation and Architecture Search "
We adopted the same training set as DA_dehazing. All the images come from RESIDE dataset. Including 3000 synthetic hazy images in the Outdoor Training Set (OTS), 3000 synthetic hazy images in the Indoor Training Set (ITS), and 1000 real-world hazy images in the Unannotated Real Hazy Images set (URHI)
We use four testing sets to evaluate our method:
- Benchmarking Single Image Dehazing and Beyond SOTS-OD
- O-HAZE:A Dehazing Benchmark with Real Hazy and Haze-free Outdoor Images O-HAZE
- Densehaze:A Benchmark for Image Dehazing with Dense-haze and Haze-free Images DENSE-HAZE
- NH-HAZE: An Image Dehazing Benchmark with Non-homogeneous Hazy and Haze-free Images NH-HAZE
- The trained model of fusion dehazing network is at Google drive: Checkpoint
- Python 3.7
- PyTorch 1.8.0
- CUDA 9.1
- Ubuntu 20.04
Clone the repo
git clone https://github.com/jklp2/SID_Semi-Supervised_Domain_Translation.git
cd SID_Semi-Supervised_Domain_Translation
Download the trained checkpoints
Put your hazy images in the input
folder, and run:
python test.py --model cra_unrolled_final --resume --ckpt_path $CKPT_PATH
where $CKPT_PATH
denotes the path of the checkpoints. The results will be saved in the output
folder.