请问有TinyML相关的资料或者示例代码吗?

没有在SDK代码中找到相关的文档资料和示例代码。
请问目前对于TinyML支持的情况如何?TFLite-micro之类的能不能跑?

1 个赞

可以参考这个链接 GitHub - gangheivt/tflite-cmsis: Infrastructure to enable deployment of ML models to SiFli embedded development board (Contain ARM based MCU with up to 128M bytes PSRAM, running at 240MHz HCLK). ,clone下来后,参考examples里的例子修改。
编译流程是:1.在tflite-cmsis/SiFli-SDK下启动powershell 然后运行install.ps1和export.ps1
2.然后cd到project目录, 以examples下面的hello_world为例,cd examples/hello_word/project, 运行scons命令,格式是scons --board=<board_name> -jN
需要注意.cc文件中的main函数被声明成 extern “C” int tf_main(int argc, char* argv)

1 个赞

增加了一个KWS的示例,可以实现关键字识别,客户自己可以通过 ML-zoo/models/keyword_spotting at master · Arm-Examples/ML-zoo · GitHub 自己训练。