Hej,
I fully agree with your suggested first step to check if the CIFAR10 project can run successfully. I did this and the example project from the NXP Application Code Hub can run successfully. So, regarding the NXP tutorial [1] this is step 7. This step 7 is fine.
So the step before in the tutorial is step 6 "Convert to TensorFlow Lite for Neutron (.tflite)". How to check if this step run successfully ?
Well, luckily within the CIFAR10 project two models [2][3] are included. One is the created, the other one ie the converted. Based on the created model, I converted the model again to verify if the eIQ converter works. To my surprise, I get different results.
So it looks like the is a bug in some version of the Neutron converter. Do you agree ?
Here are the steps to verify:
1) Download the CIFAR10 project from NXP Application Hub. The are two models included. One is the created model [2]. The other one [3] is the converted model (converted with the Neutron converter).
2) In eIQ, open "Model tool" and "Open Model" and open the converted model [2]. This is my reference to which I compare everything.
3) In eIQ, open "Settings" and set the Neutron converter version to "MCUXpresso SDK 2.15.003". Close "Settings" and open "Model tool" and "Open model" and open the unconverted model [2]. Now in the menu, open "Convert" and "TensofFlow Lite for Neutron (*.tflite)" and choose the Neutron target "mcxn94x" and press the button "Convert" and save the converted model somewhere. This step is fine now. Now eIQ, open "Model tool" and "Open Model" and open the your converted model and compare it with the one from [1]. You hopefully realise a difference to the model from NXP in step 2)
4) In eIQ, open "Settings" and set the Neutron converter version to "MCUXpresso SDK 2.14.0". Close "Settings" and open "Model tool" and "Open model" and open the unconverted model [2]. Now in the menu, open "Convert" and "TensofFlow Lite for Neutron (*.tflite)" and choose the Neutron target "mcxn94x" and press the button "Convert" and save the converted model somewhere. This step is fine now. Now eIQ, open "Model tool" and "Open Model" and open the your converted model and compare it with the one from [1]. You hopefully realise no difference to the model from NXP in step 2)
5) In eIQ, open "Settings" and set the Neutron converter version to "MCUXpresso SDK 2.13.1". Close "Settings" and open "Model tool" and "Open model" and open the unconverted model [2]. Now in the menu, open "Convert" and "TensofFlow Lite for Neutron (*.tflite)" and choose the Neutron target "mcxn94x" and press the button "Convert" and save the converted model somewhere. This step is fine now. Now eIQ, open "Model tool" and "Open Model" and open the your converted model and compare it with the one from [1]. You hopefully realise no difference to the model from NXP in step 2)
[1] https://community.nxp.com/t5/MCX-Microcontrollers-Knowledge/MCXN947-How-to-Train-and-Deploy-Customer...
[2] mobilenet_v1_0.25-cifar10_128_128.tflite
[3] mobilenet_v1_0.25-cifar10_128_128_converted.tflite