ekosman / AnomalyDetectionCVPR2018-Pytorch

Pytorch version of - https://github.com/WaqasSultani/AnomalyDetectionCVPR2018
172 stars 52 forks source link

feature_extractor.py #224

Open nbw999 opened 3 months ago

nbw999 commented 3 months ago

Describe the bug A error occurred when I followed the instructions in the readme file to extract features of the ucf-crime dataset. ERROR: feature_extractor.py", line 108, in to_segments temp_vect = data[min(ss, data.shape[0] - 1), :] IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed

ekosman commented 3 months ago

Sorry, I can't download the dataset because the download failed for me; thus, I can't debug it ATM. Where have you downloaded it from?

nbw999 commented 3 months ago

https://www.dropbox.com/sh/75v5ehq4cdg5g5g/AABvnJSwZI7zXb8_myBA0CLHa?dl=0