Execution on AI FPGA Module - DigitalMediaProfessionals/dv-sdk GitHub Wiki
To execute example applications on AI FPGA module (referred to as MODULE):
- Log in to MODULE by username
ubuntu
and passwordubuntu
. - Navigate to the folder where application's binaries are located:
$ cd ~/dv-sdk/application/bin
- 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.
- Ensure that example images folder exists and contains some input images:
ls images/
- 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).
- 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,