The Vitis AI runtime packages and the Vitis AI Library samples and models are built into the board image. Therefore, you do not have to install the Vitis AI runtime packages and the 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:
- For each model, there is a yaml file that describes all the details about the model. The yaml file contains download links for different platforms. Choose your model and the desired platform and download it.
- Copy the downloaded file to the board using
scp
with the following command.scp <model>.tar.gz root@IP_OF_BOARD:~/
If your board is connected to the Internet, you can also use the
wget
command to download the model directly to the board. - Log in to the board (using ssh or serial port) and install the model package.
- If the /usr/share/vitis_ai_library/model folder does not exist, create
it
first.
mkdir -p /usr/share/vitis_ai_library/models
- Install the model on the target
side.
tar -xzvf <model>.tar.gz -C /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.