TDA4VM: TDA4VM-TIDL算子转换工具

Part Number: TDA4VM


在ti-processor-sdk-rtos-j721e-evm-11_01_00_04版本中,

问题:

1、没有转换工具?

源码解压出来,在ti-processor-sdk-rtos-j721e-evm-11_01_00_04/c7x-mma-tidl目录中并没有/ti_dl/utils/tidlModelImport/out/tidl_model_import.out这个文件,没有这个目录/ti_dl/utils/tidlModelImport/out

2、如何实现tidl的模型转换呢?

wp@wp:~/jm/tda4vm/download/ti-processor-sdk-rtos-j721e-evm-11_01_00_04/c7x-mma-tidl/tidl_tools$ ls -al
总计 44
drwxr-xr-x 2 wp wp 4096  9月 16 17:17 .
drwxr-xr-x 7 wp wp 4096  9月 16 17:52 ..
lrwxrwxrwx 1 wp wp   54  9月 16 17:17 device_config.cfg -> ../ti_dl/test/testvecs/config/import/device_config.cfg
lrwxrwxrwx 1 wp wp   29  9月 16 17:17 itidl_rt.h -> ../arm-tidl/rt/inc/itidl_rt.h
lrwxrwxrwx 1 wp wp   28  9月 16 17:17 itvm_rt.h -> ../arm-tidl/rt/inc/itvm_rt.h
lrwxrwxrwx 1 wp wp   70  9月 16 17:17 libtidl_onnxrt_EP.so -> ../arm-tidl/onnxrt_ep/out/PC/x86_64/LINUX/release/libtidl_onnxrt_EP.so
lrwxrwxrwx 1 wp wp   76  9月 16 17:17 libtidl_tfl_delegate.so -> ../arm-tidl/tfl_delegate/out/PC/x86_64/LINUX/release/libtidl_tfl_delegate.so
lrwxrwxrwx 1 wp wp   59  9月 16 17:17 libvx_tidl_rt.so -> ../arm-tidl/rt/out/PC/x86_64/LINUX/release/libvx_tidl_rt.so
lrwxrwxrwx 1 wp wp   63  9月 16 17:17 libvx_tidl_rt.so.1.0 -> ../arm-tidl/rt/out/PC/x86_64/LINUX/release/libvx_tidl_rt.so.1.0
lrwxrwxrwx 1 wp wp   37  9月 16 17:17 PC_dsp_test_dl_algo.out -> ../ti_dl/test/PC_dsp_test_dl_algo.out
lrwxrwxrwx 1 wp wp   40  9月 16 17:17 ti_cnnperfsim.out -> ../ti_dl/utils/perfsim/ti_cnnperfsim.out
lrwxrwxrwx 1 wp wp   61  9月 16 17:17 tidl_graphVisualiser.out -> ../ti_dl/utils/tidlModelGraphviz/out/tidl_graphVisualiser.out
lrwxrwxrwx 1 wp wp   70  9月 16 17:17 tidl_graphVisualiser_runtimes.out -> ../ti_dl/utils/tidlModelGraphviz/out/tidl_graphVisualiser_runtimes.out
lrwxrwxrwx 1 wp wp   62  9月 16 17:17 tidl_model_custom_import.so -> ../ti_dl/utils/tidlModelImport/out/tidl_model_custom_import.so
lrwxrwxrwx 1 wp wp   60  9月 16 17:17 tidl_model_import_onnx.so -> ../ti_dl/utils/tidlModelImport/out/tidl_model_import_onnx.so
lrwxrwxrwx 1 wp wp   56  9月 16 17:17 tidl_model_import.out -> ../ti_dl/utils/tidlModelImport/out/tidl_model_import.out
lrwxrwxrwx 1 wp wp   61  9月 16 17:17 tidl_model_import_relay.so -> ../ti_dl/utils/tidlModelImport/out/tidl_model_import_relay.so
lrwxrwxrwx 1 wp wp   55  9月 16 17:17 tidl_model_import.so -> ../ti_dl/utils/tidlModelImport/out/tidl_model_import.so
lrwxrwxrwx 1 wp wp   62  9月 16 17:17 tidl_model_import_tflite.so -> ../ti_dl/utils/tidlModelImport/out/tidl_model_import_tflite.so
lrwxrwxrwx 1 wp wp   56  9月 16 17:17 tidl_model_secure.out -> ../ti_dl/utils/tidlModelSecure/out/tidl_model_secure.out
wp@wp:~/jm/tda4vm/download/ti-processor-sdk-rtos-j721e-evm-11_01_00_04/c7x-mma-tidl/tidl_tools$ ti-processor-sdk-rtos-j721e-evm-11_01_00_04^C
wp@wp:~/jm/tda4vm/download/ti-processor-sdk-rtos-j721e-evm-11_01_00_04/c7x-mma-tidl/tidl_tools$ cd ../..
wp@wp:~/jm/tda4vm/download/ti-processor-sdk-rtos-j721e-evm-11_01_00_04$ find . -name tidl_model_import.out
./c7x-mma-tidl/tidl_tools/tidl_model_import.out
wp@wp:~/jm/tda4vm/download/ti-processor-sdk-rtos-j721e-evm-11_01_00_04$ file ./c7x-mma-tidl/tidl_tools/tidl_model_import.out
./c7x-mma-tidl/tidl_tools/tidl_model_import.out: broken symbolic link to ../ti_dl/utils/tidlModelImport/out/tidl_model_import.out
wp@wp:~/jm/tda4vm/download/ti-processor-sdk-rtos-j721e-evm-11_01_00_04$