Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 1.7 KB

README.md

File metadata and controls

40 lines (34 loc) · 1.7 KB

CT5129- Artificial Intelligence Project

Topic: ClearFlow: An Enhanced Image Dehazing Workflow Using Model Ensembling and CNN Postprocessing 📸 🌫

Name: Hemanth Harikrishnan

ID: 23105030

The method uses deep convolutional networks with Channel and Pixel Attention to perform dehazing process. The tracking of the model was done on Weights and biases and the logging can be found here:

Weights & Biases

Dataset 🖥

The datasets used are:

  • RESIDE (ITS and SOTS)
  • I-Haze (NTIRE-2018)
  • O-Haze (NTIRE-2018)
  • Dense-Haze (NTIRE-2019)
  • NH-Haze (NTIRE-2020)

The datasets can be found on Kaggle:

Kaggle

Training the model

The following steps needs to be done to train the model.

  • Make sure the requirements are satisfied.
    pip install -r requirements.txt
  • Download the Dataset from the URL mentioned.
  • Check for presence of GPU
     nvidia-smi
  • Train the model using the DWT+DehazerNet-MSE-Perceptual Training Script.ipynb and DWT+DehazerNet-MSE-Perceptual Training Script.ipynb notebooks
  • Save the model

Testing the model

The model can be tested using the inference-script.ipynb. The results will be saved in a separate folder. The process can be easily run on a CPU.

Note 📝

The paths are supposed to be changed according to where your corresponding dataset is present. The paths in the code are according to the Kaggle dataset strucutre.