- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
■ Notes
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.
https://packages.debian.org/index
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.
- Tags:
- Tensorflow
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@PINTO Thanks for posting this!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
don't need setup caffe?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@luna
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.
https://github.com/PINTO0309/MobileNet-SSD/issues/2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@PINTO thanks very much
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Raspbian does not load V4L2 drivers for CSI camera modules by default
Add the below line to /etc/modules and hit Ctrl-x to save and exit.
bcm2835-v4l2
sudo reboot
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page