QueryInst icon indicating copy to clipboard operation
QueryInst copied to clipboard

The parameter of the tracking loss

Open Haelles opened this issue 4 years ago • 2 comments

Thank you for your nice work!

Since the training code of QueryTrack is not released, I hope you can share the following training details with me:

  1. What are the meaning of $\alpha_t$ and $\gamma$ in the formula(7) (the definition of the tracking loss)
  2. Is there any document about your contrastive focal loss?

Thanks again.

Haelles avatar Nov 28 '21 10:11 Haelles

Thank you for your nice work!

Since the training code of QueryTrack is not released, I hope you can share the following training details with me:

  1. What are the meaning of $\alpha_t$ and $\gamma$ in the formula(7) (the definition of the tracking loss)
  2. Is there any document about your contrastive focal loss?

Thanks again.

$\alpha_t$ and $\gamma$ is the same as $\alpha$ and $\gamma$ in focal loss.

In form, our contrastive focal loss is a focal loss with softmax function (Eq.5-Eq.7).

vealocia avatar Nov 28 '21 15:11 vealocia

Thank you for your nice work! Since the training code of QueryTrack is not released, I hope you can share the following training details with me:

  1. What are the meaning of $\alpha_t$ and $\gamma$ in the formula(7) (the definition of the tracking loss)
  2. Is there any document about your contrastive focal loss?

Thanks again.

$\alpha_t$ and $\gamma$ is the same as $\alpha$ and $\gamma$ in focal loss.

In form, our contrastive focal loss is a focal loss with softmax function (Eq.5-Eq.7).

Thank you! By the way, I have another question. During the calculation of losses['loss_cls'] in class DIIHead, the value of label_weight is always 1:

label_weights[pos_inds] = pos_weight label_weights[neg_inds] = 1.0

However, when calculating avg_factor, only positive samples are included. Could you please tell me why? Thanks a lot!

Haelles avatar Nov 30 '21 07:11 Haelles