-
Notifications
You must be signed in to change notification settings - Fork 109
Keras Mask RCNN: Fatal error: CropAndResize is not a registered function/op #450
Comments
(1) Make sure you pull latest keras2onnx and onnxconverter-common from master. We have nightly build for mask rcnn for onnxruntime 1.1 here |
It's not working with onnxruntime 1.2.0
(2) I copied
However, both |
Yes onnxruntime 1.2.0 has some changes on |
Thanks @jiafatom , the patch works! 👍 |
The patch is merged into master branch as PR. So the master branch can convert the model on onnxruntime 1.2.0. |
I followed the Mask RCNN convert instruction from https:/onnx/keras-onnx/tree/master/applications/mask_rcnn, and copied
convert_tf_crop_and_resize
function from test_utils, converting seems fine with warnings:But error occurs when onnxruntime inference:
onnxruntime.capi.onnxruntime_pybind11_state.Fail: [ONNXRuntimeError] : 1 : FAIL : Fatal error: CropAndResize is not a registered function/op
FYI my onnxruntime version is 1.2.0 and keras2onnx is 1.7.0
The text was updated successfully, but these errors were encountered: