This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] CC3235SF:TensorFlow Lite Micro 示例未编译

Guru**** 2484615 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/wi-fi-group/wifi/f/wi-fi-forum/1263724/cc3235sf-tensorflow-lite-micro-examples-does-not-compile

器件型号:CC3235SF

您好!

我在编译 TensorFlow Lite Micro 示例时遇到问题。
我已尝试按照此处的说明进行操作:

https://github.com/TexasInstruments/tensorflow-lite-micro-examples


我有采用 CC32XX 器件封装的最新 CCS。 我已安装最新的 CC32XX SDK

错误消息:
调用'tflite::MicroInterpreter::MicroInterpreter (const tflite::Model *&、tflite:::AllOpsResolver&、uint8_t [2000]、const int&、tflite::ErrorReporter *&)' main_functions.cc /hello_world_CC3235xL_nortos_cc/c_world_guide_cc/c+ problem

/resized-image/__size/640x212/__key/communityserver-discussions-components-files/968/pastedimage1693135421453v1.png

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Attila:

    我们将对此进行研究、并会尽快与您联系。

    此致、

    AVI E

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Attila:

    转到项目中的 main_functions.cc、并将第65行更改为:

      // Build an interpreter to run the model with.
      static tflite::MicroInterpreter static_interpreter(
          model, resolver, tensor_arena, kTensorArenaSize); //, error_reporter);
      interpreter = &static_interpreter;

    进行此修改后、我能够 成功编译和运行此示例。

    tensorflow lite 库大多数都发生了变化、 除了 error_reporter 之外。 我们将尝试更新此值以供将来 使用。

    此致、

    AVI E

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    请注意、 readme.md 也是错误的。 复制粘贴问题。 这两个设备的部署说明相同。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    好的、我会更新维护人员。