2024-08-27 06:29 AM
I have a STEVAL-PROTEUS device that I collected data with and NanoEdgeAI returned a model that has very high accuracy (almost 100%). In fact, during the validation step on NEAI, the emulator returns very accurate results as well. However, in the deployment step, after compilation (I left everything as default but these are the settings), and replacing the the NCC stub library provided in FP-AI-PDMWBSOC, the results are very poor and totally unlike the results from the emulator.
Has anyone seen this or has any idea what might be wrong?
2024-08-27 07:58 AM
Hello @t_mo ,
In my opinion, here are possible explanation for the issue that you are facing:
If it doesn't help, you can use the datalogger source code instead of the function pack code if you want. You will find a project for every board supported by the NanoEdge AI Studio data logger. Just find the Proteus and select your sensor. (make sure to clone the project with the command in the readme)
In the proteus datalogging code, change your settings (datarate, buffer size and range) and you will see that there is variable NEAI_MODE that controls if you are datalogging or using the code for anomaly detection.
To change the code from anomaly detection to n class classification, it is pretty easy. You need to:
You can also take a look at this ncc tutorial, it is not the same board, but the process is the same:
If you still need help, do not hesitate to reach out.
Julian
2024-08-27 11:05 AM
Thanks for the reply, Julian. I would like to address your points above for the function pack since I am trying to evaluate the model without having to change too much code -
I wonder if there is some step that I am missing that is not specified in the quick start guide.
Thank you!