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.

TDA4VM: edgeai-tidl-tools,在evm板上运行推理程序报错

Part Number: TDA4VM

您好,

请问在板端运行onnxrt_ep.py报下面错误,该如何解决呢?

root@j721e-evm:/opt/edgeai-tidl-tools/examples/osrt_python/ort# python3 onnxrt_ep.py
Traceback (most recent call last):
  File "/opt/edgeai-tidl-tools/examples/osrt_python/ort/onnxrt_ep.py", line 18, in <module>
    from common_utils import *
  File "/opt/edgeai-tidl-tools/examples/osrt_python/common_utils.py", line 49, in <module>
    SOC = os.environ["SOC"]
  File "/usr/lib/python3.10/os.py", line 680, in __getitem__
    raise KeyError(key) from None
KeyError: 'SOC'