RABIT icon indicating copy to clipboard operation
RABIT copied to clipboard

about non-differentiable top-k

Open xiewende opened this issue 2 years ago • 3 comments

Nice Works!

Being very interested in your work,But I found that your top-k ranking removes the differentiable top-k method and uses softmax instead, what is the reason for this ?

xiewende avatar Sep 22 '22 09:09 xiewende

Hi, I have a deadline recently and will include the code of this part early next month.

fnzhan avatar Sep 22 '22 17:09 fnzhan

Looking forward to your work!

xiewende avatar Sep 23 '22 01:09 xiewende

Hi, I update the implementation of top-k including ot_topk and differentiable_topk in models/networks/ranking_attention.py. You can also directly test the top-k function in util/topk_test.py.

fnzhan avatar Oct 22 '22 01:10 fnzhan