Step 2: Installing AI Model Package - 1.2 English

Vitis AI Library User Guide (UG1354)

Document ID
UG1354
Release Date
2020-07-21
Version
1.2 English

The Vitis AI Runtime packages, Vitis-AI-Library samples and models have been built into the board image. Therefore, user does not need to install Vitis AI Runtime packages and model package on the board separately. However, users can still install the model on their own image or on the official image by following these steps.

  1. For ZCU102, download the xilinx_model_zoo_zcu102-1.2.0-1.aarch64.rpm packet from here. For ZCU104, download the xilinx_model_zoo_zcu104-1.2.0-1.aarch64.rpm from here.
  2. Copy the downloaded file to the board using scp with the following command. Take ZCU102 model as an example.
    $scp xilinx_model_zoo_zcu102-1.2.0-1.aarch64.rpm root@IP_OF_BOARD:~/
    Note: The rpm package can be taken as a normal archive, and you can extract the contents on the host side if you only need part of the models. The operation command is as follows.
    $rpm2cpio xilinx_model_zoo_zcu102-1.2.0-1.aarch64.rpm | cpio -idmv
  3. Log in to the board (usong ssh or serial port) and install the model package.
  4. Run the following command.
    #rpm -ivh --force xilinx_model_zoo_zcu102-1.2.0-1.aarch64.rpm

    After the installation is complete, the model files are stored in /usr/share/vitis_ai_library/models on the target side.