megvii-research / MOTRv2

[CVPR2023] MOTRv2: Bootstrapping End-to-End Multi-Object Tracking by Pretrained Object Detectors
Other
383 stars 47 forks source link

Questions about label losses for disappear tracks #8

Open wzmsltw opened 1 year ago

wzmsltw commented 1 year ago

Dear authors,

I have a problem about labels loss in MOTR-v2.

In https://github.com/megvii-research/MOTRv2/blob/main/models/motr.py#L147, the default gt value of labels is set to 1, for J == -1(disappear track), the labels value will keep as 1 and used for following training. Should the default value be self.num_classes?

Thanks!

zyayoung commented 1 year ago

Sorry for the late reply, we will check it soon.