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.
我在pc端使用官方提供的onnxrt_ep.py推理模型时有设置tidl_tools_path为tidl_tools文件夹的路径,在开发板上用onnxrt_ep.py推理模型时的tidl_tools_path之前问官方回答是设置为"",请问开发板上是否用到了tidl_tools,如果用到了那这个文件夹是在哪里呢?另外请问pc端官方提供的onnxrt_ep.py、common_utils.py、onnx_main.cpp和板子里官方提供onnxrt_ep.py、common_utils.py、onnx_main.cpp的内容以及代码运行过程是否一样呢?
您好,
请问开发板上是否用到了tidl_tools,如果用到了那这个文件夹是在哪里呢?
EVM 上不需要 tidl_tools。 可以设置为""。 tidl_tools 是在模型编译期间使用,所有编译的工件都是 EVM 推理所需的工件文件夹的一部分。
另外请问pc端官方提供的onnxrt_ep.py、common_utils.py、onnx_main.cpp和板子里官方提供onnxrt_ep.py、common_utils.py、onnx_main.cpp的内容以及代码运行过程是否一样呢?
Python 文件可以在 EVM 上运行,但 CPP 示例需要针对目标 EVM 进行构建,而不是针对 PC 执行进行构建。 您可在此处找到所需目标的交叉编译步骤:https://github.com/TexasInstruments/edgeai-tidl-tools/tree/master/examples/osrt_cpp#build
详情请见英文论坛答复: