mmtracking icon indicating copy to clipboard operation
mmtracking copied to clipboard

Warning: The model doesn't have classes

Open ghost opened this issue 3 years ago • 4 comments

I get this warning (Warning: The model doesn't have classes) for every tracktor and deepsort model, when I run the following:

python demo/demo_mot_vis.py configs/mot/deepsort/sort_faster-rcnn_fpn_4e_mot17-public-half.py --input demo/demo.mp4 --output mot.mp4 --show --backend plt

Am I doing something wrong?

ghost avatar Mar 29 '22 08:03 ghost

It's normal. The warning may be caused by the detector of MOT being trained on an earlier version of mmdet.

JingweiZhang12 avatar Mar 29 '22 12:03 JingweiZhang12

Thank you for the quick reply. When testing mmtracking, no labels are assigned to the objects. Is there any way to change this? Do I have to retrain the mmdet model?

Am Di., 29. März 2022 um 14:42 Uhr schrieb Jingwei Zhang < @.***>:

It's normal. The warning may be caused by the detector of MOT being trained on an earlier version of mmdet.

— Reply to this email directly, view it on GitHub https://github.com/open-mmlab/mmtracking/issues/475#issuecomment-1081823494, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADMLJTPU4OABLPIMR2YIEWLVCL3CHANCNFSM5R5TKG4Q . You are receiving this because you authored the thread.Message ID: @.***>

ghost avatar Mar 30 '22 06:03 ghost

Did you test MOT model? Please post the details about your problem.

JingweiZhang12 avatar Mar 30 '22 12:03 JingweiZhang12

Yes, I did.

Jingwei Zhang @.***> schrieb am Mi., 30. März 2022, 14:49:

Did you test MOT model?

— Reply to this email directly, view it on GitHub https://github.com/open-mmlab/mmtracking/issues/475#issuecomment-1083099376, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADMLJTLDVHZZ3755XZF4TEDVCREWXANCNFSM5R5TKG4Q . You are receiving this because you authored the thread.Message ID: @.***>

ghost avatar Mar 30 '22 12:03 ghost

you need to add a checkpoint file behind the config file. like this: python demo/demo_vid.py \ configs/vid/selsa/selsa_faster_rcnn_r50_dc5_1x_imagenetvid.py \ --checkpoint selsa_faster_rcnn_r50_dc5_1x_imagenetvid_20201227_204835-2f5a4952.pth \ --input demo/demo.mp4 \ --output vid.mp4

jinweiisgreat avatar Dec 05 '22 11:12 jinweiisgreat