Calculating the miss rate for YOLOv2

3 visualizaciones (últimos 30 días)
raghad Abdulaziz
raghad Abdulaziz el 1 de Mayo de 2020
Respondida: Chetan Gupta el 13 de Jul. de 2021
I used:
[am, fppi, missRate] = evaluateDetectionMissRate(detectionResults, testData);
figure;
loglog(fppi, missRate);
grid on
title(sprintf('Log Average Miss Rate = %.1f', am))
But the Log Average Miss Rate is always = 1
I tried to plot the test images with the predicted bounding boxes, and my model does predict bounding boxes but i don't know why does this function give me the Log Average Miss Rate is always = 1 ???

Respuestas (1)

Chetan Gupta
Chetan Gupta el 13 de Jul. de 2021
Hi Raghad,
I understand that you are trying to calculate the log miss rate using evaluateDetectionMissRate(). But your second input argument is wrong.
If you are using image data store. You can go for this approach instead
blds = boxLabelDatastore(testData(:,2:end));
[am, fppi, missRate] = evaluateDetectionMissRate(detectionResults,blds);
You can refer to Evaluate miss rate metric for object detection - MATLAB evaluateDetectionMissRate (mathworks.com) for more information about evaluateDetectionMissRate() function and to Datastore for bounding box label data - MATLAB (mathworks.com) for information about boxLabelDatastore.

Categorías

Más información sobre Image display and manipulation en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by