You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, at least for this particular model, the desired output nodes are actually the last 5 of these nodes: `output_names=[out.op.name for out in model.outputs][-5:])
Am I missing something?
The text was updated successfully, but these errors were encountered:
# main.py line no: 48print([out.op.nameforoutinmodel.outputs])
I am getting this values ['mrcnn_detection/Reshape_1', 'mrcnn_class/Reshape_1', 'mrcnn_bbox/Reshape', 'mrcnn_mask/Reshape_1', 'ROI/packed_2', 'rpn_class/concat', 'rpn_bbox/concat']
So all we need is the first four output values i.e: mrcnn_detection, mrcnn_class, mrcnn_bbox, mrcnn_mask.
I am not sure how you got those many values. You can replicate the above print statement and check.
`
Line 50 of main.py:
Correct me if I'm wrong, but using the first 4 output names [:4] of your output_names is not guaranteed to get the correct output node names.
What we really want are the 5 output nodes regarding Mask RCNN loss:
When I run
[out.op.name for out in keras_model.model.outputs]
I get 14 output nodes:
So, at least for this particular model, the desired output nodes are actually the last 5 of these nodes: `output_names=[out.op.name for out in model.outputs][-5:])
Am I missing something?
The text was updated successfully, but these errors were encountered: