I have some issue while convert the EfficientDet D0 onnx to IR Format.
System information (version)
- OpenVINO 2021.4.582
- Operating System / Platform => Windows 10
- Problem classification: Model Conversion
- Framework: TensorFlow
- Model name: EfficientDet D0 512x512
In order to convert the tensorflow saved_model.pb to onnx, I run TensorRT create_onnx.py and it work successfully.
And I tried to use the model optimizer mo_onnx.py convert the exported onnx file to IR format, some error shown as below.
Thank you for reaching out to us and thank you for using OpenVINO™ Toolkit.
For your information, I have successfully converted EfficientDet models trained with the TensorFlow Object Detection API (TFOD) to Intermediate Representation (IR) using OpenVINO™ Toolkit 2021.4.1.
Please use the following command to convert your TensorFlow Object Detection EfficientDet D0 using OpenVINO™ Toolkit 2021.4.1 Model Optimizer:
python mo_tf.py \ --saved_model_dir="<path_to_saved_model_dir>\saved_model" \ --input_shape=[1,512,512,3] \ --reverse_input_channels \ --tensorflow_object_detection_api_pipeline_config="<path_to_pipeline.config>\pipeline.config" \ --transformations_config="<path_to_model_optimizer>\extensions\front\tf\efficient_det_support_api_v2.0.json"
Thanks for reaching out to us.
I noticed that you have posted a similar question in the OpenVINO community.
Hence, I would like to notify you that we will continue our conversation at the following thread:
Thanks for your information.
Good to know my previous reply was helpful to you.
I have converted the EfficientDet model trained with the TensorFlow Object Detection API (TFOD) to the ONNX model using the create_onnx.py from TensorRT. I encountered the same error as you did when converting the EfficientDet ONNX model into IR:
Cannot infer shapes or values for node "nms/non_maximum_suppression"
There is no registered "infer" function for node "nms/non_maximum_suppression" with op = "EfficientNMS_TRT". Please implement this function in the extensions.
Based on Supported Framework Layers, there is no “EfficientNMS_TRT” under the ONNX operation. Therefore, we regret to inform you that “EfficientNMS_TRT” is yet to be supported in OpenVINO™ Toolkit.
On another note, do you want to initiate a feature request for this case? If yes, we might contact you for some information (business goal, cost-saving, etc) as part of the feature request process.
Thank you for your question.
If you need any additional information from Intel, please submit a new question as this thread is no longer being monitored.