COCO results:
Average Precision (AP) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.512
Average Precision (AP) @[ IoU=0.50 | area= all | maxDets=100 ] = 0.798
Average Precision (AP) @[ IoU=0.75 | area= all | maxDets=100 ] = 0.573
Average Precision (AP) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.191
Average Precision (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.397
Average Precision (AP) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.565
Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets= 1 ] = 0.443
Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets= 10 ] = 0.625
Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.632
Average Recall (AR) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.319
Average Recall (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.531
Average Recall (AR) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.677
mAP(IoU=0.5) for each category:
aeroplane : 0.8753141995190012
bicycle : 0.8466808382590398
bird : 0.8386935920049995
boat : 0.6672499606761113
bottle : 0.7188496493312971
bus : 0.8586308398228168
car : 0.870935280030881
cat : 0.9003052051938752
chair : 0.6304237906514033
cow : 0.8368120734488325
diningtable : 0.6166672284682384
dog : 0.8840554238307297
horse : 0.8607321365522124
motorbike : 0.8674344255722228
person : 0.9057066476290816
pottedplant : 0.5753096972905023
sheep : 0.858248932068312
sofa : 0.708768072293537
train : 0.8563969185870246
tvmonitor : 0.7775703364087823
————————————————
T = len(p.iouThrs) # [0.5, 0.55, …, 0.95]
R = len(p.recThrs) # [0, 0.01, 0.02, …, 1]
K = len(p.catIds) if p.useCats else 1
A = len(p.areaRng) # [[0, 10000000000.0], [0, 1024], [1024, 9216], [9216, 10000000000.0]]
M = len(p.maxDets) # [1, 10, 100]
precision = -np.ones((T, R, K, A, M)) # -1 for the precision of absent categories
recall = -np.ones((T, K, A, M))
scores = -np.ones((T, R, K, A, M))
T表示COCO计算时采用的10个IoU值,从0.5到0.95每间隔0.05取一个值。
R表示COCO计算时采用的每一个概率阈值,这里是从0到1每间隔0.01(即一个百分点)取一个值,共101的值。
K表示检测任务中检测的目标类别数,假设针对Pascal VOC数据集就为20。
A表示检测任务中针对的目标尺度类型,第一个表示没有限制,第二个代表小目标(area < 322),第三个代表中等目标(322 < area < 96^2),第四个代表大目标(area > 96^2),共4个值。
M为每张图片最大检测目标个数,COCO中有1,10,100共3个值。
注意,precision,recall初始化时,所有的数值都是等于-1的。