Detectron2 evaluation COCO Evaluator Test AP of your detectron2 Mask-RCNN models in a minute

Pallawi
Feb 14, 2022

Sharing the code and line by line explanation of what you can do to evaluate your detectron2 model using coco evaluation metrics.

Create your detectron2 instance segmentation custom configuration using the below code:

Save the model when the training begins with this code:

Run COCO Evaluator after training on your custom test dataset:

--

--

Pallawi

Computer Vision contributor. Lead Data Scientist @https://www.here.com/ Love Data Science.