Thread 中讨论的其他器件:AM68A、 AM69A、AM67A、 TDA4VM、TDA4VL、 TDA4VH
工具/软件:
问题:
我正在为9.x SDK 之一(9.0、9.1、9.2)使用 edgeai-tidl-tools 编译模型。
编译时、日志中稍后出现一条消息显示 Segmentation Fault、如下所示:
Running with OTF buffer optimizations Segmentation fault (core dumped) Could not open /USERS_PATH/edgeai-tidl-tools/model-artifacts/cl-ort-resnet18-v1/tempDir/subgraph_0_tidl_net/perfSimInfo.bin WARNING: [TIDL_E_DATAFLOW_INFO_NULL] Network compiler returned with error or didn't executed, this model can only be used on PC/Host emulation mode, it is not expected to work on target/EVM.
但该过程实际上并未因错误而退出、也未向用户级程序指示错误、因此我认为这可能是可以接受的。 我尝试在 PC 上运行该模型,它甚至给出了一些正确的结果。
然后、当我尝试在设备上运行模型时、会收到如下错误消息:
TIDL_RT_OVX: ERROR: Create OpenVX graph failed TIDL_RT_OVX: ERROR: Verify OpenVX graph failed 0.73658s: VX_ZONE_ERROR:[tivxKernelTIDLCreate:907] Network version - 0x00000000, Expected version - 0x20240401 0.73817s: VX_ZONE_ERROR:[ownContextSendCmd:875] Command ack message returned failure cmd_status: -1 0.73824s: VX_ZONE_ERROR:[ownNodeKernelInit:590] Target kernel, TIVX_CMD_NODE_CREATE failed for node node_79 0.73826s: VX_ZONE_ERROR:[ownNodeKernelInit:591] Please be sure the target callbacks have been registered for this core 0.73828s: VX_ZONE_ERROR:[ownNodeKernelInit:592] If the target callbacks have been registered, please ensure no errors are occurring within the create callback of this kernel 0.73843s: VX_ZONE_ERROR:[ownGraphNodeKernelInit:608] kernel init for node 0, kernel com.ti.tidl:1:1 ... failed !!! 0.73848s: VX_ZONE_ERROR:[vxVerifyGraph:2159] Node kernel init failed 0.73868s: VX_ZONE_ERROR:[vxVerifyGraph:2213] Graph verify failed 0.73888s: VX_ZONE_ERROR:[ownGraphScheduleGraphWrapper:885] graph is not in a state required to be scheduled 0.73890s: VX_ZONE_ERROR:[vxProcessGraph:813] schedule graph failed 0.73892s: VX_ZONE_ERROR:[vxProcessGraph:818] wait graph failed ERROR: Running TIDL graph ... Failed !!!
这里可能会发生什么情况? 如何进行调试或解决此问题?
受影响的器件:
- AM62A、AM67A、AM68A、AM69A
- TDA4VM、TDA4AL、TDA4VL、TDA4VE、TDA4AEN、TDA4AEN、 TDA4VEN、TDA4AEP、TDA4VL、TDA4VH
SDK 受影响:
- 9.0、9.1、9.2适用于使用 edgeai-tidl-tools 存储库 的 Edge AI Linux SDK、以及使用内置 tidl_tools 的 ADAS/PSDK-RTOS SDK