AMCT (TensorFlow,Ascend)
This scenario applies only to.
Type |
Version Requirement |
How to Obtain |
Remarks |
|---|---|---|---|
OS |
For details, see Supported Operating Systems. |
Download the required software release from the Ubuntu official website and install it. Run the following command to query the installation: cat /etc/*release && uname -m |
Quantization on the NPU or CPU is supported. Quantization on the GPU is not supported. |
Python |
Python3.7.x, Python3.8.x, Python3.9.x Python 3.9.2 is recommended. |
For details, see chapter > in the manual. To set up the Python 3.9.2 environment, do as follows:
|
This document uses Python 3.9.2 as an example. The environment variables and installation commands are subject to the actual Python version. |
CPU version of TensorFlow |
2.6.5 or 1.15.0 |
For details, see Dependency Installation. |
The fake-quantized model cannot run on the GPU. Therefore, you only need to install the CPU version. Mapping between TensorFlow and Python versions:
|
Pillow |
6.0.0+ |
For details, see Dependency Installation. |
- |