ekosman / AnomalyDetectionCVPR2018-Pytorch

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

regarding to Test_Annotation.txt. #18

Closed cervantes-loves-ai closed 4 years ago

cervantes-loves-ai commented 4 years ago

a bit confuse about test_annotation.txt formate. here is 2 examples from Test_Annotation.txt. if I am right than the first example have have 2 number 30 and 90 which represents frame number and -1 shows anomaly on those frames, but don't understand clearly example number 2.

  1. RoadAccidents/RoadAccidents021_x264.mp4 155 RoadAccidents 30 90 -1 -1.

  2. Testing_Normal_Videos_Anomaly/Normal_Videos_872_x264.mp4 530 Normal -1 -1 -1 -1

cervantes-loves-ai commented 4 years ago

hope will get from help from someone. thanks in advance..

ekosman commented 4 years ago

The numbers indicates the range of frames where anomalies occure. 30 90 -1 -1 means anomaly between frames 30-90. -1 -1 means no second anomaly in the video.

Notice that all normal video are annotated with -1 -1 -1 -1, thus no anomalies in these videos. All anomaly videos have at least one pair (and at most two pairs) of numbers, indicating the frames range.

rabaig commented 2 years ago

The numbers indicates the range of frames where anomalies occure. 30 90 -1 -1 means anomaly between frames 30-90. -1 -1 means no second anomaly in the video.

Notice that all normal video are annotated with -1 -1 -1 -1, thus no anomalies in these videos. All anomaly videos have at least one pair (and at most two pairs) of numbers, indicating the frames range.

Hello @ekosman ,

I would like to append my custom videos to the UCF-Crime dataset. I have successfully done feature extraction and could you help how to make custom annotation for train and test dataset. For train, I have added custom features path in Train_annotation.txt could you help me how to make test_annotation.txt

Thanks Rafi