Skip to content

Unofficial PyTorch implementation for f-AnoGAN: Fast unsupervised anomaly detection with generative adversarial networks.

Notifications You must be signed in to change notification settings

dbbbbm/f-AnoGAN-PyTorch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

f-AnoGAN-PyTorch

An unofficial implementation of f-AnoGAN in PyTorch.

Reference

Dataset

This implementation performs anomaly detection on CIFAR-10. In the common setting we treat one class of CIFAR-10 as normal class and other 9 classes as anomalies. You can specify which class is considered as normal when running fanogan.py in command line by setting the --class argument.

Usage

  • Train a GAN

      python fanogan.py --stage 1 --class NORMAL_CLASS
    
  • Train an encoder

      python fanogan.py --stage 2 --class NORMAL_CLASS
    
  • Evaluation

      python fanogan.py --eval --class NORMAL_CLASS
    

About

Unofficial PyTorch implementation for f-AnoGAN: Fast unsupervised anomaly detection with generative adversarial networks.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages