AMCT (ONNX)
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 |
|---|---|---|
ONNX |
1.18.0, 1.14.0, 1.10.0, 1.9.0, 1.8.0 |
|
ONNX Runtime |
1.20.0, 1.16.0, 1.9.0, 1.8.0, 1.6.0 |
For ONNX Runtime CPU, see the following commands. For ONNX Runtime earlier than 1.9.0 of GPU version, you need to install it yourself. EulerOS (AArch64) does not support quantization on the GPU.
|
Python |
Version 3.9.2 is used as an example. |
For Ubuntu OS, see Python 3.9.2 Installation on Ubuntu. For EulerOS, see Python3.9.2 Installation on EulerOS. |
NumPy |
|
|
Protobuf |
|
pip3 install protobuf==3.20.3 --user Or pip3 install protobuf==3.20.2 --user |