cqylunlun / GLASS

[ECCV 2024] Official Implementation and Dataset Release for <A Unified Anomaly Synthesis Strategy with Gradient Ascent for Industrial Anomaly Detection and Localization>
MIT License
130 stars 17 forks source link

Training on synthetic data #11

Closed abylikhsanov closed 1 month ago

abylikhsanov commented 1 month ago

Hi,

I was experimenting with synthetic data of metal parts and here is the example from the training:

023

The mask shows some scratches but I believe the light reflection is being treated as anomaly.

cqylunlun commented 1 month ago

Based on your visualization results, we guess that this may be due to the defects being too subtle. The scale of illumination variation in the current samples might be greater than the actual difference between the anomalous and normal regions. For the examples of anomalies that can be detected by our algorithm, you may refer to the MVTec AD, VisA, MPDD, and WFDD datasets.

abylikhsanov commented 1 month ago

Undestand. Am I correct to assume that GLASS only needs "good" data with no defects from various angles to effectively detect anomalies during inference?

I am just experimenting with synthetic data that are only good

cqylunlun commented 1 month ago

Close to correct! Based on the academic definition of anomaly detection, the training of GLASS is conducted utilizing only "good" data. During the inference stage, GLASS should have the ability to detect any samples without the limitation of defect types.