Demo Execution
This section describes how to run the executables generated by the TRD. Connect to the ZCU102 board through UART.
Note: The login/password for the
ZCU102 board is
root/root. The HWH file is located
at $TRD_HOME/pl/srcs/top/hw_handoff/top.hwh.
See the Vitis AI User
Guide in the Vitis
AI User Documentation (UG1431) for more details.. To run the demo:
- After generating the BOOT.BIN file, copy BOOT.BIN and image.ub (which is in image/linux folder) to the SD card.
- Copy the resnet50 directory in $TRD_HOME/images to the SD card.
- Use the pre-built resnet50 in $TRD_HOME/images/resnet50 or copy the newly generated resnet50
in $TRD_HOME/apu/apps/resnet50/build/ to
the resnet50 directory on the SD card.
A screenshot is shown in below.
The input image name is displayed in each line beginning with “Load image”, the names are also the expected result for the input image. The predicted results of the DPU are shown below, and the top-5 prediction probabilities are printed. If the name of the loaded image is approximated by one of the Top-5 predictions in most of the results, the DPU is working properly.