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
- 标记:
- Movidius
链接已复制
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
.
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 errorAnd none of the examples are working except
hello_ncs.py
@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.
