open-mmlab / mmdetection

OpenMMLab Detection Toolbox and Benchmark
https://mmdetection.readthedocs.io
Apache License 2.0
28.48k stars 9.28k forks source link

Obtaining Precision and Recall metric values #10994

Open buyukkanber opened 9 months ago

buyukkanber commented 9 months ago

Hello,

I'd like to obtain precision and recall metric values based on weights that we have produced from the model training.
Any helpful suggestion?

iurimolina commented 9 months ago

an example !python /content/mmdetection/tools/test.py /content/drive/MyDrive/work_dirs/rtmdet_tiny_8xb32-300e_coco/rtmdet_tiny_8xb32-300e_coco.py /content/drive/MyDrive/epoch_180.pth --out /content/mmdetpkl.pkl --show-dir /content/saida5

buyukkanber commented 9 months ago

Thanks for the response.. however, this command doesn't print any metric but produces the mmdetpkl.pkl file where the results are written. I can get mAP scores, but I want also the Precision and Recall metric scores alone too.

rxqH commented 8 months ago

在coco_metric中 def compute_metrics函数中打断点可以查看精度指标

Z-Kamito commented 7 months ago

Hello, have you solved it?

Yanhui-Struggle commented 6 months ago

So painful T_T

xanderread commented 2 months ago

So painful T_T

is there really no solution? - what a pain

vedal commented 3 weeks ago

@buyukkanber maybe this is what you were looking for? At least it gives single-image mAP https://mmdetection.readthedocs.io/en/latest/user_guides/useful_tools.html#result-analysis