Dehazing Images using Feature Attention and Knowledge Distillation
Mann Patel
Vadodara, Gujarat
- 0 Collaborators
This project presents an end-to-end feature fusion attention network (FFA-Net) to directly restore the haze-free image. To further accelerate, we distill knowledge from a Teacher model( generally a model achieving SOTA) to the student model(with significantly less parameters than Teacher). ...learn more
Project status: Under Development
oneAPI, Artificial Intelligence, Graphics and Media
Overview / Usage
Image dehazing refers to procedures that attempt to remove the haze amount in a hazy image and grant the degraded image an overall sharpened appearance to obtain clearer visibility and a smooth image.
Most of the handy techniques include one-pass image filters. However, the result isn't pleasing to the human eye and degrades images upon tested on nontrivial real-life images. On the other hand, deep learning-based techniques that do not depend upon prior yield good performance in terms of aesthetics and PSNR metric. However, due to high parameters and FLOPs count, tend to be slow during inference.
To find the right balance between good metric score & runtime performance, we resort to techniques like Knowledge Distillation, Feature Fusion Attention(FFA), and OpenVino's model optimization to get the best of both worlds!
Guided by Prof. Mohammad Bohara & Dr. Amit Ganatra (Principal DEPSTAR)
Methodology / Approach
High-level Overview:
- We train a heavy teacher model which achieves SOTA.
- Experimenting with multiple Knowledge Distillation techniques we train a lightweight student model. The model learns by itself + from its teacher + from their mutual findings.
- Convert the ONNX model to IR model using OpenVino's Model Optimizer.
TODO:
- Experiment with Model Optimizer Extensions, specifically Graph Transformations.
- Try out Vision transformer architecture.
- Deep mutual learning.
Technologies Used
- Python
- PyTorch
- OpenVino
- OneAPI
Repository
https://github.com/manncodes/dehazing-openvino