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.

[参考译文] AM69A:GCC 版本与 tflite_runtime 版本不兼容

Guru**** 2393725 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1487062/am69a-gcc-version-not-compatible-with-tflite_runtime-version

器件型号:AM69A

工具与软件:

您好!

在文档文件 Product_Release 3012.html 中,说是 GCC  版本11.3.0   建议构建 C7x-MMA-TIDL。 (请参阅相关问题)

然而、tflite_runtime 2.12 (在 edgeai_tidl_tools 设置中安装)是在 GCC 11.4.0下编译的。 所以,当做编译,我得到错误:  

Traceback (most recent call last):
  File "/home/developer/Documents/developpement/custom_layer/test/compile.py", line 4, in <module>
    import tflite_runtime.interpreter as tflite
  File "/home/developer/.pyenv/versions/j784s4/lib/python3.10/site-packages/tflite_runtime/interpreter.py", line 33, in <module>
    from tflite_runtime import _pywrap_tensorflow_interpreter_wrapper as _interpreter_wrapper
ImportError: /usr/local/gcc-11.3.0/lib64/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /home/developer/.pyenv/versions/j784s4/lib/python3.10/site-packages/tflite_runtime/_pywrap_tensorflow_interpreter_wrapper.so)

所以、  

 是否有推荐的方法将 tflite_runtime 2.12与 GCC 11.3.0一起使用以避免此类错误?

或者是 GCC 11.4.0命令,并且  TIDeepLearnstria.html 中存在印刷错误 Product_Release 吗?

谢谢!

Azer

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

    我不明白为什么这是 GCC 11.4从上述声明。  它看起来像 python 共享库错误。

    Chris

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

    您好!  

    保留 GCC 11.4.0并解决其他一些 SDK 问题对我有效。

    此致、

    Azer