AMCT (TensorFlow)
Install software as the AMCT installation user. If the said user is a non-root user, check that the user has the sudo permission. Then run the su - username command to switch to the non-root user and run the commands listed in the following table. (If the installation user is root, delete --user from the dependency installation command.)
Dependency |
Version |
Installation Command |
|---|---|---|
Python |
3.9.2 or 3.7.5 |
For Ubuntu, Kylin V10 SP1, openEuler, and UOS, see Python 3.9.2 Installation on Ubuntu. For EulerOS, see Python3.9.2 Installation on EulerOS. |
TensorFlow |
2.19.0, 2.6.5, or 1.15.0 |
Install the CPU or GPU version as needed. EulerOS (AArch64) does not support quantization on the GPU.
NOTICE:
|
NumPy |
2.0.0–2.1.3, 1.16.0–1.23.5, or 1.20.0–1.23.5 |
pip3 install numpy==2.0.0 --user pip3 install numpy==1.16.0 --user pip3 install numpy==1.20.0 --user |
Protobuf |
3.20.2+ |
pip3 install protobuf==3.20.3 --user pip3 install protobuf==3.20.2 --user |
Parent topic: Installing Dependencies