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

Questions about Loss #31

Open
syn0419 opened this issue Feb 25, 2022 · 1 comment
Open

Questions about Loss #31

syn0419 opened this issue Feb 25, 2022 · 1 comment

Comments

@syn0419
Copy link

syn0419 commented Feb 25, 2022

There is a quesiton about the loss.py
line7: pose_logits = nn.Softmax(dim=1)(logits[:, :13])
line8: interact_logits = nn.Sigmoid()(logits[:, 13:]))
The number of person pose is 14, Should the "13" in line7 and line8 to be changed to "14"?

@misanthrope-goth
Copy link

You can take a look at the file 'ava_action_list_v2.2_for_activitynet_2019.pbtxt', which selects 60 classes from ava's 80 classes.
Among them, action id 2 is missing, and there are only 13 pose action classes.
So the 'logits[:, :13]' is correct.

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