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

Issue with .mat files' version #31

Open jmtc7 opened 10 months ago

jmtc7 commented 10 months ago

Hi! First of all, thanks for your work on this repo! While trying to get it to work, appart of having some issues with the dependencies (kudos to the issue #29 for the requirements.txt), I had issues reading the .mat files with the indices and the groundtruth. I could solve it by adding the -v7 option while saving them in line 21 of trans_img2label.m and line 42 of script_index_gen.m, which saves the data in Matlab's v7 binary data format. Apparently my version of SciPy (1.10.1) had issues trying to load it, since the default version wasn't recognized).