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
about the implement of sort error #12
Comments
Your expression seems correct. In terms of our implementation.
|
Thank you for the detailly reply! I notice that in the RankSortLoss/mmdet/models/losses/ranking_losses.py Line 87 in b41f64d sorting pmf is used to compute the gradient caused by the sort loss, however, (\ell_S(i)- \ell_S^*(i) should mutiply the sort pmf like the rank error. I clear that for the gradient of sort error is calculated correctly, the BP will be fine. Actually, Our final goal is the gradient. |
Sry! I got it! We will compute the integral of (current_sorting_error - target_sorting_error)*sorting_pmf for sorting_error[ii], then sorting_error[ii] should equal (current_sorting_error - target_sorting_error) as same as in the paper. |
according the paper, I can compute the$L_{ij}$ as following defined in Eq. 9:
I notice that the implement of sort error in your code is as following:
why not multiply the sort pmf? as following
The text was updated successfully, but these errors were encountered: