All Projects → tufts-ml → GAN-Ensemble-for-Anomaly-Detection

tufts-ml / GAN-Ensemble-for-Anomaly-Detection

Licence: MIT License
This repository is the PyTorch implementation of GAN Ensemble for Anomaly Detection.

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to GAN-Ensemble-for-Anomaly-Detection

Ad examples
A collection of anomaly detection methods (iid/point-based, graph and time series) including active learning for anomaly detection/discovery, bayesian rule-mining, description for diversity/explanation/interpretability. Analysis of incorporating label feedback with ensemble and tree-based detectors. Includes adversarial attacks with Graph Convolutional Network.
Stars: ✭ 641 (+2365.38%)
Mutual labels:  generative-adversarial-network, ensemble-learning, anomaly-detection
Merlion
Merlion: A Machine Learning Framework for Time Series Intelligence
Stars: ✭ 2,368 (+9007.69%)
Mutual labels:  ensemble-learning, anomaly-detection
Gpnd
Generative Probabilistic Novelty Detection with Adversarial Autoencoders
Stars: ✭ 112 (+330.77%)
Mutual labels:  generative-adversarial-network, anomaly-detection
Anogan Keras
Unsupervised anomaly detection with generative model, keras implementation
Stars: ✭ 157 (+503.85%)
Mutual labels:  generative-adversarial-network, anomaly-detection
Repo 2017
Python codes in Machine Learning, NLP, Deep Learning and Reinforcement Learning with Keras and Theano
Stars: ✭ 1,123 (+4219.23%)
Mutual labels:  generative-adversarial-network, anomaly-detection
Anogan Tf
Unofficial Tensorflow Implementation of AnoGAN (Anomaly GAN)
Stars: ✭ 218 (+738.46%)
Mutual labels:  generative-adversarial-network, anomaly-detection
projects
things I help(ed) to build
Stars: ✭ 47 (+80.77%)
Mutual labels:  generative-adversarial-network
ezgan
An extremely simple generative adversarial network, built with TensorFlow
Stars: ✭ 36 (+38.46%)
Mutual labels:  generative-adversarial-network
Deep-Learning
It contains the coursework and the practice I have done while learning Deep Learning.🚀 👨‍💻💥 🚩🌈
Stars: ✭ 21 (-19.23%)
Mutual labels:  generative-adversarial-network
gan-qp.pytorch
Unofficial PyTorch implementation of "GAN-QP: A Novel GAN Framework without Gradient Vanishing and Lipschitz Constraint"
Stars: ✭ 26 (+0%)
Mutual labels:  generative-adversarial-network
outliertree
(Python, R, C++) Explainable outlier/anomaly detection through decision tree conditioning
Stars: ✭ 40 (+53.85%)
Mutual labels:  anomaly-detection
celeba-gan-pytorch
Generative Adversarial Networks in PyTorch
Stars: ✭ 35 (+34.62%)
Mutual labels:  generative-adversarial-network
keras-3dgan
Keras implementation of 3D Generative Adversarial Network.
Stars: ✭ 20 (-23.08%)
Mutual labels:  generative-adversarial-network
tt-vae-gan
Timbre transfer with variational autoencoding and cycle-consistent adversarial networks. Able to transfer the timbre of an audio source to that of another.
Stars: ✭ 37 (+42.31%)
Mutual labels:  generative-adversarial-network
Faster-Grad-CAM
Faster and more precisely than Grad-CAM
Stars: ✭ 33 (+26.92%)
Mutual labels:  anomaly-detection
ADL2019
Applied Deep Learning (2019 Spring) @ NTU
Stars: ✭ 20 (-23.08%)
Mutual labels:  generative-adversarial-network
PyAnomaly
Useful Toolbox for Anomaly Detection
Stars: ✭ 95 (+265.38%)
Mutual labels:  anomaly-detection
MIST VAD
Official codes for CVPR2021 paper "MIST: Multiple Instance Self-Training Framework for Video Anomaly Detection"
Stars: ✭ 52 (+100%)
Mutual labels:  anomaly-detection
DeepFlow
Pytorch implementation of "DeepFlow: History Matching in the Space of Deep Generative Models"
Stars: ✭ 24 (-7.69%)
Mutual labels:  generative-adversarial-network
subjectiveqe-esrgan
PyTorch implementation of ESRGAN (ECCVW 2018) for compressed image subjective quality enhancement.
Stars: ✭ 12 (-53.85%)
Mutual labels:  generative-adversarial-network

GAN-Ensemble-for-Anomaly-Detection

This repository contains PyTorch implementation of the following paper: "GAN-Ensemble-for-Anomaly-Detection"

0. Environment Setup

pip install -r requirements.txt

1. Table of Contents

2. Experiment

To replicate the results in the paper for MNIST and CIFAR10 dataset, run the following commands:

#MNIST
sh experiments/run_mnist_en_fanogan.sh
sh experiments/run_mnist_en_egbad.sh
# CIFAR
sh experiments/run_cifar_en_fanogan.sh
sh experiments/run_cifar_en_egbad.sh
#OCT
sh experiments/run_oct_en_fanogan.sh
#KDD99
sh experiments/run_oct_en_egbad.sh

3. Training

To list the arguments, run the following command:

python train.py -h

To train the model on MNIST dataset for a given anomaly class, run the following:

python train.py \
    --dataset mnist                                                                \
    --niter <number-of-epochs>                                                     \
    --abnormal_class  <0,1,2,3,4,5,6,7,8,9>                                        \
    --setting <model-name: f-anogan, egbad, ganomaly, skipgan>                     \
    --n_G <number of ensemble generators>                                          \
    --n_D <number of ensemble discriminators>                                      \

To train the model on CIFAR10 dataset for a given anomaly class, run the following:

python train.py \
    --dataset cifar10                                                             \
    --niter <number-of-epochs>                                                    \
    --abnormal_class                                                              \
        <0-9 for :airplane, automobile, bird, cat, deer, dog, frog, horse, ship, truck>    \
    --setting <model-name: f-anogan, egbad, ganomaly, skipgan>                     \
    --n_G <number of ensemble generators>                                          \
    --n_D <number of ensemble discriminators>                                      \
         

To train the model on OCT dataset for a given anomaly class, run the following:

python train.py \
    --dataset OCT                                                                  \
    --niter <number-of-epochs>                                                     \
    --setting <model-name: f-anogan, egbad, ganomaly, skipgan>                     \
    --n_G <number of ensemble generators>                                          \
    --n_D <number of ensemble discriminators>                                      \
         

To train the model on KDD99 dataset for a given anomaly class, run the following:

python train.py \
    --dataset KDD99                                                                \
    --niter <number-of-epochs>                                                     \
    --setting <model-name: f-anogan, egbad>                                        \
    --n_G <number of ensemble generators>                                          \
    --n_D <number of ensemble discriminators>                                      \
         
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].