Tool/software:
I’m compiling an ONNX model using edgeai-tidl-tools and encountered an error during the Quantization & Calibration stage. The issue is related to unsupported data types. These inputs appear to be of int
type.
============= [Quantization & Calibration for subgraph_10 Started] ============= -------- Running Calibration in Float Mode to Collect Tensor Statistics -------- [=============================================================================] 100 % ------------------ Fixed-point Calibration Iteration [1 / 1]: ------------------ Error at line: 1367 : in file /sdk/OSRT/Build/J784S4/c7x-mma-tidl/ti_dl/test/src/pc_linux/../tidl_rt.c, of function : TIDLRT_invoke Invalid Error Type! Error at line: 756 : in file /sdk/OSRT/Build/J784S4/c7x-mma-tidl/ti_dl/test/src/pc_linux/../tidl_tb.c, of function : tidlMultiInstanceTest Invalid Error Type! Error at line: 762 : in file /sdk/OSRT/Build/J784S4/c7x-mma-tidl/ti_dl/test/src/pc_linux/../tidl_tb.c, of function : tidlMultiInstanceTest Invalid Error Type! ==================== [Quantization & Calibration Completed] ==================== ========================== [Memory Planning Started] ========================== ------------------------- Network Compiler Traces ------------------------------ Wrong data type for layer input 8, 38 Wrong data type for layer output 8, 38 Wrong data type for layer input 11, 5 Error : Error Code = <ERR_UNSUPPORTED_DATA_TYPE> [TIDL Import] FATAL ERROR: Network Compiler failed to execute - Memory planning failed with return code - 65280 -- [tidl_import_core.cpp, 1003] [TIDL Import] Aborting
I need to confirm whether type int
is not supported in TIDL. Additionally, a list of supported types would be helpful.