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

What is the mean of 'W_scale' in spatical_triplet_loss ? #3

Open
sheirving opened this issue Mar 9, 2023 · 0 comments
Open

What is the mean of 'W_scale' in spatical_triplet_loss ? #3

sheirving opened this issue Mar 9, 2023 · 0 comments

Comments

@sheirving
Copy link

W_scale = torch.exp(1-torch.sum(torch.abs(triple_box[:, 0, 2:] - triple_box[:, 0, :2]), 1)/2)

Thankyou for share the code!
But what's the mean of 'W_scale' in spatical_triplet_loss, and loss_pos = pos_dist * (W_scale + W_pos_dis) - alpha1, why we need to add 'w_scale'?

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