Hello.
From the "JacintoTM Automotive Processor TI Deep Learning (TIDL) Library Overview" I have read that on 224px images with MobileNet V2 I will have 441FPS.
I have downloaded MobilenetV2-1.0.onnx from ONNX github repo (https://github.com/onnx/models/tree/master/vision/classification/mobilenet), put it into tidl_j7_01_00_01_00/ti_dl/test/testvecs/models/public/onnx folder, than run tidlModelImportTool:
./out/tidl_model_import.out ../../test/testvecs/config/import/public/onnx/tidl_import_mobileNetv2.txt
Here is console output:
ONNX Model (Proto) File : ../../test/testvecs/models/public/onnx/mobilenetv2-1.0.onnx
TIDL Network File : ../../test/testvecs/config/tidl_models/onnx/tidl_net_mobilenetv2.bin
TIDL IO Info File : ../../test/testvecs/config/tidl_models/onnx/tidl_io_mobilenetv2_
~~~~~Running TIDL in PC emulation mode to collect Activations range for each layer~~~~~
Processing config file #0 : /home/ylyudkevich/tda4vm/psdk_rtos_auto_j7_06_01_01_12/tidl_j7_01_00_01_00/ti_dl/utils/tidlModelImport/tempDir/qunat_stats_config.txt
----------------------- TIDL Process with REF_ONLY FLOW ------------------------
# 0 . .. T 563.50 ... A : 895, 0.0000, 0.0000, 847 .... .....
# 1 . .. T 544.81 ... A : 557, 0.0000, 0.0000, 743 .... .....
# 2 . .. T 540.26 ... A : 442, 0.0000, 0.0000, 509 .... .....
# 3 . .. T 540.83 ... A : 498, 0.0000, 0.2500, 646 .... .....
# 4 . .. T 551.26 ... A : 538, 0.0000, 0.2000, 787 .... .....
------------------ Network Compiler Traces -----------------------------
Main iteration numer: 0....
Preparing for memory allocation : internal iteration number: 0
successful Memory allocation
-------------------- Network Compiler : Analysis Results are available --------------------
****************************************************
** ALL MODEL CHECK PASSED **
****************************************************
After that I have copied tidl_net_mobilenetv2.bin and tidl_io_mobilenetv2_1.bin at /opt/vision_sdk/ folder on the SD card and create config for this network (based on app_oc.cfg). Next, I boot up TDA4VM board with this SD, navigate to /opt/vision_sdk folder and setup environment:
source ./vision_apps_init.sh
And ather that run tidl example:
./vx_app_tidl.out --cfg my_app_oc.conf
Application run successfully, but I get only about 27FPS.
So my questions is:
1) does this correct to run mobilenetv2-1.0 with vx_app_tidle.out?
2) why only 30FPS? What I am doing wrong?
Thanks in advance.