when run a mma dl model using tiovx, It blocks in vxProcessGraph function after a few hours. What could this be?
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.
Hi
From the initial review of the code, I see that you have commented out the "reading from a file" part in the app_run_graph() function.
So, may I know what your current usecase is?
Also, could you share me your application logs with the remote core logs enabled? (i.e., please run "source ./vision_apps_init.sh" before running the application)
Regards,
Nikhil
Hi,
I Do not care the result of graph,so I commented out the "reading from a file" to accelerare graph running, actually, if I do not commented out the "reading from a file" ,the Phenomenon is same.
before now, I do not run "source ./vision_apps_init.sh", I will run it Later.
By the way, I will also use tivxLogRtTraceExportToFile to save log,but how can I
Convert the binary data to 'VCD - Value Change Dump' format
and
where to got the gtkwave tool
thanks very much
Hi,
demo.rarThis is the demo
I tested this attached demo on SDK 8.0 on TDA4VM - EVM and I'm able to see in running. (As in, it does not get stuck in the vxProcessGraph).
Please find the logs attached below.
root@j7-evm:/opt/vision_apps# ./run_app_tidl.sh 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 !!! 52.136785 s: GTC Frequency = 200 MHz APP: Init ... Done !!! 52.138710 s: VX_ZONE_INIT:Enabled 52.138729 s: VX_ZONE_ERROR:Enabled 52.138735 s: VX_ZONE_WARNING:Enabled 52.141071 s: VX_ZONE_INIT:[tivxInit:71] Initialization Done !!! 52.141235 s: VX_ZONE_INIT:[tivxHostInit:48] Initialization Done for HOST !!! app_tidl: Init ... app_tidl: Reading config file /opt/vision_apps/config.bin ... app_tidl: Reading config file /opt/vision_apps/config.bin ... Done. 37256 bytes app_tidl: Tensors, input = 1, output = 2 app_tidl: Reading network file /opt/vision_apps/road_seg.bin ... app_tidl: Reading network file /opt/vision_apps/road_seg.bin ... Done. 2377840 bytes app_tidl: Init ... Done. app_tidl: Creating graph ... app_tidl: Creating graph ... Done. app_tidl: Verifying graph ... app_tidl: Verifying graph ... Done. [C7x_1 ] 52.226279 s: VX_ZONE_WARNING:[tivxKernelTIDLCreate:615] All Interrupts DISABLED during TIDL process network file: /opt/vision_apps/road_seg.bin config file: /opt/vision_apps/config.bin Iteration 0 of 1 ... Classif1111111111111111ying input ... app_tidl: Reading input file /ti/j7/workarea/tiovx/conformance_tests/test_data/psdkra/app_tidl/pIK ... Done! app_tidl: Running Graph ... 1 Done! app_tidl: Reading input file /ti/j7/workarea/tiovx/conformance_tests/test_data/psdkra/app_tidl/pIK ... Done! app_tidl: Running Graph ... 2 Done! app_tidl: Reading input file /ti/j7/workarea/tiovx/conformance_tests/test_data/psdkra/app_tidl/pIK ... Done! app_tidl: Running Graph ... 3 Done! app_tidl: Reading input file /ti/j7/workarea/tiovx/conformance_tests/test_data/psdkra/app_tidl/pIK ... Done! app_tidl: Running Graph ... 4 Done! app_tidl: Reading input file /ti/j7/workarea/tiovx/conformance_tests/test_data/psdkra/app_tidl/pIK ... Done! app_tidl: Running Graph ... 5 Done!
I noticed that the model is imported for SDK 8.0.
Could you please tell me which SDK version are you currently using?
Regards,
Nikhil
Hi Liu,
As mentioned above, I'm able to run the demo file attached by you in this thread on EVM.
Hence few things to confirm here.
1. Are you also trying the same on the EVM?
2. Are there any other changes in the SDK? (Any memory related etc.)
"source ./vision_apps_init.sh", I will run it Later.
As requested, please share the vision_apps_init.sh logs and the application logs, in order to know why this issue is seen only at your end.
Regards,
Nikhil
Hi, Nikhil
We run the Official demo app_tidl on EVM, with RTOS SDK:08.00.00.12 (13 Aug 2021), Linux SDK: 08.00.00.08 (13 Aug 2021), when it run a few days(three days or above), it also blocks. here is the vision_apps_init.sh log .can you recurring it?
By the way, if we want to reset mma hardware by register or other,how can we do?
Regards,
Liu