Error messageRuntimeError: Unexpected error on find the converter for op <class 'mrcnn.model.BatchNorm'>
MaskRCNN's BatchNorm corresponds to BatchNormalization in onnx's Operator Schemas,
but the names are different, so we get an error.
System information
OS Platform and Distribution : windows10
ONNX version : 1.9.0
Python version: : 3.7.10
keras2onnx : 1.8.0
tensorflow-gpu =1.14.0 (MaskRCNN is not well compatible with tf2.x.)
keras : 2.2.4
I'm trying to convert a MaskRCNN model (.h5) to .onnx with keras2onnx.
Execution code
keras2onnx.convert_keras(model.keras_model, "test1.onnx", target_opset=11)
Error message
RuntimeError: Unexpected error on find the converter for op <class 'mrcnn.model.BatchNorm'>
MaskRCNN's BatchNorm corresponds to BatchNormalization in onnx's Operator Schemas, but the names are different, so we get an error.System information OS Platform and Distribution : windows10 ONNX version : 1.9.0 Python version: : 3.7.10 keras2onnx : 1.8.0 tensorflow-gpu =1.14.0 (MaskRCNN is not well compatible with tf2.x.) keras : 2.2.4
Reproduction instructions using maskRCNN
Expected behavior Mask_all.onnx is generated by converting mask_all.h5.