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: YOLOV8 分类模型部署报错, 同工程模型切换为检测、分割都无此报错

Part Number: TDA4VM

Tool/software:

app_create_graph_pre_proc_od done! app_create_graph_tidl done! app_create_graph!
 10984.669661 s:  VX_ZONE_ERROR:[ownContextSendCmd:822] Command ack message returned failure cmd_status: -1
 10984.669706 s:  VX_ZONE_ERROR:[ownContextSendCmd:862] tivxEventWait() failed.
 10984.669740 s:  VX_ZONE_ERROR:[ownNodeKernelInit:584] Target kernel, TIVX_CMD_NODE_CREATE failed for node ODTIDLNode
 10984.669762 s:  VX_ZONE_ERROR:[ownNodeKernelInit:585] Please be sure the target callbacks have been registered for this core
 10984.669779 s:  VX_ZONE_ERROR:[ownNodeKernelInit:586] If the target callbacks have been registered, please ensure no errors are occurring within the create callback of this kernel
 10984.669802 s:  VX_ZONE_ERROR:[ownGraphNodeKernelInit:583] kernel init for node 1, kernel com.ti.tidl:1:1 ... failed !!!
 10984.669877 s:  VX_ZONE_ERROR:[vxVerifyGraph:2059] Node kernel init failed
 10984.669904 s:  VX_ZONE_ERROR:[vxVerifyGraph:2113] Graph verify failed
App Verify Graph Done!app_verify_graph!

  • Hi,

    As we aligned through call, the sdk version is 9.1, SOC is TDA4VM.

    Please add this  line to your import config file and infer config file.

    debugTraceLevel = 3

    I assume you are using PC_dsp_test_dl_algo.out to infer on PC and thus you can use TI_DEVICE_dsp_test_dl_algo.out in /opt/tidl_test in the same way to infer on EVM.

    But if you are using custom code to run infer, you should find the code "traceLogLevel" and set it to 3. 

    Please upload the log when you run infer and import.

    Regards,

    Adam

  • sh-5.1# ./TI_DEVICE_armv8_test_dl_algo_host_rt.out  --debugTraceLevel 3

    Processing config file #0 : testvecs/config/infer/public/onnx/laneatt_infer.txt
    Input : dataId=1, name=images_original, elementType 0, scale=1.000000, zero point=0, layout=0
    Ouput : dataId=48, name=output0, elementType 6, scale=1.000000, zero point=0, layout=0
          4482500,      4.275 0xffff63a28010
    worstCaseDelay for Pre-emption is 0.1996270
    Network File Read done
    APP: Init ... !!!
    MEM: Init ... !!!
    MEM: Initialized DMA HEAP (fd=7) !!!
    MEM: Init ... Done !!!
    IPC: Init ... !!!
    IPC: Init ... Done !!!
    REMOTE_SERVICE: Init ... !!!
    REMOTE_SERVICE: Init ... Done !!!
      2061.567627 s: GTC Frequency = 200 MHz
    APP: Init ... Done !!!
      2061.567737 s:  VX_ZONE_INIT:Enabled
      2061.567747 s:  VX_ZONE_ERROR:Enabled
      2061.567753 s:  VX_ZONE_WARNING:Enabled
      2061.568730 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
      2061.569455 s:  VX_ZONE_INIT:[tivxHostInitLocal:101] Initialization Done for HOST !!!
      2061.677130 s:  VX_ZONE_ERROR:[ownContextSendCmd:822] Command ack message returned failure cmd_status: -1
      2061.677167 s:  VX_ZONE_ERROR:[ownContextSendCmd:862] tivxEventWait() failed.
      2061.677178 s:  VX_ZONE_ERROR:[ownNodeKernelInit:584] Target kernel, TIVX_CMD_NODE_CREATE failed for node TIDLNode
      2061.677186 s:  VX_ZONE_ERROR:[ownNodeKernelInit:585] Please be sure the target callbacks have been registered for this core
      2061.677198 s:  VX_ZONE_ERROR:[ownNodeKernelInit:586] If the target callbacks have been registered, please ensure no errors are occurring within the create callback of this kernel
      2061.677208 s:  VX_ZONE_ERROR:[ownGraphNodeKernelInit:583] kernel init for node 0, kernel com.ti.tidl:1:1 ... failed !!!
      2061.677268 s:  VX_ZONE_ERROR:[vxVerifyGraph:2059] Node kernel init failed
      2061.677281 s:  VX_ZONE_ERROR:[vxVerifyGraph:2113] Graph verify failed
    TIDL_RT_OVX: ERROR: Verifying TIDL graph ... Failed !!!
    TIDL_RT_OVX: ERROR: Verify OpenVX graph failed
    Error at line:   527 : in file /home/byd/tda4ve_setup/rtos_sdk/c7x-mma-tidl/arm-tidl/rt/test/armv8/../src/tidl_tb.c, of function : tidlMultiInstanceTest
    Invalid Error Type!

  • Hi 

    Please run it again after running vision_apps_init.sh under /opt/vision_apps. This will enable log on C7. 

    And debugTraceLevel = 3 should be put int the config file:

    testvecs/config/infer/public/onnx/laneatt_infer.txt

    Regards,

    Adam

  • Hi 

    In the log armv8_rt.log, you can see:

    [C7x_1 ]   2989.753273 s: For Layer 48 , initArgsSoftMax->axis not supported 7

    Please check the softmax layer in your original graph corresponding with layer48 after importing and compare wit h the constraints listed here:

    https://github.com/TexasInstruments/edgeai-tidl-tools/blob/master/docs/supported_ops_rts_versions.md 

    And please upload the details of the mentioned softmax layer 

    Regards,

    Adam