Quick mAP per class in GluonCV?

I’m doing some SSD and FasterRCNN training for a 10-class detector. I’d like to obtain a per-class map data, similar to what is done here https://gluon-cv.mxnet.io/model_zoo/detection.html. What is the most compact way to achieve this?

hum just found out that it’s actually done by default by VOCMApMetric… nice!