Before running vai_q_tensorflow2, prepare the float model and calibration set, including the files listed in the following table.
No. | Name | Description |
---|---|---|
1 | float model | Floating-point TensorFlow 2 models, either in h5 format or saved model format. |
2 | calibration dataset | A subset of the training dataset or validation dataset to represent the input data distribution, usually 100 to 1000 images are enough. |