Converting onnx model to tflite micro, FastestDet.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Converting onnx model to tflite micro, FastestDet.

662件の閲覧回数
SungWonJung
Contributor I

Hi, I’m working on an object detection project using one of the models from the NXP eIQ Model Zoo, specifically FastestDet. I’ve trained the model on my own dataset and successfully exported it to ONNX format using the official FastestDet GitHub repository.

Now, I’d like to convert the ONNX model to TFLite format, similar to how the dperson_shufflenetv2.tflite model is provided in the eIQ Model Zoo. However, I couldn’t find any clear guidance on how to structure or convert FastestDet to TFLite properly for use with eIQ.

In the case of NanoDet, there is a recipe.sh script and other well-organized resources in the eIQ Model Zoo to assist with conversion and deployment. Is there anything similar available for FastestDet — like a recipe script, conversion guide, or example configuration? I’d really appreciate any help or recommendations. Thank you!

0 件の賞賛
返信
3 返答(返信)

627件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @SungWonJung 

Please install eIQ tool and convert onnx to tflite.

Best Regards,
Zhiming

0 件の賞賛
返信

571件の閲覧回数
SungWonJung
Contributor I

Thank you for your response.

I trained a model using my own dataset by following the official FastestDet GitHub repository.

However, when I tried to convert the trained model using the eIQ Toolkit, I noticed that operations like RELU6 and NHWC input shape (i.e., proper Transpose) were not applied.

In this case, do I need to manually modify the model architecture (e.g., replace ReLU with ReLU6, adjust layout to NHWC) before conversion?

 

0 件の賞賛
返信

552件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @SungWonJung 

In this case, the model needs to be adjusted about RELU6 and NHWC.

Best Regards,
Zhiming

0 件の賞賛
返信