Step 2: Installing AI Model Package - 1.4.1 English

Vitis AI Library User Guide (UG1354)

Document ID
UG1354
Release Date
2021-12-11
Version
1.4.1 English

The Vitis AI Runtime packages, Vitis-AI-Library samples and models are built into the board image. Therefore, you do not have to install Vitis AI Runtime packages and model package on the board separately. However, you can still install the model on your own image or on the official image by following these steps:

  1. For each model, there is a yaml file which is used for describe all the details about the model. In the yaml, you will find the model's download links for different platforms. Choose the corresponding model and download it.
  2. Copy the downloaded file to the board using scp with the following command.
    scp <model>.tar.gz root@IP_OF_BOARD:~/
  3. Log in to the board (using ssh or serial port) and install the model package.
  4. If the /usr/share/vitis_ai_library/model folder does not exist, create it first.
    mkdir -p /usr/share/vitis_ai_library/models
  5. Install the model on the target side.
    tar -xzvf <model>.tar.gz
    cp -r <model> /usr/share/vitis_ai_library/models
    By default, the models are located in the /usr/share/vitis_ai_library/models directory on the target side.