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

mAP = nan #115

Open
vivva opened this issue Apr 24, 2021 · 2 comments
Open

mAP = nan #115

vivva opened this issue Apr 24, 2021 · 2 comments

Comments

@vivva
Copy link

vivva commented Apr 24, 2021

Hello !

I only used the first four categories for training and testing, taking four videos for each category. Due to the limitation of computer, I can't train the SSN model. So I directly use the reference model to extract the test score of the proposal. When I run

'python ssn_test.py thumos14 RGB None bninception_thumos14_imagenet_rgb_2.scores.npz --use_reference'
I set num class to 20 to get the test score.

But when I run

python eval_detection_results.py thumos14 bninception_thumos14_imagenet_rgb_2.scores.npz
it shows up:

If I set num class to 4 and run '`python eval_detection_results.py thumos14 bninception_thumos14_imagenet_rgb_2.scores.npz
' again, there will be a size mismatch error.

How can I solve it?

@vivva
Copy link
Author

vivva commented Apr 24, 2021

Uploading 2021-04-24 15-49-09屏幕截图.png…

@vivva
Copy link
Author

vivva commented Apr 24, 2021

it shows up:
Performing nms...
NMS Done.
Performing location regression...
Regression Done.
Calling mean AP calculator from toolkit with 32 workers...
Evaluation done.

+Detection Performance on thumos14+------+------+------+------+------+------+---------+
| IoU thresh | 0.10 | 0.20 | 0.30 | 0.40 | 0.50 | 0.60 | 0.70 | 0.80 | 0.90 | Average |
+------------+------+------+------+------+------+------+------+------+------+---------+
| mean AP | nan | nan | nan | nan | nan | nan | nan | nan | nan | nan |
+------------+------+------+------+------+------+------+------+------+------+---------+

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