chenabei0421 / SensingGAN

GitHub Desktop tutorial repository
2 stars 1 forks source link
autonomous-vehicles computer-vision de-raindrop de-raining deep-learning gans rain-removal raindrop-removal self-attention self-driving-car

SensingGAN: A Lightweight GAN for Real-time Rain Removal with Self-attention

Author: Chun-Po Chen, Advisor: Pao-Ann Hsiung

Link: Online Speech: Pao-Ann Hsiung

Abstract

The example of the detection result of rain removal for object detection. Rain may degrade the quality of source images for the application of Computer Vision. For example, the object detection system of autonomous vehicles may be inaccurate due to rain. We proposes SensingGAN: a lightweight Generative Adversarial Network (GAN)-based Single Image De-raining method with Self-attention. There are 2 main challenges to meet the needs of computer vision applications for rain removal:

  1. The real-world rain is diverse, so it is difficult to extract rain using a simple method, and it is not easy to restore the edges and details of objects covered by rain after de-raining.
  2. In the past, many methods focused on the de-raining performance, but the use of complex architectures could not meet the needs of the real-time environment in terms of efficiency.

Therefore, we discusses how to achieve a better balance between de-raining performance and efficiency, which can provide high-quality de-rained images for computer vision in the Rain in Driving (RID) dataset.

Architecture

The architecture of SensingGAN. SensingGAN can effectively sense objects and rain like humans, and restore the details of objects to satisfy the high safety and efficiency requirements of autonomous vehicles. SA-Feature Loss can not only maintain the efficiency but also can more clearly distinguish objects to restore the details and shapes of objects. The loss function and discriminator improve the de-raining performance in the training stage without requiring extra execution time. SensingGAN increases object detection (YOLO V4-Tiny) accuracy by 3% in RID. In comparison with classical de-raindrop GAN, FPS is improved by 13 times (10 ms).

SA-Feature Loss

The loss of relations of feature values obtained by a pair of compared images applied by a VGG16, allowing the model to consider relations of high level features during training.

Experimental Results

Datasets

Metrics

Ablation Study (Trained with Raindrop)

The ablation test results of SensingGAN in raindrop situation.

Ablation Study (Trained with Rain100H)

The ablation test results for SensingGAN in rain streaks situation.

Raindrop Removal (Raindrop dataset)

Compare PSNR, SSIM, FPS in real raindrop with other methods.

Raindrop Removal (Rain100H dataset)

The examples in heavy rain with other methods.

Object Detection (YOLO V4-Tiny, RID)

Requirements

Folders

Train

train_own.ipynb: Click Run on Juypter to start training after adjusting architecute of model and training parameters.

Test

test.ipynb: Click Run on Juypter to start testing after adjusting architecute of model and training parameters.

Main Reference