Home

Awesome

Repository for LGC

Code for paper "Revitalizing Reconstruction Models for Multi-class Anomaly Detection via Class-Aware Contrastive Learning".

🛠️ Getting Started

Installation

Dataset Preparation

Download datasets to data/ folder or set self.data.root in configs/lgc/lgc_data.py.

Train

Test

Visualization

Checkpoints


Acknowledgement

Our benchmark is built on ADer and RD4AD, thanks their extraordinary works!


Citation

@article{fan2024revita,
          title={Revitalizing Reconstruction Models for Multi-class Anomaly Detection via Class-Aware Contrastive Learning},
          author={Fan, Lei and Huang, Junjie and Di, Donglin and Su, Anyang and Pagnucco, Maurice and Song, Yang},
          journal={arXiv preprint arXiv:2412.04769},
          year={2024}
        }