ruiyan1995 / Group-Activity-Recognition

A novel Participation-Contributed Temporal Dynamic Model for Group Activity Recognition
25 stars 6 forks source link

QUESTION #9

Open NaifahNurya opened 4 years ago

NaifahNurya commented 4 years ago

Sorry for the question, i tried to understand the code but i read it but i didn't understand in https://github.com/ruiyan1995/Group-Activity-Recognition/blob/master/Pre/Rank_MI.py Pre folder under the file Rank_MI.py in line "62" and "73" why you initialize the value of T=10, and K=12. Does T relate to number of frame in VD dataset and K relate to number of players?

Can i get clarifications on this K and T (what does it present) ??

`def ranking(self, clips_folder, save_folder, N_g = None): T = 10 idx = 1 imgs = glob.glob(os.path.join(clips_folder, ".jpg")) imgs.sort() Motion_Intensity = np.zeros(len(imgs)/10) Ranked_idx = np.zeros(len(imgs)/10, dtype = int) for k in xrange(len(imgs)/10): Motion_Intensity[k] = self.calc_Motion_Intensity(imgs[k10:(k+1)*10])

    # rank motion_intensity
    if N_g:
        K = 12`
ruiyan1995 commented 4 years ago

K and T denote the number of people in each frame and the number of frames, respectively.

NaifahNurya commented 4 years ago

Thank you for quick reply