Environment setup - DigitalMediaProfessionals/dv-sdk GitHub Wiki
Install Python on host PC
The Python run-time is already setup in the SD card or the eMMC for the FPGA. But if one wants to run the network convertor (referred to as the convertor) from the host PC, one can also install Python on host PC.
To run the convertor, one needs to install Python with version >= 3.6 in order to run.
One can install latest Python from the Python official site.
After Python is installed, run one of the following commands to install necessary modules.
apt-get
is faster but some packages do not exist depending on OS version.
If such packages is not available as apt
package, use pip
command instead.
$ apt-get install python3-numpy python3-protobuf python3-h5py python3-opencv python3-jinja2
$ python -m pip install numpy protobuf h5py opencv-python jinja2
Build tools
The distributed SD card images already contains GCC tool chain, so one can build drivers and applications directly on an AI FPGA module.
Ubuntu login username and password
The default Ubuntu username and password is ubuntu
:ubuntu
.
NOTE: DMP strongly recommneds you to change the password immediately.