onnx / models

A collection of pre-trained, state-of-the-art models in the ONNX format

Home Page:http://onnx.ai/models/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MaskRCNN model inference labelid do not match to coco gt annotation

oriolorra opened this issue · comments

Ask a Question

Hi,
I am trying to get mAP for COCO val 2017 dataset with this model MaskRCNN-12-int8.onnx.
But, the category id does not match between the output and the gt annotations instances_val2017.json.
For example, image 00000397133.jpg has some spoons that model gives id 46, but in annotations is id 50.

Question

What am I doing wrong?

Further information

Ubuntu 22.04
Python 3.10
onnxruntime 1.14.1

Is this issue related to a specific model?
Model name: MaskRCNN-12-int8.onnx
Dataset: coco_val2017

Hi @oriolorra did you manage to convert MaskRCNN from matterport repository to onnx?

No, I tried some months ago, and I failed again and again.
I downloaded it from here https://github.com/onnx/models/tree/main/vision/object_detection_segmentation/mask-rcnn

I'm struggling for weeks and I can't find a way