Git Product home page Git Product logo

efficientad's Introduction

This project is an unofficial implementation of "EfficientAD: Accurate Visual Anomaly Detection at Millisecond-Level Latencies".

PWC

PWC

Datasets

./data

  • ImageNet

    • n01440764
    • n01443537 ...
  • MVTec_AD

    • bottle
      • ground_truth
      • test
      • train
    • cable
      • ground_truth
      • test
      • train ...
  • result

Quick start

1. Install PyTorch environment

conda activate <your_env>
pip install -r requirements.txt

1. Distill a PDN architecture teacher network from wide_resnet101

python distillaion_training.py

2. train the student network and autoencoder network

python train_reduced_student.py  -c configs/mvtec_train.yaml

Pretrain Weights

Download pretrain weights from release page.

Some results

Model Dataset Official Paper ours
EfficientAD-M VisA 98.1 97.54
EfficientAD-M Mvtec LOCO 90.7 pending
EfficientAD-M Mvtec AD 99.1 99.36
EfficientAD-S VisA 97.5 97.20
EfficientAD-S Mvtec LOCO 90.0 pending
EfficientAD-S Mvtec AD 98.8 98.51

MVTec bottle

efficientad's People

Contributors

rximg avatar alexriedel1 avatar

Stargazers

Seonghun Choe avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.