09-13-2021 08:24 AM
Hello,
I have trained a model using the getting started tutorial with the 8 sensors development board. I have another BME688 sensor with an ESP32 board, how can I deploy the model to this to perform live inference ?
thanks
Solved! Go to Solution.
09-14-2021 02:22 AM
Hello KejaPower,
You can use it your own config file with BSEC 2.
In AI studio, You can export your alogorithm as config file. (There is "Export as BSEC Config File" in My algorithms tap after you train your data )
That's exactly same type of config file what BSEC 2 is using. (File type shall be c and h files for BSEC 2. )
After that you can use your own config file to replace with original config file in BSEC 2.
Thanks,
Thanks,
10-29-2021 02:10 PM
Hello,
Thanks for the answer, it works with the Bosch Development kit and I m now trying to see if I can use that exported model on the Arduino Nicla board.
When I export the model I see 4 files , .c , .hh , .csv, .config
I assume the .config is a binary, is there a way to use the .c and .h file with the Nicla Board (or other board connected to the BME688 )
Regards
Nicolas
10-29-2021 10:42 PM
Correct.
You need to replace config file in BSEC 2 with your own config file. ( .c and .h file)
Please copy and paste your .c / .h config files in target folder.
And, you need to include it in your code.
Thanks,
10-30-2021 09:51 AM
Ok, thanks I have some follow up questions :
1. once I have done hat, what is the function I need to call to load my custom config ?
2. Once the custom config is taken into account, what function do I need to call to get the inference results for the classification ?
Regards,