mmtracking icon indicating copy to clipboard operation
mmtracking copied to clipboard

I can't get a good performance by ByteTrack

Open 376498485 opened this issue 3 years ago • 9 comments

I use the following command:

python demo/demo_mot_vis.py \
    configs/mot/bytetrack/bytetrack_yolox_x_crowdhuman_mot17-private-half.py \
    --input demo/demo.mp4 \
    --output mot.mp4 \

And the output video 'mot.mp4' is as follows image How can I do to get a good performance by using ByteTrack.

376498485 avatar Mar 02 '22 05:03 376498485

Did you change any hyper-parameters? Without any changes, I have just tested the demo code and got a good tracking performance by using the pretrained ByteTrack model.

JingweiZhang12 avatar Mar 02 '22 06:03 JingweiZhang12

I didn't change anything. I just set up the environment and then run the demo.

------------------ 原始邮件 ------------------ 发件人: "Jingwei @.>; 发送时间: 2022年3月2日(星期三) 下午2:58 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [open-mmlab/mmtracking] I can't get a good performance by ByteTrack (Issue #445)

Did you change some hyper-parameters? Without any changes, I have just tested the demo code and got a good tracking performance by using the pretrained ByteTrack model.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

376498485 avatar Mar 02 '22 07:03 376498485

You can download the latest code and run the demo again.

JingweiZhang12 avatar Mar 02 '22 07:03 JingweiZhang12

OK, thanks for your reply. I will try again.

------------------ 原始邮件 ------------------ 发件人: "Jingwei @.>; 发送时间: 2022年3月2日(星期三) 下午3:02 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [open-mmlab/mmtracking] I can't get a good performance by ByteTrack (Issue #445)

You can download the latest code and run the demo again.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

376498485 avatar Mar 02 '22 07:03 376498485

I have download the latest code, run the demo again without any hyper-parameters changing and get the following result: image I will appreciate it if you can help me to solve the following questions:

  1. There are not only pedestrians, but also cars. So how can I do to only detect pedestrians.
  2. It didn't perform as expected, there are many undetected pedestrians. So Is it related to the version of mmcv or mmdet?

376498485 avatar Mar 02 '22 14:03 376498485

You should load the pretrained checkpoint (downloaded before) of ByteTrack. Here is an example of a command: python demo/demo_mot_vis.py configs/mot/bytetrack/bytetrack_yolox_x_crowdhuman_mot17-private-half.py --input demo/demo.mp4 --output mot.mp4 --checkpoint checkpoints/MOT/bytetrack_yolox_x_crowdhuman_mot17-private-half_20211218_205500-1985c9f0.pth

JingweiZhang12 avatar Mar 03 '22 01:03 JingweiZhang12

Thank you! It works well!

------------------ 原始邮件 ------------------ 发件人: "Jingwei @.>; 发送时间: 2022年3月3日(星期四) 上午9:36 收件人: @.>; 抄送: @.>; "State @.>; 主题: Re: [open-mmlab/mmtracking] I can't get a good performance by ByteTrack (Issue #445)

You should load the pretrained checkpoint (downloaded before) of ByteTrack. Here is an example of command: python demo/demo_mot_vis.py \ configs/mot/bytetrack/bytetrack_yolox_x_crowdhuman_mot17-private-half.py \ --input demo/demo.mp4 \ --output mot.mp4 \ --checkpoint checkpoints/MOT/bytetrack_yolox_x_crowdhuman_mot17-private-half_20211218_205500-1985c9f0.pth

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you modified the open/close state.Message ID: @.***>

376498485 avatar Mar 03 '22 01:03 376498485

Excuse me. Where can I download the checkpoint?

AndrewGuo0930 avatar Mar 14 '22 14:03 AndrewGuo0930

https://download.openmmlab.com/mmtracking/mot/bytetrack/bytetrack_yolox_x/bytetrack_yolox_x_crowdhuman_mot17-private-half_20211218_205500-1985c9f0.pth

376498485 avatar Mar 15 '22 02:03 376498485