Cogito2012 / OpenTAL

[CVPR 2022 Oral] Towards Open Set Temporal Action Localization
Other
50 stars 1 forks source link

In the OSDR part, why s_k_target[k+1:].sum() is not s_k_target[k:].sum()? #4

Closed LAKawai closed 1 year ago

LAKawai commented 1 year ago

In the AFSD/evaluation/utils_eval.py, the function 'open_set_detection_rate' calculates the osrd value. But why line 112 is CC = s_k_target[k+1:].sum(), but not CC = s_k_target[k:].sum(). I think >= current thresh should the positive.

Cogito2012 commented 1 year ago

I guess it should not result in a big difference? This function is adapted from the implementation in ARPL here