(Optional) Evaluating the Quantized Model - (Optional) Evaluating the Quantized Model - 3.0 English - UG1414

Vitis AI User Guide (UG1414)

Document_ID
UG1414
Release_Date
2023-02-24
Version
3.0 English

If you have scripts to evaluate floating point models, like the models in Vitis AI Model Zoo, apply the following two changes to evaluate the quantized model:

  • Prepend the float evaluation script with import vai_q_tensorflow.
  • Replace the float model path in the scripts to quantization output model "quantize_results/quantize_eval_model.pb".
  • Run the modified script to evaluate the quantized model.