vai_q_tensorflow Error Codes - 3.0 English

Vitis AI User Guide (UG1414)

Document ID
UG1414
Release Date
2023-02-24
Version
3.0 English
Table 1. vai_q_tensorflow Error Codes
Error Code Cause Solution
Quantize_TF1_Invalid_Input The specified input_frozen_graph file is not found Check whether input_frozen_graph is correct and the file exists or not
Quantize_TF1_Invalid_Bitwidth The specified nodes_bit value is illegal, such as less than 1 Check whether the content of nodes_bit is correct
Quantize_TF1_Invalid_Method The specified method value is invalid and is not within the range of [0,1,2] Check whether the value of method is correct
Quantize_TF1_Length_Mismatch The specified input_shapes is illegal, such as mismatch with input_nodes, or is not 4-dimensional, or contains a element that is not an integer Check whether the value of input_shapes is correct and matches input_nodes
Quantize_TF1_Invalid_Input_Fn The specified input_fn module import failed Check whether input_fn is correct and make sure the function is implemented correctly
Quantize_TF1_Invalid_Target_Dtype The specified convert_datatype value is invalid and is not within the range of [0,1,2,3,4] Check whether the value of convert_datatype is correct
Quantize_TF1_Unsupported_Op An unsupported op, such as FusedBatchNorm, is encountered when converting datatype Replace the unsupported op