HOW TO CALCULATE THE PRECISION AND RECALL AND IoU
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
mohd akmal masud
le 27 Juin 2022
Réponse apportée : Muskan
le 6 Sep 2023
Dear all,
I have the groundTruthlabel(g.mat) and prediction (tempSeg1.mat). all attached.
Anyone know how to calculate the precision, recall and IoU for my data?
I tried used this one but error.
[precision,recall] = bboxPrecisionRecall(idxx,tempSeg1)
Error using bboxPrecisionRecall
Expected boundingBoxes to be one of these types:
double, single, uint8, uint16, uint32, uint64, int8, int16, int32, int64
Instead its type was logical.
Error in bboxPrecisionRecall>validateNonTableInput (line 153)
validateattributes(bbox, {'numeric'},...
Error in bboxPrecisionRecall (line 110)
validateNonTableInput(boundingBoxes, 'boundingBoxes');
My data is 3D.
0 commentaires
Réponse acceptée
Muskan
le 6 Sep 2023
Hi Akmal,
I understand that you are trying to calculate the precision, recall and IoU metrics and you are getting errors while doing that.
I also see from the ‘.mat’ files attached that the type of “tempSeg1” is logical while the expected input type should be either of double, single, uint8, uint16, uint32, uint64, int8, int16, int32, int64.
You can refer to the following documentation for a better understanding of the issue:
I hope the above information helps resolve your query.
Thanks
0 commentaires
Plus de réponses (0)
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!