Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QUESTION #9

Open
NaifahNurya opened this issue Sep 22, 2019 · 2 comments
Open

QUESTION #9

NaifahNurya opened this issue Sep 22, 2019 · 2 comments

Comments

@NaifahNurya
Copy link

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[k
10:(k+1)*10])

    # rank motion_intensity
    if N_g:
        K = 12`
@ruiyan1995
Copy link
Owner

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

@NaifahNurya
Copy link
Author

Thank you for quick reply

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants