Dearborn-Open-AI / Anomaly-detection-using-Variational-Autoencoder-VAE-

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Anomaly-detection-using-Variational-Autoencoder-VAE

result image

On shipping inspection for chemical materials, clothing, and food materials, etc, it is necessary to detect defects and impurities in normal products. In the following link, I shared codes to detect and localize anomalies using CAE with only images for training.

In this demo, you can learn how to apply Variational Autoencoder(VAE) to this task instead of CAE. VAEs use a probability distribution on the latent space, and sample from this distribution to generate new data.

Requirements

MATLAB version should be R2019b and later

Usage

  • EN_VAE_Anomalydetection.mlx ・Example showing how to train the VAE model in English
  • JP_VAE_Anomalydetection.mlx ・Example showing how to train the VAE model in Japanese

Reference

Auto-Encoding Variational Bayes [2013] Diederik P Kingma, Max Welling https://arxiv.org/pdf/1312.6114.pdf

Copyright 2019-2020 The MathWorks, Inc.

About

License:Other