Closed rabaig closed 2 years ago
@rabaig What kind of help do you need?
@ekosman I have some custom videos and I would like to train and test its anomaly.
I need help to create its annotations files.
One way I thought is to append to existing train and test annotations files. I successfully extracted features.
when I see train_annotation.txt 1st line --> Vandalism/Vandalism048_x264.mp4 7183 . Could you tell me what does that 7183 means ?
Also I would like to create test_annotations.txt for my custom videos
RoadAccidents/RoadAccidents021_x264.mp4 155 RoadAccidents 30 90 -1 -1 -- for this you explained in the previous issue that 30 and 90 is the frame range that anomoly occurs . what about 155 how does it get created?
So, to make it very simple how does you suggest me to create train and test annotations files for my custom videos
Thanks & Regards rafi
when I see train_annotation.txt 1st line --> Vandalism/Vandalism048_x264.mp4 7183 . Could you tell me what does that 7183 means ?
They mean the length of the video. You can just append random numbers there. As I just took these annotations from the original repo, the code doesn't make use of it.
RoadAccidents/RoadAccidents021_x264.mp4 155 RoadAccidents 30 90 -1 -1 -- for this you explained in the previous issue that 30 and 90 is the frame range that anomoly occurs. what about 155 how does it get created?
155 stands for the length of the video.
Anything else @rabaig ?
If not, I will close this issue by 10/7/2022.
Hello @ekosman,
Sorry for the delay!.. I got some issues with the custom data and is checking with that. By any chance do you know any simplified method to create annotations with script.
Thanks
@rabaig Sorry, I'm not aware of a simplified method of creating annotations. You may contact the original authors of the paper, maybe they have insights.
Thanks for the support. I will try seeking help from original author. You can close this issue.
@rabaig Happy to help! :)
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
Originally posted by @rabaig in https://github.com/ekosman/AnomalyDetectionCVPR2018-Pytorch/issues/18#issuecomment-1152560475