在 Arduino 示例草图上部署的 Tensorflow-lite hello_world

Tensorflow-lite deployed on Arduino example sketch hello_world

当我尝试验证代码时,IDE 告诉我编译板程序失败。我只试过 Windows

extern int tflite_micro_main(int argc, char* argv[]);

void setup() {
  tflite_micro_main(0, NULL);
}

void loop() {
}

在 C:\Users\jangi\Documents\Arduino\libraries\hello_world\src\tensorflow\lite\core\api\error_reporter.cpp:15:0:

包含的文件中

C:\Users\jangi\Documents\Arduino\libraries\hello_world\src/tensorflow/lite/core/api/error_reporter.h:18:19: 致命错误: cstdarg: 没有那个文件或目录

编译终止。

退出状态 1

我认为您可能正在针对目前不受支持的 Arduino Uno 进行构建。官方示例适用于 Arduino Nano 33 BLE - 您可以在开发板管理器中找到它。