Running Examples

For Vitis AI development kit v1.1 release, there are two kinds of examples distributed together. Vitis AI examples demonstrate the using of Vitis AI unified high-level C++/Python APIs, which are available across cloud-to-edge. And the other kind of examples come from DNNDK and demonstrate the usage of Vitis AI advanced low-level C++/Python APIs, which is only available for edge DPU. These samples can be found at https://github.com/xilinx/vitis-ai. The /alveo folder contains the sample for DPU-v1 on Alveo platform, and the folder mpsoc contains the samples for edge DPU on ZCU102 and ZCU104 boards

If you are using Xilinx ZCU102 and ZCU104 boards to run samples, make sure to enable X11 forwarding with the command export DISPLAY=192.168.0.10:0.0 (assuming the IP address of host machine is 192.168.0.10) when logging in to the board using an SSH terminal since all the examples require Linux windows system to work properly.

Note: The examples will not work through a UART connection due to the lack of Linux windows. Alternatively, you can connect boards with monitor directly instead of using Ethernet connection.