tianyu0207 / RTFM

Official code for 'Weakly-supervised Video Anomaly Detection with Robust Temporal Feature Magnitude Learning' [ICCV 2021]
321 stars 77 forks source link

how to make ground truth file and list file for shanghai tech dataset #92

Open Waleed-Ahmed01 opened 1 year ago

Waleed-Ahmed01 commented 1 year ago

Hello Tian hope you are doing good.I see that there is a file make_gt_sh.py and make_list_sh.py in your repo. I cannot understand how to use these. What to place in the root path "/home/yu/yu_ssd/SH_Test_center_crop_i3d/" and how to make a gt_sh.npy file, since the code doesnot mention making a gt_sh.npy file as it is mentioned in make_gt_ucf.py. Same for make_list_sh.py how to use it for making shanghai-i3d-test-10crop.list and train-10crop.list. Hope you reply. Thanks in advance