Execution on AI FPGA Module - DigitalMediaProfessionals/dv-sdk GitHub Wiki

To execute example applications on AI FPGA module (referred to as MODULE):

  1. Log in to MODULE by username ubuntu and password ubuntu.
  2. Navigate to the folder where application's binaries are located:
$ cd ~/dv-sdk/application/bin
  1. Ensure that binary weight files generated by the network convertor are located in this folder:
$ ls

for CaffeMobileNet example CaffeMobileNet_weights.bin file must be present.

  1. Ensure that example images folder exists and contains some input images:
ls images/
  1. Ensure that monitor is connected to the display port output of MODULE (example applications generate graphical output, so they fail to execute when no monitor is connected).
  2. Execute application:
sudo ./CaffeMobileNet

Example applications will exit on pressing ESC and pause on pressing SPACE.

NOTE: by default, running upplication under root (sudo) is required; to allow running application under different user, the permissions of the following files must be adjusted accordingly:

  • /dev/ion - for physically continuous memory allocation,
  • /dev/dv_conv - for executing convolutional layers,