caoyunkang / Segment-Any-Anomaly

Official implementation of "Segment Any Anomaly without Training via Hybrid Prompt Regularization (SAA+)".
704 stars 76 forks source link

What is the meaning of "k_shot" and "experiment_indx" in mvtec.py? #11

Closed William9Baker closed 10 months ago

William9Baker commented 1 year ago

assert k_shot in [0, 1, 5, 10] assert experiment_indx in [0, 1, 2]

caoyunkang commented 1 year ago

hi! It provides pre-defined image paths in case few shot anomaly detection is needed. In SAA, they are simply set to 0.