Part Number: TDA4VM
Hi,
I have updated to PSDK RTOS 08_01_00_13 / tidl_j7_08_01_00_05. I am testing yolov3 (public version) from
as pointed in the guide:
I successfully imported the model and tested on PC using PC_dsp_test_dl_algo.out. However, when infering on target with TI_DEVICE_a72_test_dl_algo_host_rt.out there is the following error:
Processing config file #0 : ./testvecs/config/infer/public/onnx/tidl_infer_yolo3.txt
APP: Init ... !!!
MEM: Init ... !!!
MEM: Initialized DMA HEAP (fd=4) !!!
MEM: Init ... Done !!!
IPC: Init ... !!!
IPC: Init ... Done !!!
REMOTE_SERVICE: Init ... !!!
REMOTE_SERVICE: Init ... Done !!!
14353.852135 s: GTC Frequency = 200 MHz
APP: Init ... Done !!!
14353.852221 s: VX_ZONE_INIT:Enabled
14353.852230 s: VX_ZONE_ERROR:Enabled
14353.852241 s: VX_ZONE_WARNING:Enabled
14353.852732 s: VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
14353.852934 s: VX_ZONE_INIT:[tivxHostInitLocal:86] Initialization Done for HOST !!!
14353.894107 s: VX_ZONE_ERROR:[ownContextSendCmd:815] Command ack message returned failure cmd_status: -1
14353.894132 s: VX_ZONE_ERROR:[ownContextSendCmd:851] tivxEventWait() failed.
14353.894156 s: VX_ZONE_ERROR:[ownNodeKernelInit:538] Target kernel, TIVX_CMD_NODE_CREATE failed for node TIDLNode
14353.894175 s: VX_ZONE_ERROR:[ownNodeKernelInit:539] Please be sure the target callbacks have been registered for this core
14353.894192 s: VX_ZONE_ERROR:[ownNodeKernelInit:540] If the target callbacks have been registered, please ensure no errors are occurring within the create callback of this kernel
14353.894209 s: VX_ZONE_ERROR:[ownGraphNodeKernelInit:583] kernel init for node 0, kernel com.ti.tidl ... failed !!!
14353.894229 s: VX_ZONE_ERROR:[vxVerifyGraph:2055] Node kernel init failed
14353.894245 s: VX_ZONE_ERROR:[vxVerifyGraph:2109] Graph verify failed
TIDL_RT_OVX: ERROR: Verifying TIDL graph ... Failed !!!
TIDL_RT_OVX: ERROR: Verify OpenVX graph failed
Error at line: 452 : in file /home/gtbldadm/psdk_installer_build_top_workarea/scratch_workarea/ti-processor-sdk-rtos-j721e-evm-08_01_00_13/tidl_j7_08_01_00_05/ti_dl/rt/test/a72/../../../test/src/tidl_tb.c, of function : tidlMultiInstanceTest
Invalid Error Type!
root@j7-evm:/opt/tidl_test# [C7x_1 ] 14353.893927 s: VX_ZONE_ERROR:[tivxMemBufferUnmap:335] tivxMemBufferUnmap failed (either pointer is NULL or size is 0)
[C7x_1 ] 14353.893956 s: VX_ZONE_ERROR:[tivxMemBufferUnmap:335] tivxMemBufferUnmap failed (either pointer is NULL or size is 0)
The import configuration:
modelType = 2 numParamBits = 8 numFeatureBits = 8 quantizationStyle = 3 inputNetFile = "/mnt/d/Research/Features/OD/yolo3_public/model/yolov3-10.onnx" outputNetFile = "/mnt/d/Research/Features/OD/yolo3_public/ti/model_out/tild_net_yolov3-10.bin" outputParamsFile = "/mnt/d/Research/Features/OD/yolo3_public/ti/model_out/tidl_io_yolov3-10_" inDataNorm = 1 inMean = 0 0 0 inScale = 0.003921568627 0.003921568627 0.003921568627 inDataFormat = 1 inWidth = 416 inHeight = 416 inNumChannels = 3 numFrames = 1 inFileFormat = 1 inData = "/mnt/d/Research/Features/OD/yolo3_public/ti/test_images/ti_lindau_000020.bmp" perfSimConfig = "/mnt/d/Research/Features/OD/yolo3_public/ti/scripts/device_config.cfg" inElementType = 0 metaArchType = 4 metaLayersNamesList = "/mnt/d/Research/Features/OD/yolo3_public/ti/scripts/A/tidl_import_yolo3_metaarch.prototxt" postProcType = 2
The infer configuration on target:
inFileFormat = 2 numFrames = 1 netBinFile = "testvecs/config/tidl_models/onnx/tild_net_yolov3-10.bin" ioConfigFile = "testvecs/config/tidl_models/onnx/tidl_io_yolov3-10_1.bin" inData = testvecs/config/detection_list.txt outData = testvecs/output/tidl_yolo3_od.bin inResizeMode = 0 debugTraceLevel = 0 writeTraceLevel = 0 postProcType = 2
Thank you for your support