Upgrade

Procedure

  1. Obtain and upload the software package by referring to Obtaining the Vision SDK Package.
  2. Grant the execute permission on the software package.
    chmod u+x Ascend-mindxsdk-mxvision_{version}_linux-{arch}.run
  3. 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.
    Table 1 Parameters in the upgrade command of Vision SDK

    Parameter

    Description

    --upgrade

    Upgrades Vision SDK to the version contained in the installation package.

    --install-path

    (Optional) Customizes the root directory for installing the software package. If this parameter is not set, the directory where the current command is executed is used by default.

    This parameter is recommended if a user-defined directory is used for installation.

    --quiet

    Enables the silent mode and accepts Huawei Enterprise End User License Agreement (EULA) by default. This parameter must be used together with --install or --upgrade.

  4. 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.
  5. Query the version upgrade records.
    1
    2
    cd ~/log/mindxsdk/
    cat deployment.log
    

    The following is an example of the command output:

    1
    MindX SDK mxVision:  5.0.RC2  ->  MindX SDK mxVision:  7.2.RC1