PaddlePaddle / PaddleDetection

Object Detection toolkit based on PaddlePaddle. It supports object detection, instance segmentation, multiple object tracking and real-time multi-person keypoint detection.
Apache License 2.0
12.59k stars 2.86k forks source link

Error MTMCT + DeepSorTTracker #7809

Open dFuong opened 1 year ago

dFuong commented 1 year ago

问题确认 Search before asking

Bug组件 Bug Component

Deploy

Bug描述 Describe the Bug

I meet a trouble like this image

Can you help me ?

复现环境 Environment

Linux Paddle:2.2 Python3.7 Branch: develop

Bug描述确认 Bug description confirmation

是否愿意提交PR? Are you willing to submit a PR?

zx377262372 commented 1 year ago

我丢哥们 我们俩提的同一个问题

zx377262372 commented 1 year ago

你已经有pr了吗

dFuong commented 1 year ago

@zhiboniu Please help me, I need your reply as soon as possible.

zx377262372 commented 1 year ago

maybe u need to look this, I edit like this then it works as I want

zx377262372 commented 1 year ago

image

dFuong commented 1 year ago

Another question, when I run mtmct with multi-rstp "no tracking object mtmct will be skipped" it doesn't continuously work. image @zx377262372 @zhiboniu Do you meet this mistake ?

dFuong commented 1 year ago

image

I edited code as your guide but it doesn't have change

zhiboniu commented 1 year ago

Another question, when I run mtmct with multi-rstp "no tracking object mtmct will be skipped" it doesn't continuously work.

this found no target in video, so there's no need to run mtmct any more. you should check is the video has target or is the detection work ok?

dFuong commented 1 year ago

Thanks your reply, I've individually tested rtsp which worked with detection model.

zhiboniu commented 1 year ago

the first problem, "zip argument #3 must support iteration" means the third argument "pred_embs" is not a iterable data. you should check what the "pred_embs" actually is.

dFuong commented 1 year ago

When using DeepSort tracker I met an trouble but I change the others tracker it's ok

zhiboniu commented 1 year ago

'pred_embs' is a part of deepsort,so this error may caused by variable pred_embs

dFuong commented 1 year ago

I've debugged but I can't running Anyone help me ?

nemonameless commented 1 year ago

please use release/2.6, and refer to this doc https://github.com/PaddlePaddle/PaddleDetection/tree/release/2.6/deploy/pptracking/python#4-%E8%BD%A6%E8%BE%86%E8%B7%A8%E9%95%9C%E5%A4%B4%E8%B7%9F%E8%B8%AA%E6%A8%A1%E5%9E%8B%E5%AF%BC%E5%87%BA%E5%92%8C%E9%A2%84%E6%B5%8B

dFuong commented 1 year ago

I run with comment python deploy/pptracking/python/mot_sde_infer.py --model_dir=output_inference/mot_ppyoloe_l_36e_pipeline/ --reid_model_dir=output_inference/deepsort_pplcnet/ --mtmct_dir=mtmct-demo --mtmct_cfg=deploy/pptracking/python/mtmct_cfg.yml --tracker_config=deploy/pptracking/python/tracker_config.yml --device=GPU --threshold=0.5 --save_mot_txts --save_images

Meet an error Screenshot 2023-03-16 091710

Script of tracker_config.yml Screenshot 2023-03-16 091517

nemonameless commented 1 year ago

--model_dir=output_inference/mot_ppyoloe_l_36e_pipeline/ is pedestrian detection model, not vehicle detection model.

please run as the doc https://github.com/PaddlePaddle/PaddleDetection/tree/release/2.6/deploy/pptracking/python#4-%E8%BD%A6%E8%BE%86%E8%B7%A8%E9%95%9C%E5%A4%B4%E8%B7%9F%E8%B8%AA%E6%A8%A1%E5%9E%8B%E5%AF%BC%E5%87%BA%E5%92%8C%E9%A2%84%E6%B5%8B

dFuong commented 1 year ago

I read this script, but I need to run mtmct for personal task.
Do you have any suggestions ? Please help me @nemonameless ?