Hi
I need to convert a tensorflow-model so that it will run on a LPC43S57-Chip using CMSIS-NN.
What I have so far:
Created a small, simple network using Python 3.7.9, Keras 2.4.3 and coverted it to onnx using onnxmltools 1.7.0.
I downloaded the "Glow Installer for windows" from your website, installed it and ran the model-compiler command to received the folder as the output as expected.
I have two questions:
- In this video you mention a quantization-profile and use the "image-classifier" command. What command is to use if the input to the model is NOT a picture?
- As stated, I need to use the CMSIS-NN library. The functions of the CMSIS-NN-library expect arrays for the different layers for their weightes and biases. The output of model-compiler (glow) seems to store the weights and bias information inside the "xxx.weights.txt" file but they are not organized so that they can be used with CMSIS-NN. How do you organize the values inside "xxx.weights.txt" so that they can be used with CMSIS-NN?
Best