Hi, we are trying to deploy the open-source object detection model ( https://www.tensorflow.org/lite/examples/object_detection/overview) on iMX.RT.1176 evk kit. We imported the tensorflow_lite_label_image example from the SDK v2.9.0. We have converted the object detection model .tflite file to c array using xxd. and replaced the model data and model length in the model_data.h file.
The object detection model contains custom operator TFLite_Detection_PostProcess as show below in the image.
Ramson_0-1626930907325.png
How to add the custom operator to the tflite::MutableOpResolver ?
Since its not added, we are getting the following error:
ERROR: Encountered unresolved custom op: TFLite_Detection_PostProcess.
ERROR: Node number 63 (TFLite_Detection_PostProcess) failed to prepare.
Failed to allocate tensors!
Failed initializing model
Please help. Thanks in Advance
Regards,
Ramson