models icon indicating copy to clipboard operation
models copied to clipboard

Pre-trained Mask-RCNN model has no weights

Open ianormy opened this issue 4 years ago • 0 comments

My understanding of a pre-trained model is that it will not only contain the structure but also the weights. However, the Mask-RCNN pre-trained model you provide does not contain any weights:

import onnx
from onnx import numpy_helper

model = onnx.load('MaskRCNN-10.onnx')
init = model.graph.initializer
print("There are {} weights in the model.".format(len(init)))

ianormy avatar Jun 10 '20 10:06 ianormy