Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

paddledetection infer_mot.py 预测mot/jde/jde_darknet53_30e_1088x608.yml 出现multiclass_nms3报错 #9228

Open
1 task done
18325391772 opened this issue Nov 28, 2024 · 2 comments
Assignees

Comments

@18325391772
Copy link

问题确认 Search before asking

  • 我已经搜索过问题,但是没有找到解答。I have searched the question and found no related answer.

请提出你的问题 Please ask your question

使用官方模型预测mot/jde/jde_darknet53_30e_1088x608.yml报错
image

@liuhongen1234567
Copy link
Collaborator

您好,可以改一下 mot/jde/jde_darknet53_30e_1088x608.yml 配置文件中的 nms_top_k 和 keep_top_k, 把这两个改成一个小于231的值即可,比如都改成200. 官方示例中视频中的检测框可能比较多,所以才设置成2000. 我这边随便下了一个视频,然后修改后是没有问题的。
image

@liuhongen1234567
Copy link
Collaborator

liuhongen1234567 commented Dec 12, 2024

这两个参数在配置文件的这个地方

keep_top_k: 500
score_threshold: 0.01
nms_threshold: 0.4
nms_top_k: 2000

image ,我这边验证用的是这个视频 wget https://bj.bcebos.com/v1/paddledet/data/mot/demo/entrance_count_demo.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants