Giter Site home page Giter Site logo

nimonm / uninformed-students-pytorch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from luyaoochen/uninformed-students-pytorch

0.0 1.0 0.0 1.02 MB

A simple implementation of paper: Uninformed Students: Student–Teacher Anomaly Detection with Discriminative Latent Embeddings.

License: MIT License

Python 100.00%

uninformed-students-pytorch's Introduction

Uninformed Students

result

Introduction - 介绍

A simple and incomplete implementation of paper:
MVTec, Uninformed Students: Student–Teacher Anomaly Detection with Discriminative Latent Embeddings. CVPR, 2020.
arXiv:1911.02357

Another implementation repo: https://github.com/denguir/student-teacher-anomaly-detection

Requirements - 依赖

python3
pytorch~=1.3
torchvision
numpy
opencv-python

Usage - 用法

Prepare datasets

imagenet (any image dataset)
MVTec_AD

Train a teacher network

choose a patch_size from (17, 33 or 65) and
python teacher_train.py

Train a student network

choose a patch_size(the teacher net should have been pretrained), and set st_id
python student_train.py

Evaluate

python evaluate.py
the res.jpg will be saved to the current directory.

TODO

metric learning and descriptor compactness in teacher_train.py
complete evaluate.py
...

Reference - 参考

https://github.com/erezposner/Fast_Dense_Feature_Extraction
https://github.com/denguir/student-teacher-anomaly-detection

uninformed-students-pytorch's People

Contributors

loyochen avatar luyaoochen avatar

Watchers

James Cloos 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.