AMCT Workflow
Figure 4-3 shows the AMCT workflow.
Action |
Description |
---|---|
Package preparation |
Download the tool package. |
Pre-installation actions |
Before AMCT installation, create an installation user, check the system environment, install dependencies, and upload the AMCT package. For details, see Pre-installation Actions. |
Installation |
Install the TensorFlow version AMCT by referring to AMCT Installation. |
(Optional) Script creation with AMCT API calls |
If you need to quantize your network model instead of the sample model provided in this instruction, you need to modify the script for adaptation before quantization. |
Quantization |
Based on the quantization method, quantization is classified into calibration-based quantization and retrain-based quantization. For details, see Calibration-based Quantization and Retrain-based Quantization. |
(Optional) Model conversion using ATC |
You can convert the quantized deployable model to an offline model supported by the Ascend AI Processor by using ATC, and then perform subsequent inference. |