mean_average_precision icon indicating copy to clipboard operation
mean_average_precision copied to clipboard

Sample code for num_classes>1 for ver 0.0.2.1

Open ne1114 opened this issue 4 years ago • 2 comments

Hello,

Thank you so much for such a useful library.

If you don't mind sharing, could you provide me a sample code when num_classes is larger than 1, please? Thank you!

ne1114 avatar Sep 04 '20 18:09 ne1114

@ne1114 sorry for the late response. You can use sample code straight forward for more than one classes using class_id fields in preds/gt

bes-dev avatar Sep 28 '20 23:09 bes-dev

new release 2021.4.23 solves 0.0.2.1 problem when not all classes were used to calculate the mAP (which throwed an error)

https://pypi.org/project/mean-average-precision/2021.4.23.0/

bonastreyair avatar Apr 26 '21 09:04 bonastreyair