Maskrcnn-benchmark: AP=0 but the prediction seems good~

Created on 7 Mar 2019  ·  6Comments  ·  Source: facebookresearch/maskrcnn-benchmark

❓ Questions and Help

I used my own datasets, but named same as coco.
when i run test_net.py using trained model, but got AP=0
but i saw the scores in segs.json is high.
And then i predict some images, the results seems good.
Could you help me with this problem?
Thanks~

Most helpful comment

Looks like there is a problem in your validation set.
You can try to visualize your validation data first.
In cocoapi, there is a demo script for it.
Visualize

All 6 comments

Looks like there is a problem in your validation set.
You can try to visualize your validation data first.
In cocoapi, there is a demo script for it.
Visualize

Looks like there is a problem in your validation set.
You can try to visualize your validation data first.
In cocoapi, there is a demo script for it.
Visualize

I had the same issue and the script you mentioned helped debugging, thanks. In fact, the mistake I made was in the numbering of the annotation objects in my own coco-style dataset. I thought the annotation's "id" must be unique per image, but it seems they have to be unique per data set. This led to use wrong annotations. @mitsuix Maybe good to check for you as well?!

Looks like there is a problem in your validation set.
You can try to visualize your validation data first.
In cocoapi, there is a demo script for it.
Visualize

I've tried the above script, my validation dataset is right, but i still got AP=0.
Any other possible reason?

I have the same problem, any update?

I have the same problem in coco_2017_val,all AP=0。

I also have the same problem, any update?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

krumo picture krumo  ·  3Comments

auroua picture auroua  ·  3Comments

adityaarun1 picture adityaarun1  ·  3Comments

CF2220160244 picture CF2220160244  ·  3Comments

Idolized22 picture Idolized22  ·  3Comments