Evaluate Quantized Model (Optional) - 1.2 English

Vitis AI User Guide (UG1414)

Document ID
UG1414
Release Date
2020-07-21
Version
1.2 English
If you have scripts to evaluate floating point model, like the models in Xilinx Modelzoo. Apply the following two changes to evaluate the quantized model.
  • Add “from tensorflow.contrib import decent_q” in front of the float evaluation script. This will register the quantize operation.
  • Replace the float model path in the scripts to quantization output model "quantize_results/quantize_eval_model.pb".
Then run the modified script to evaluate quantized model.