make
set up in your environment. If you're unfamiliar with these tools you can build binaries directly for your development board from the Deployment page in the studio..zip
file.edge-impulse-sdk/
, model-parameters
and tflite-model
directories from the downloaded '.zip' file into the edge_impulse/
directory of the example-standalone-inferencing-ti-launchxl repository. Make sure to overwrite any existing files in the edge_impulse/
directory.ei_main.cpp
. In this minimal code example, inference is run from a static buffer of input feature data. To verify that our embedded model achieves the exact same results as the model trained in Studio, we want to copy the same input features from Studio into the static buffer in ei_main.cpp
.ei_main.cpp
paste the raw features inside the static const float features[]
definition, for example:ei_main.cpp
to run classification on live data.gcc/makefile
file in the standalone example repository, and define custom paths to your installed dependencies.SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR
on line 2 of the makefile, and add the following definitions at the top of the makefilegcc/
folder of the standalone firmware repo, run:/Applications/ti/uniflash_6.4.0
on macOS) to your PATH on:System Preferences->Security Settings->Unlock Icon (Bottom Left)
and then approving the blocked script.tools/71-ti-permissions.rules
to /etc/udev/rules.d/
. Then re-attach the USB cable and try again.gcc/build/edge-impulse-standalone.out
binary file may be flashed to the LaunchPad using the UniFlash GUI or web-app. See the Texas Instruments Quick Start Guide for more info.