README.md

January 30, 2021 ยท View on GitHub

black blackdoc flake8 isort mypy

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


1. AUROC Scores

categoryPaperMy Implementation
zipper0.9810.975
wood0.9300.965
transistor0.9090.918
toothbrush1.0000.972
tile0.9870.997
screw0.8450.799
pill0.8380.786
metal_nut0.8850.920
leather1.0001.000
hazelnut0.8330.890
grid0.9960.983
carpet0.8420.781
capsule0.8840.731
cable0.8190.655
bottle0.9990.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