Skip to content

plodha/CMPE-297-DeepLearning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deep Learning Project: Unsupervised Anomaly Detection on X-Ray Images

Project Summary

In our project we plan on using Generative Adversarial Network (GAN) to detect anomaly in X-ray images. A GAN is a class of AI systems, where Two neural organizations challenge with one another in a game (as a lose-lose situation, where one specialist's benefit is another specialist's misfortune). For our project we will be using two GANs- AlphaGAN and AnoGAN in Mura-1.1 dataset from Stanford.

  1. AlphaGAN: The generator of this network is a convolutional encoder-decoder network that is trained both with help of the ground-truth alphas as well as the adversarial loss from the discriminator, and the discriminator is a patchGAN Discriminator.
  2. AnoGAN: The firstly proposed method using GAN for anomaly detection. The generator of GAN is trained to produce patches and fit the data distribution. Based on the second loss, the generator takes not only the information to fool the discriminator but the rich information of the feature representation

Inference Pipeline Architecture to detect Anomaly

Inference-Pipeline

Summary

In this repository you will find the files required to train multiple different models in-order to find anomalies in X-ray images.

In this repository you will find

  • Jupyter Notebooks / Google Colab Notebooks: Contains colab for AlphaGAN Training; f-AnoGAN Training; Inference Code for Anomaly Detection.

    • All metrics computation
    • Tensorboard
  • Deliverables
    1. Proposal pdf
    2. Project Report pdf
    3. Presentation pdf

  • WebApp (frontend, backend)

  • TFX

    • TFX preprocessing to create tfrecord file
    • TFX_mura.ipynb -TFX for mura dataset

Python packages used

  • PyTorch 1.7
  • OpenCV
  • Scikit-Image
  • Pillow

Differentiator

  • Trained AlphaGAN in GCP-TPU
  • Developed and trained f-AnoGAN for mura dataset
  • Compared the metrics of AlphaGan and f-AnoGAN
  • TFX end-to-end pipeline for mura dataset

metrics

About

CMPE 297 Deep Learning Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages