• Stars
    star
    161
  • Rank 233,470 (Top 5 %)
  • Language
    Jupyter Notebook
  • License
    MIT License
  • Created about 2 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Unofficial re-implementation of MemSeg for Anomaly Detection

MemSeg

Unofficial Re-implementation for MemSeg: A semi-supervised method for image surface defect detection using differences and commonalities

Environments

  • Docker image: nvcr.io/nvidia/pytorch:20.12-py3
einops==0.5.0
timm==0.5.4
wandb==0.12.17
omegaconf
imgaug==0.4.0

Process

1. Anomaly Simulation Strategy

2. Model Process

Run

python main.py --yaml_config ./configs.yaml DATASET.target capsule

Demo

voila "[demo] model inference.ipynb" --port ${port} --Voila.ip ${ip}

Results

TBD

target AUROC-image AUROC-pixel AUPRO-pixel
leather 100 97.29 96.14
pill 93.67 92.47 84.14
carpet 97.87 96.55 90.74
hazelnut 99.79 93.92 92
tile 100 98.79 97.09
cable 81.22 67.08 52.64
transistor 95.04 72.34 68.8
zipper 98.74 88.33 75.87
metal_nut 99.8 75.91 86.55
grid 99.25 95.42 89.53
bottle 100 95.78 90.53
capsule 85.08 88.17 75.95
wood 100 94.79 88.61
Average 96.19 88.99 83.74

Citation

@article{DBLP:journals/corr/abs-2205-00908,
  author    = {Minghui Yang and
               Peng Wu and
               Jing Liu and
               Hui Feng},
  title     = {MemSeg: {A} semi-supervised method for image surface defect detection
               using differences and commonalities},
  journal   = {CoRR},
  volume    = {abs/2205.00908},
  year      = {2022},
  url       = {https://doi.org/10.48550/arXiv.2205.00908},
  doi       = {10.48550/arXiv.2205.00908},
  eprinttype = {arXiv},
  eprint    = {2205.00908},
  timestamp = {Tue, 03 May 2022 15:52:06 +0200},
  biburl    = {https://dblp.org/rec/journals/corr/abs-2205-00908.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

More Repositories

1

WhiteBox-Part1

In this part, I've introduced and experimented with ways to interpret and evaluate models in the field of image. (Pytorch)
Jupyter Notebook
39
star
2

REVECA

Generic Event Boundary Captioning (GEBC) Challenge at LOVEU@CVPR 2022 - 3rd place (REVECA)
Python
26
star
3

SPARTA

Semantic Parsing And Relational Table Aware Model that generates SQL from question written in Korean language
Jupyter Notebook
19
star
4

3D_CoordConv_Segmentation

Grand Challenge 2017 Multi-Modality Whole Heart Segmentation
Jupyter Notebook
13
star
5

SID

pytorch reimplementation for Detecting Adversarial Examples from Sensitivity Inconsistency of Spatial-Transform Domain
Python
10
star
6

VPT

Unofficial Visual Prompt Tuning implementation
Jupyter Notebook
9
star
7

WhiteBox-Part2

The White Box Project is a project that introduces many ways to solve the part of the black box of machine learning. This project is based on Interpretable Machine Learning by Christoph Molnar. I recommend you to read the book first and practice this project.
Jupyter Notebook
8
star
8

notionist

Life is divided into before and after meeting Notion
Python
5
star
9

Fake-News-Detection-Dataset

낚시성 기사 데이터 탐지 (2022, bflysoft & NIA) by DSBA lab.
Jupyter Notebook
5
star
10

Pytorch-Accelerator-Test

Accelerator test
Python
5
star
11

GAN-based-Anomaly-Detection

Pytorch Implementation
Python
4
star
12

tootorch

Implemetation XAI in Computer Vision (Pytorch)
Jupyter Notebook
4
star
13

config-setting

How to set configurations for ML/DL experiments
Python
3
star
14

Dacon

Jupyter Notebook
3
star
15

U-Net_Segmentation_with_Tensorboard

This project implements the U-Net architecture used in image segmentation and visualizes the learning process using Tensorboard.
Jupyter Notebook
3
star
16

DUAD

Unofficial Implementation for Deep Unsupervised Anomaly Detection (DUAD)
Python
3
star
17

Active_Learning-Uncertainty_Sampling

Pytorch implementation of "A New Active Labeling Method for Deep Learning"
Python
2
star
18

ViT_repo

Pytorch version of the pre-trained VIT models released by google research
Jupyter Notebook
2
star
19

Pytorch-Reproduction

Experiment for Pytorch Reproduction
Python
2
star
20

CV_classification

Classification Pipeline in Computer Vision (Pytorch)
Python
2
star
21

Normalization-Test

Comparison normalization when using a pre-trained model
Jupyter Notebook
1
star
22

Kaggle

Jupyter Notebook
1
star
23

pytorch-tips

pytorch tips
Python
1
star
24

Hackers-Assistant

Automatic program for updating comments in boards using python and notion for Hackers Assistance
Python
1
star