frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Problem using Movidius stick with ncsdk2 on Ubuntu 16.04

Hi,
I'm trying to use movidius, using NCSDK2 on Ubuntu 16.04.
I have successfully performed:
git clone -b ncsdk2 https://github.com/movidius/ncsdk.git
make install
make run (python example)

Unfortunately when I try:
make examples then it fails with
making compile
mvNCCompile -w bvlc_googlenet.caffemodel -s 12 deploy.prototxt
Makefile:80: recipe for target 'compile' failed
make[4]: *** [compile] Illegal instruction (core dumped)
make[4]: Leaving directory '/home/jan/opensource/ncsdk/examples/caffe/GoogLeNet'
cp: cannot stat '../../caffe/GoogLeNet/graph': No such file or directory
Makefile:9: recipe for target 'googlenet' failed
make[3]: *** [googlenet] Error 1
make[3]: Leaving directory '/home/jan/opensource/ncsdk/examples/apps/multistick_cpp'
Makefile:13: recipe for target 'multistick_cpp/.' failed
make[2]: *** [multistick_cpp/.] Error 2
make[2]: Leaving directory '/home/jan/opensource/ncsdk/examples/apps'
Makefile:12: recipe for target 'apps/.' failed
make[1]: *** [apps/.] Error 2
make[1]: Leaving directory '/home/jan/opensource/ncsdk/examples'
Makefile:57: recipe for target 'examples' failed
make: *** [examples] Error 2

when I try particularly caffe examples:
make compile then
making compile
mvNCCompile -w bvlc_alexnet.caffemodel -s 12 deploy.prototxt
Makefile:79: recipe for target 'compile' failed
make[1]: *** [compile] Illegal instruction (core dumped)
make[1]: Leaving directory '/home/jan/opensource/ncsdk/examples/caffe/AlexNet'
Makefile:12: recipe for target 'AlexNet' failed
make: *** [AlexNet] Error 2

when I try tensorflow examples:
make compile then
Illegal instruction (core dumped)
Makefile:39: recipe for target 'weights' failed
make[1]: *** [weights] Error 132
make[1]: Leaving directory '/home/jan/opensource/ncsdk/examples/tensorflow/inception_v3'
Makefile:12: recipe for target 'inception_v3/.' failed
make: *** [inception_v3/.] Error 2

Comments

  • 10 Comments sorted by Votes Date Added
  • I've also tried to reinstall NCSDK several times, unfortunately that did not help.

  • Did you enabled http_proxy and https_proxy ?

  • I'm not sure? How do I find out?

    But I'm able to install various packages via apt-get or pip, so I assume that NCSDK does not need any other specific http_proxy setting.

  • env to see the environment.

    I guess the problem is that you didn't download model from google. so the compile can't finish. For me it because the GFW, so I used proxy.

    type export http_proxy=xxx.xxx.xxx.xxx:pppp to set proxy, which xxx.xxx.xxx.xxx stands for proxy ip, and pppp stands for port

    If use https, then export https_proxy instead.

  • I'm in the same boat - have tried everything - uninstalling, reinstalling. Running on an Up Squared board with the PCI-E Movidius card. It was previously working with the older version of NCSDK, but after upgrading to 2.0, I'm hosed.

  • @jharrispfp Just want to clarify, none of the examples are working for you? Can you post a log of the error you're seeing and which applications you've tried to use that are not working? Thanks.

    In case you have some bad installation files, you can redownload the ncsdk version 2.05 (I assume you're using NCSDK version 2.05). You can redownload the ncsdk using wget https://ncs-forum-uploads.s3.amazonaws.com/ncsdk/ncsdk-02_05_00_02-full/ncsdk-2.05.00.02.tar.gz.

  • edited September 21 Vote Up0Vote Down

    I got the same error on raspberry pi.
    I had v 1.12 before, everything was working great. To upgrade I uninstalled current version:
    make uninstall
    And then tried

    wget https://ncs-forum-uploads.s3.amazonaws.com/ncsdk/ncsdk-02_05_00_02-full/ncsdk-2.05.00.02.tar.gz
    tar xvf ncsdk-2.05.00.02.tar.gz
    cd ncsdk-2.05.00.02
    make install

    worked without errors.
    But after make examples I got this error that was described above.
    And make run in each example folder - same error
    And none of the examples are working except hello_ncs.py
  • I have the same error!
    I could not put the examples to run.
    What is the problem?
    Could be the problem with the version 2.05.00.02?

    I installed and reinstalled many times.
    Please help us !!!

  • @rafaelmr @Evgen make examples runs the install_opencv.sh script and then proceeds to build all of the examples. You can skip the make examples step if it is causing issues while building the samples.

    Make sure you open a new terminal window after installing the NCSDK to set the new PYTHONPATH environment variable before running make examples or manually running the install_opencv.sh script and doing a make run in each of the NCSDK samples.

    After installing NCSDK 2, you can also try cloning the NCAPPZOO using git clone -b ncsdk2 https://github.com/movidius/ncappzoo and see if you can build the samples.

    If you get a make examples error, try going into one of the example folders and doing a make clean and then a make run. Also please post your error output so I can better provide support for your issue. Thanks.

Sign In or Register to comment.