Share procedures that NCSDK 2.05.00.02 was successfully installed to RaspberryPi3.
I am glad if everyone's help.
■ Prerequisites for this procedure
1. Clean install of Raspbian.
2. MicroSDCard 16GB
Intel's informal procedures.
No responsibility can be incurred no matter what happens.
Please take responsibility for your actions.
The NCSDK version to be installed is "v2.05.00.02".
Successful July 11, 2018
■ Installation sequence
$ sudo passwd root (Enter new password for su) (Enter new password for su)
$ sudo apt update $ sudo apt upgrade
$ sudo nano /etc/dphys-swapfile CONF_SWAPSIZE=100 ↓ CONF_SWAPSIZE=2048 $ sudo /etc/init.d/dphys-swapfile restart swapon -s
$ sudo apt install python-pip python3-pip $ cd ~ $ git clone -b ncsdk2 http://github.com/Movidius/ncsdk $ cd ncsdk $ nano ncsdk.conf #MAKE_NJOBS=1 ↓ MAKE_NJOBS=1
$ sudo apt install cython $ sudo -H pip3 install cython $ sudo -H pip3 install numpy $ sudo -H pip3 install pillow $ sudo pip3 uninstall tensorflow $ wget https://github.com/lhelontra/tensorflow-on-arm/releases/download/v1.7.0/tensorflow-1.7.0-cp35-none-linux_armv7l.whl $ sudo pip3 install tensorflow-1.7.0-cp35-none-linux_armv7l.whl $ rm tensorflow-1.7.0-cp35-none-linux_armv7l.whl $ make install
$ sudo apt install libjasper1 libcanberra-gtk0 $ wget https://github.com/PINTO0309/OpenCVonARMv7/raw/master/libopencv3_3.4.1-20180304.1_armhf.deb $ sudo dpkg -i libopencv3_3.4.1-20180304.1_armhf.deb $ rm libopencv3_3.4.1-20180304.1_armhf.deb
$ sudo nano /etc/dphys-swapfile CONF_SWAPSIZE=2048 ↓ CONF_SWAPSIZE=100 $ sudo /etc/init.d/dphys-swapfile restart swapon -s
Finally, restart the terminal.
It will be OK if it is displayed as below.
$ echo $PYTHONPATH :/opt/movidius/caffe/python
When installing packages manually individually, search package names appropriately on the following site.
If an error is displayed during "make install" and it stops, execute "make install" several times.
■ Problems with the official installation script
1. "cython" for Python3 is not installed properly.
2. "numpy" for Python3 is not installed properly.
3. Mistaking the type of Tensorflow to be installed. (【Mistake】tensorflow-1.7.0-cp34-none-linux_armv7l → 【Correct】tensorflow-1.7.0-cp35-none-linux_armv7l)
4. Parameters of the "make" command hangs due to insufficient RAM and SWAP space unless it is set to "-j1".
5. OpenCV is not installed automatically.
Intel's installation script automatically installed "Caffe".
If you seem to be having trouble, it is probably a matter of communication.
For example, China seems to have intense communication restrictions.