Group-Activity-Recognition
Group-Activity-Recognition copied to clipboard
the code may be wrong
https://github.com/ruiyan1995/Group-Activity-Recognition/blob/435bee845cd3fc66e9d27a0d02479ff71f0346ba/Pre/VD_Track.py#L37
Thanks for releasing the code. You sort the filenames, but they are str. If test this code with the video 1/9995, we will not get the correct results.
Thank you for your remind, I have debugged the error in the VD_Track.py. It may not affect CAD_Track.py
I hope it works!
Hello, i noticed same problem occurs on following folders:
1/9995 52/9975 52/10015 54/9990
https://github.com/ruiyan1995/Group-Activity-Recognition/blob/435bee845cd3fc66e9d27a0d02479ff71f0346ba/Pre/VD_Track.py#L37
Thanks for releasing the code. You sort the filenames, but they are str. If test this code with the video 1/9995, we will not get the correct results.
Hello, i noticed same problem occurs on following folders:
1/9995 52/9975 52/10015 54/9990
https://github.com/ruiyan1995/Group-Activity-Recognition/blob/435bee845cd3fc66e9d27a0d02479ff71f0346ba/Pre/VD_Track.py#L37
Thanks for releasing the code. You sort the filenames, but they are str. If test this code with the video 1/9995, we will not get the correct results.
I have debugged the error as follow, #img_list = sorted(glob.glob(os.path.join(self.dataset_folder, video_id, frame_id, ".jpg")))[16:26] img_list = glob.glob(os.path.join(self.dataset_folder, video_id, frame_id, ".jpg")) img_list = sorted(img_list, key=lambda x:int(x.split('/')[-1].split('.')[0]))[20-int((self.num_frames-1)/2):21+int(np.ceil(float(self.num_frames-1)/2.0))]
Please check it again!