-
Notifications
You must be signed in to change notification settings - Fork 80
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
rank_hard_loss_layer.cpp #2
Comments
I have the same problem |
Just see it as an easy way to increase training samples. |
@xiaolonw that's make sense, thank you xiaolong |
@xiaolonw |
that is because we are using cosine distance, which means after normalization layer, ||x|| = 1, ||x1|| = 1. Thus loss = max(0, (2-2x_x1) - (2-2x_x2) + margin ) |
thank you xiaolong. |
How much amount of contribution does tloss2 have in the forward process? I notice that you only have the term D(x, x-) rather than D(x+, x-) in your ICCV paper.
The text was updated successfully, but these errors were encountered: