Giter VIP home page Giter VIP logo

riad's Introduction

black blackdoc flake8 isort mypy

PyTorch re-implementation of Reconstruction by Inpainting for Visual Anomaly Detection


1. AUROC Scores

category Paper My Implementation
zipper 0.981 0.975
wood 0.930 0.965
transistor 0.909 0.918
toothbrush 1.000 0.972
tile 0.987 0.997
screw 0.845 0.799
pill 0.838 0.786
metal_nut 0.885 0.920
leather 1.000 1.000
hazelnut 0.833 0.890
grid 0.996 0.983
carpet 0.842 0.781
capsule 0.884 0.731
cable 0.819 0.655
bottle 0.999 0.971

2. Graphical Results

zipper

wood

transistor

toothbrush

tile

screw

pill

metal_nut

leather

hazelnut

grid

carpet

capsule

cable

bottle


3. Requirements

  • CUDA 10.2
  • nvidia-docker2

4. Usage

a) Download docker image and run docker container

docker pull taikiinoue45/mvtec:riad
docker run --runtime nvidia -it --workdir /app --network host taikiinoue45/mvtec:riad /usr/bin/zsh

b) Download this repository

git clone https://github.com/taikiinoue45/RIAD.git
cd /app/RIAD/riad

c) Run experiments

sh run.sh

d) Visualize experiments

mlflow ui

5. Contacts

riad's People

Contributors

taikiinoue45 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

riad's Issues

SyntaxError: invalid syntax

File "run.py", line 23
def my_app(cfg: DictConfig) -> None:
^
SyntaxError: invalid syntax
作者可以回答一下我的问题吗,没有用docker 直接配了环境执行命令,sudo python run.py configs/mvtec.yaml --multirun params.cross_validation=0 params.category=grid
就会报这样的错误,

Mask figure

Thank you very much for your program, I am very confused how to generate the mask map export?

missing file request

Hi, thanks for sharing your code.

I found that a file was missing in data loading mvtec as shown below.

*** df = pd.read_csv(self.data_dir / "info.csv")

Could you share the file?
Thank you!

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.