Question/Issue:
[Recent deployment of the same model keeps printing wrong/default values]
Project ID:
[686078]
Context/Use case:
[I have collected datasets from a custom sensor and trained both a DNN and CNN model for a regression task, to predict respiratory rate.
In the past the model is able to work on the Edge Impulse Studio and on the microcontroller, but however recently after training my model with new data and deploying it to the microcontroller, the model does not seem to be working fine
I have chosen to deploy as an cubeMX CMSIS pack. Once i import into my project, and run in debug mode, the model prints out the feature vector (which changes based on the sensor) but the predicted value from the model on the microcontroller is a constant value of 0.13487, no matter what i do… And this value is not within the expected range of 6 to 22 bpm
Wierd thing is, if i copy the feature vector printed on the screen and paste in edge impulse to simulate model testing, the model seems to run fine… even with feature vector i copied from the terminal for which the model has failed to predict correctly on the microcontroller
Find screenshot attached]
Environment:
- Platform: [ STM32 Discovery kit]
- Build Environment Details: [STM32]
- OS Version: [Nil]
- Edge Impulse Version (Firmware): [Not sure]