Pipeline training and inference on UI #733
vnk8071
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Pipeline Anomaly Detection in Industry Manufacturing on UI
Overview
Anomalib is a deep learning library that aims to collect state-of-the-art anomaly detection algorithms for benchmarking on both public and private datasets. With my pull request #729, thank @ashwinvaidya17 and @jpcbertoldo for the suggestion.
In this project, I create a pipeline for training and inference with all dataset formats MVTec (custom) on UI. Everyone can train with all Anomalib models supported and quickly demo. And my project is an end-to-end example in the anomaly detection task.
For more details, everyone can visit and use my project at the link below.
Link my project: https://github.com/vnk8071/anomaly-detection-in-industry-manufacturing/tree/master/anomalib_contribute
Anomalib Version Note (Legacy vs Current)
anomalib_contributefolder.This project was built against the legacy Anomalib API and pins
anomalib==0.3.6.anomalib_contribute/requirements.txt,deprecated/requirements.txtAnomalib has since moved forward significantly (newer releases, updated APIs/CLI, docs). For the maintained upstream project, use:
Historically, Anomalib was hosted under
openvinotoolkit/anomalib; it is now maintained atopen-edge-platform/anomalib.If you install a newer Anomalib version, expect code/config changes may be required.
Project Layout
anomalib_contribute/: implementation built on legacy Anomalibdeprecated/: legacy snapshot (see folder for details)Dataset
MVTec Anomaly Detection (MVTec AD)
MVTec AD is a dataset for benchmarking anomaly detection methods with a focus on industrial inspection. It contains over 5000 high-resolution images divided into fifteen different object and texture categories. Each category comprises a set of defect-free training images and a test set of images with various kinds of defects as well as images without defects.
Dataset link: https://www.mvtec.com/company/research/datasets/mvtec-ad
Installation
Flow
Custom dataset
For each new dataset, the data consist of three folders:
Hardware
Models
Train
Evaluation (Coming soon)
Inference
Or (simple default):
App
Gradio
Open local URL: http://127.0.0.1:7860
Sample:
FastAPI
Open local URL: http://127.0.0.1:8000
Homepage:

Train:

Inference:

Container
docker build -t anomaly:v1 . docker run anomaly:v1Or:
All reactions