donggong1 / memae-anomaly-detection

MemAE for anomaly detection. -- Gong, Dong, et al. "Memorizing Normality to Detect Anomaly: Memory-augmented Deep Autoencoder for Unsupervised Anomaly Detection". ICCV 2019.
https://donggong1.github.io/anomdec-memae.html
MIT License
465 stars 103 forks source link

Bug storing the groundtruth during evaluation #32

Open jmtc7 opened 10 months ago

jmtc7 commented 10 months ago

Hi! I think I found a bug in utils.eval.py. In the line 58, gt_labels_res is stored into the output .mat file. I believe it should be gt_labels_list instead, so that all the groundtruths are stored there, not only the ones from the last evaluated video.