I see these guideline to convert tflite to npu tflite model.
The first guideline: https://docs.nxp.com/bundle/AN14700/page/topics/model_conversion_for_npu.html It is interactive guideline. In this guideline, NXP said that we need to choose right MCUXpresso SDK version. It seems that this guideline is for eIQ Toolkit 1.17.0.110 Ubuntu 20.04.03 Installer. Is that right?
The second guideline: https://docs.nxp.com/bundle/AN14700/page/topics/eiq_enablement.html It uses command line
neutron-converter --input mobilenet_quant.tflite --output mobilenet_npu.tflite --dump-header-file-input --dump-header-file-output --target imxrt700 --use-sequencer
I downloaded eIQ Neutron SDK 3.1.2 (Linux package) and I could run the about command to create npu_tflite model. But in this case, it did not mention about compatible MCUXpresso SDK version. It makes me confused. An I am not sure whether I can used the created npu model in example of MCUXpresso SDK without knowing version.
Do you have any comment on this problem?
@anthony_huereca Could you help me in this case? I ask in the Wednesday, and maybe you missed this post. Thank you.
The Neutron Converter enablement has been reorganized since that app note was written. The latest Neutron Converter can now be found in latest eIQ Neutron SDK. Also inside the eIQ Neutron SDK is the Neutron libraries to use in your project. See this post for details: https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs-Knowledge/How-to-Update-eIQ-Projects-with-the-La...
If you use a model converted with the 3.1.2 Neutron Converter then you'll get an mismatch error if you try to run it with the MCUXpresso SDK 26.03. However you can easily update the MCUXpresso SDK 26.03 projects to use the 3.1.2 Neutron libraries to get it to work. You can also follow the latest eIQ NPU MCU labs (RT700 and MCX N) which go through this process.
The app note is already in the process of being updated to reflect the new enablement flow.