PaddlePaddle / PaddleDetection

Object Detection toolkit based on PaddlePaddle. It supports object detection, instance segmentation, multiple object tracking and real-time multi-person keypoint detection.
Apache License 2.0
12.59k stars 2.86k forks source link

求教问题 #9084

Open 11075225 opened 1 month ago

11075225 commented 1 month ago

问题确认 Search before asking

请提出你的问题 Please ask your question

在eval模型时如何计算并显示mAP数值

Bobholamovic commented 1 month ago

请问是什么格式的数据集呀?

11075225 commented 1 month ago

自己做的Coco数据集格式

----------回复的邮件信息---------- Lin @.***> 于2024年8月7日(周三) 中午11:21写道:

请问是什么格式的数据集呀?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

11075225 commented 1 month ago

自己做的coco数据集格式

Bobholamovic commented 1 month ago

coco数据集暂不支持计算map,目前voc格式是支持的(在配置文件中将metric调整为VOC)~

11075225 commented 1 month ago

只需要改这个参数就能计算coco数据集格式的map值吗,还是只能计算voc格式的

Bobholamovic commented 1 month ago

目前只能计算VOC格式的

Bobholamovic commented 1 month ago

你好,不好意思,我之前的回答有误,PaddleDetection的验证阶段日志是类似这样的:

 Average Precision  (AP) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.414
 Average Precision  (AP) @[ IoU=0.50      | area=   all | maxDets=100 ] = 0.588
 Average Precision  (AP) @[ IoU=0.75      | area=   all | maxDets=100 ] = 0.448
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.241
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.439
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.581
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=  1 ] = 0.340
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets= 10 ] = 0.563
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.620
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.435
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.666
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.794
[07/11 02:34:03] ppdet.engine INFO: Total sample number: 4952, averge FPS: 12.174668660128468

其中是给出了mAP数值的哈~COCO数据集也是支持的。

11075225 commented 1 month ago

那mAP数值要自己计算吗,还是上面第一行就是mAP数值

Bobholamovic commented 1 month ago

我确认了一下,这里给出的是mAP数值(各种IoU下),PaddleDetection在这里采用的就是COCO API给出的标准格式的结果~

TingquanGao commented 4 weeks ago

The issue has no response for a long time and will be closed. You can reopen or new another issue if are still confused.


From Bot