# Set modelType = 2 for onnx models modelType = 2 # Set numParamBits as 8 for INT8 quantization and 16 for INT16 quantization numParamBits = 16 numFeatureBits = 16 # Set quantizationStyle = 2 for Linear mode and 3 for power of 2 scale quantization quantizationStyle = 3 # Give path of onnx model in inputNetFile inputNetFile = "/home/raju/TI_SDK/08.02.00.05/ti-processor-sdk-rtos-j721e-evm-08_02_00_05/tidl_j721e_08_02_00_11/ti_dl/test/testvecs/models/public/onnx/data/model.onnx" # Give path where TIDL net model is to be saved in outputNetFile outputNetFile = "/home/raju/TI_SDK/08.02.00.05/ti-processor-sdk-rtos-j721e-evm-08_02_00_05/tidl_j721e_08_02_00_11/ti_dl/test/testvecs/models/public/onnx/data/output/out.bin" # Give path where TIDL IO bin is to be saved in outputParamsFile outputParamsFile = "/home/raju/TI_SDK/08.02.00.05/ti-processor-sdk-rtos-j721e-evm-08_02_00_05/tidl_j721e_08_02_00_11/ti_dl/test/testvecs/models/public/onnx/data/output/out_io" outDataNamesList = "out,signals" # Set inDataNorm =1 to if normalized data is given to model inDataNorm = 1 # Mean value need to be subtracted for each channel of all input tensors. Only applicable if inDataNorm = 1 inMean = 0 0 0 # Scale value needs to be multiplied after mean subtract for each channel of all input tensors. Only applicable when inDataNorm = 1 inScale = 0.003921568627 0.003921568627 0.003921568627 # Set inWidth as input image width inWidth = 224 # Set inHeight as input image height inHeight = 224 #inResizeType = 0 #resizeWidth = 256 #resizeHeight = 256 # Set number of channels of the input image inNumChannels = 3 # Set number of frames given for calibration numFrames = 50 # Set path of txt file containing path of images used for calibration inData = "/home/raju/TI_SDK/08.02.00.05/ti-processor-sdk-rtos-j721e-evm-08_02_00_05/tidl_j721e_08_02_00_11/ti_dl/test/testvecs/models/public/onnx/data/calib.txt" # Set inDataFormat = 1 if input is RGB format or 0 if BGR format inDataFormat = 1 inFileFormat = 2 #debugTraceLevel = 1 #writeTraceLevel = 3 # Set path of Network Compiler Configuration file. You may give the device_config path perfSimConfig = /home/raju/TI_SDK/08.02.00.05/ti-processor-sdk-rtos-j721e-evm-08_02_00_05/tidl_j721e_08_02_00_11/tidl_tools/device_config.cfg perfSimTool = /home/raju/TI_SDK/08.02.00.05/ti-processor-sdk-rtos-j721e-evm-08_02_00_05/tidl_j721e_08_02_00_11/tidl_tools/ti_cnnperfsim.out graphVizTool = /home/raju/TI_SDK/08.02.00.05/ti-processor-sdk-rtos-j721e-evm-08_02_00_05/tidl_j721e_08_02_00_11/tidl_tools/tidl_graphVisualiser.out tidlStatsTool = /home/raju/TI_SDK/08.02.00.05/ti-processor-sdk-rtos-j721e-evm-08_02_00_05/tidl_j721e_08_02_00_11/tidl_tools/PC_dsp_test_dl_algo.out