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

你好,请问该份代码是否可以用于其他场景的检测,比如检测多种不同的车(bus/car/train),这种多类别的情况? #9

Open
cmcamdy opened this issue May 15, 2021 · 1 comment

Comments

@cmcamdy
Copy link

cmcamdy commented May 15, 2021

你好,我在test输出数据的时候print了predbbox和score,发现bbox的数据集中在第二个bbox中:
-> print(scores[index])
(Pdb) r
[9.9988842e-01 6.6253820e-06 5.9292459e-05 4.0550061e-05 5.0738868e-06]
[ 0. 0. 0. 0. 0. 0.
0. 0. 43.752 96.91591 482.25037 96.84546
482.31024 469.7978 43.811916 469.86823 0. 0.
0. 0. 0. 0. 0. 0.
0. 0. 0. 0. 0. 0.
0. 0. 0. 0. 0. 0.
0. 0. 0. 0. ]
于是我就在猜想您的代码原来是写来检测text的,即检测单类别,那我如果用来检测多类别是否有哪里需要改动?

@cmcamdy
Copy link
Author

cmcamdy commented May 15, 2021

前者是score,表示5个类别的分数,后者是predbbox,每8个一组,但是奇怪的是数据只出现在第二组

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

1 participant