deep_sort_pytorch icon indicating copy to clipboard operation
deep_sort_pytorch copied to clipboard

softmax vs cosine softmax ?

Open YoungjaeDev opened this issue 2 years ago • 1 comments

Hi In the official code (https://github.com/nwojke/deep_sort), he focused on generative learning using cosine_softmax loss image

However, in the code implemented by pytorch that code refer to, it simply conducted a discrimitive learning with cross_entropy

https://github.com/ZQPei/deep_sort_pytorch/blob/8cfe2467a4b1f4421ebf9fcbc157921144ffe7cf/deep_sort/deep/train.py#L67

Is there a big difference between the reason and the performance of this implementation?

YoungjaeDev avatar Dec 07 '22 00:12 YoungjaeDev

hello @youngjae-avikus did you change it to cosine softmax_loss ?

yesmineht avatar Jun 21 '23 14:06 yesmineht