cvlab-yonsei / MNAD

An official implementation of "Learning Memory-guided Normality for Anomaly Detection" (CVPR 2020) in PyTorch.
333 stars 82 forks source link

FileNotFoundError: [Errno 2] No such file or directory: './data/frame_labels_ch1.npy' #15

Closed aliyevorkhan closed 3 years ago

aliyevorkhan commented 3 years ago

Hi, I have trained my dataset successfully. At the evaluate step I'm getting this error. I know I have to create labels file as _frame_labelsch1.npy but how? I have checked your other python scripts out in your repository but I couldn't find anything about it in there. Could you guide me how to create labels file as above?

hyunjp commented 3 years ago

The label contains the ground truth where the normal samples correspond to 0 and the abnormal ones to 1. You can refer the uploaded labels "frame_labels_ped2.npy".

aliyevorkhan commented 3 years ago

Thanks so much @hyunjp . I solved.

GS1212 commented 2 years ago

Hi! I also have this problem. How did you create the new label files (.npy)?