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

softmax problem in contextDesc #9

Open
Yvaine opened this issue Sep 1, 2020 · 0 comments
Open

softmax problem in contextDesc #9

Yvaine opened this issue Sep 1, 2020 · 0 comments

Comments

@Yvaine
Copy link

Yvaine commented Sep 1, 2020

Hi,
In contextDesc paper, I saw
Screenshot from 2020-09-01 17-37-20
in equation(5), the s is softmax(2-D), but the code in line170 of loss.py, list below
softmax_row = tf.nn.softmax(log_scale * dist_mat, axis=2)
the dist_mat has not subtract by 2, I don't know there is any wrong or i think wrong?

Thanks

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

1 participant