Upgrade
Procedure
- Obtain and upload the software package by referring to Obtaining the Vision SDK Package.
- Grant the execute permission on the software package.
chmod u+x Ascend-mindxsdk-mxvision_{version}_linux-{arch}.run - Run the upgrade command to upgrade the Vision SDK package. The following is an example of the upgrade command. For details about related parameters, see Table 1. When you upgrade Vision SDK, a window pops out to ask you whether you accept Huawei Enterprise End User License Agreement (EULA). If you want to skip this step, add echo y | before the upgrade command, indicating that you accept this agreement.
1./*.run --upgrade --install-path={MX_SDK_HOME}
or
echo y | ./*.run --upgrade --install-path={MX_SDK_HOME}
*.run indicates the name of the obtained Vision SDK package. Replace it with the actual name. - Optional: If "Do you accept the EULA to install mxVision?" is displayed during the upgrade, enter Y or y to accept the EULA and continue the upgrade. Entering other characters stop the upgrade and exit the program.
- Query the version upgrade records.
1 2
cd ~/log/mindxsdk/ cat deployment.log
The following is an example of the command output:
1MindX SDK mxVision: 5.0.RC2 -> MindX SDK mxVision: 7.2.RC1