-
Notifications
You must be signed in to change notification settings - Fork 172
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 about the formula calculating c value #39
Comments
hi @guldamkwak3114 we meant to normalize the scores alpha_i and do weighted sum of all h_i. Sorry for the bad and confusing writing. |
What do you mean by normalize the scores alpha_i ? |
Softmax is the normalization operation. |
Still confuse me. softmax(alpha_i) and h_i are both vectors.................... how can we multiply them? |
do you mean dot product of softmax(alpha_i) and h_i ? |
The softmax(alpha_i) here means doing softmax for all scores and take the ith component, which is just a single value. So we normalize the score with softmax for all neighbors and do a weighted sum of each neighbor's interaction feature. |
alpha_i itself is a vector. then do you mean take softmax of (a_1,a_2, .... ,a_n) and get the i-th component? Thanks |
Is alpha_i a vecotr? alpha_i is the score for each pair right?
|
The hidden units refers to all the MLP layers up to but not including the last layer. The last layer outputs one single value for each pair/human as the attention score. The corresponding code: CrowdNav/crowd_nav/policy/sarl.py Line 48 in 503173b
|
In the paper,
what does this formula mean? softmax gives a vector and h_i is also a vector. what does mulitplication of softmax and h_I means?
The text was updated successfully, but these errors were encountered: