All Projects → YeongHyeon → CVAE-AnomalyDetection-PyTorch

YeongHyeon / CVAE-AnomalyDetection-PyTorch

Licence: other
Example of Anomaly Detection using Convolutional Variational Auto-Encoder (CVAE)

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to CVAE-AnomalyDetection-PyTorch

adVAE
Implementation of 'Self-Adversarial Variational Autoencoder with Gaussian Anomaly Prior Distribution for Anomaly Detection'
Stars: ✭ 17 (-26.09%)
Mutual labels:  variational-autoencoder, generative-neural-network
Bagel
IPCCC 2018: Robust and Unsupervised KPI Anomaly Detection Based on Conditional Variational Autoencoder
Stars: ✭ 45 (+95.65%)
Mutual labels:  anomaly-detection, variational-autoencoder
Repo 2017
Python codes in Machine Learning, NLP, Deep Learning and Reinforcement Learning with Keras and Theano
Stars: ✭ 1,123 (+4782.61%)
Mutual labels:  anomaly-detection, variational-autoencoder
Generative Continual Learning
No description or website provided.
Stars: ✭ 51 (+121.74%)
Mutual labels:  variational-autoencoder
Variational-Autoencoder-pytorch
Implementation of a convolutional Variational-Autoencoder model in pytorch.
Stars: ✭ 65 (+182.61%)
Mutual labels:  variational-autoencoder
CCD
Code for 'Constrained Contrastive Distribution Learning for Unsupervised Anomaly Detection and Localisation in Medical Images' [MICCAI 2021]
Stars: ✭ 30 (+30.43%)
Mutual labels:  anomaly-detection
lego-face-VAE
Variational autoencoder for Lego minifig faces
Stars: ✭ 15 (-34.78%)
Mutual labels:  variational-autoencoder
AC-VRNN
PyTorch code for CVIU paper "AC-VRNN: Attentive Conditional-VRNN for Multi-Future Trajectory Prediction"
Stars: ✭ 21 (-8.7%)
Mutual labels:  variational-autoencoder
AnomalyDetection
基于智能计算框架nupic的异常检测restful Api.
Stars: ✭ 31 (+34.78%)
Mutual labels:  anomaly-detection
msda
Library for multi-dimensional, multi-sensor, uni/multivariate time series data analysis, unsupervised feature selection, unsupervised deep anomaly detection, and prototype of explainable AI for anomaly detector
Stars: ✭ 80 (+247.83%)
Mutual labels:  anomaly-detection
anomagram
Interactive Visualization to Build, Train and Test an Autoencoder with Tensorflow.js
Stars: ✭ 152 (+560.87%)
Mutual labels:  anomaly-detection
eccv16 attr2img
Torch Implemention of ECCV'16 paper: Attribute2Image
Stars: ✭ 93 (+304.35%)
Mutual labels:  variational-autoencoder
sherlock
Sherlock is an anomaly detection service built on top of Druid
Stars: ✭ 137 (+495.65%)
Mutual labels:  anomaly-detection
ind knn ad
Industrial knn-based anomaly detection for images. Visit streamlit link to check out the demo.
Stars: ✭ 102 (+343.48%)
Mutual labels:  anomaly-detection
deviation-network-image
Official PyTorch implementation of the paper “Explainable Deep Few-shot Anomaly Detection with Deviation Networks”, weakly/partially supervised anomaly detection, few-shot anomaly detection, image defect detection.
Stars: ✭ 47 (+104.35%)
Mutual labels:  anomaly-detection
coursera-ml-py-sj
No description or website provided.
Stars: ✭ 41 (+78.26%)
Mutual labels:  anomaly-detection
OCDVAEContinualLearning
Open-source code for our paper: Unified Probabilistic Deep Continual Learning through Generative Replay and Open Set Recognition
Stars: ✭ 56 (+143.48%)
Mutual labels:  variational-autoencoder
Hand-Digits-Recognition
Recognize your own handwritten digits with Tensorflow, embedded in a PyQT5 GUI. The Neural Network was trained on MNIST.
Stars: ✭ 11 (-52.17%)
Mutual labels:  mnist-dataset
pyroVED
Invariant representation learning from imaging and spectral data
Stars: ✭ 23 (+0%)
Mutual labels:  variational-autoencoder
traffic
A quick and dirty vehicle speed detector using video + anomaly detection
Stars: ✭ 21 (-8.7%)
Mutual labels:  anomaly-detection

[PyTorch] Anomaly Detection using Convolutional Variational Auto-Encoder (CVAE)

Example of Anomaly Detection using Convolutional Variational Auto-Encoder (CVAE) [TensorFlow 1.x] [TensorFlow 2.x].

Architecture

Simplified VAE architecture.

Problem Definition

'Class-1' is defined as normal and the others are defined as abnormal.

Results

Training

Restoration result by CVAE.

Latent vector space of training set, and reconstruction result of latent space walking.

Test

z_dim = 2

Left figure shows latent vector space of test set. Right figure shows box plot with restoration loss of test procedure.

z_dim = 128

Latent vector space of test set, box plot with restoration loss, and histogram of restoration loss.

Environment

  • Python 3.7.4
  • PyTorch 1.1.0
  • Numpy 1.17.1
  • Matplotlib 3.1.1
  • Scikit Learn (sklearn) 0.21.3

Reference

[1] Kingma, D. P., & Welling, M. (2013). Auto-encoding variational bayes. arXiv preprint arXiv:1312.6114.
[2] Kullback Leibler divergence. Wikipedia

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].