Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

Can't install Toolkit

idata
Employee
1,540 Views

I install a new ubuntu16.04 PC. And only install all of "bin/requirements_apt.txt".

 

Then $ sudo apt-get upadte, and $ sudo apt-get upgrade, $ ./setup.sh

 

When $ echo $PYTHONPATH, can see :/opt/Movidius/caffe/python:

 

Finish $ ./dlnets.sh, but have error.

 

--2017-07-26 03:43:04-- https://dl.dropboxusercontent.com/u/38822310/mean.binaryproto

 

Resolving dl.dropboxusercontent.com (dl.dropboxusercontent.com)… 8.7.198.45, 200:2:4e10:310f::

 

Connecting to dl.dropboxusercontent.com (dl.dropboxusercontent.com)|8.7.198.45|:443… failed: Connection refused.

 

Connecting to dl.dropboxusercontent.com (dl.dropboxusercontent.com)|200:2:4e10:310f::|:443… failed: Network is unreachable.

 

Traceback (most recent call last):

 

File "generate_means.py", line 7, in

 

mean = caffe.io.blobproto_to_array(a)[0]

 

File "/opt/movidius/caffe/python/caffe/io.py", line 34, in blobproto_to_array

 

return data.reshape(blob.shape.dim)

 

ValueError: cannot reshape array of size 0 into shape ()
0 Kudos
18 Replies
idata
Employee
1,221 Views

Hi @LiWeichen, The error looks like it could be due to internet connectivity/firewall/proxy problems. Can you verify that if you enter the link https://dl.dropboxusercontent.com/u/38822310/mean.binaryproto into your browser that you can download the file that way?

 

Or alternatively you could run this command from the terminal and the file should download:

 

wget https://dl.dropboxusercontent.com/u/38822310/mean.binaryproto

 

If you can download the file as above, can you post the output from

 

$ make check

 

you'll need to run it from the toolkit's bin directory

 

Assuming it wasn't just a connectivity issue, the next step is probably to run setup.sh from the toolkit bin directory and save the output to a file to make sure its completing without error.

0 Kudos
idata
Employee
1,221 Views

Now I install successfully, and can run bin/example00, but can't run bin/example01

 

I try to use USB2 and USB3.

 

 

0 Kudos
idata
Employee
1,221 Views

@LiWeichen the mvNCProfile.pyc (which is actually run by make example01) requires the NCS to be plugged in so that it can run your network on the NCS and then pull the per-layer performance statistics. Please confirm that the NCS has been enumerated on your host machine. I generally use:

 

dmesg | grep "Movidius" [ 2.931343] usb 1-1: Product: Movidius MA2X5X [ 2.931346] usb 1-1: Manufacturer: Movidius Ltd.

 

If you already have the NCS plugged in, please try unplugging it, re-plug, and try make example01 again.

0 Kudos
idata
Employee
1,221 Views

@LiWeichen I just noticed that you are trying to run on a virtual machine. Please see my comment about virtual machine support - https://forums.intel.com/s/question/0D50P00004NLzz2SAD. Please move to a system running Ubuntu 16.04 natively.

0 Kudos
idata
Employee
1,221 Views

I'm seeing the exact same error as @LiWeichen originally saw.

 

Downloading the file with wget from command-line also fails with 404:

 

$ wget https://dl.dropboxusercontent.com/u/38822310/mean.binaryproto --2017-09-05 17:08:31-- https://dl.dropboxusercontent.com/u/38822310/mean.binaryproto Resolving dl.dropboxusercontent.com (dl.dropboxusercontent.com)... 162.125.2.6 Connecting to dl.dropboxusercontent.com (dl.dropboxusercontent.com)|162.125.2.6|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2017-09-05 17:08:31 ERROR 404: Not Found.

 

I did, make check from bin directory, which prints nothing (no missing dependency). I ran the setup.sh script again but there was no error.

0 Kudos
idata
Employee
1,221 Views

@enobufs Please ensure that you are using the SDK with a physical machine running 16.04 natively. If you are running the SDK on a native machine, please wait and try the setup.sh script again as some host servers may come down for maintenance.

0 Kudos
idata
Employee
1,221 Views

I am using Ubuntu 16.04 natively.

 

All of the wget commands in bin/data/dlnets.sh against urls starting with https://dl.dropboxusercontent.com/u/38822310/ are failing with 404 error.

 

0 Kudos
idata
Employee
1,221 Views

@enobufs We are working on a solution for this. The owner of the caffe model files removed them and we are working with the owner to resolve this issue as soon as possible. This should not affect the function of the SDK, however examples that use the age and gender networks may not work until the hosted files are restored. Thank you for your patience.

0 Kudos
idata
Employee
1,221 Views

I have the same problem. Is there anywhere else I can get mean.binaryproto from?

0 Kudos
idata
Employee
1,221 Views

Same problem also

0 Kudos
idata
Employee
1,221 Views

I have the same problem, is there a way to do anything right now?

0 Kudos
idata
Employee
1,221 Views
0 Kudos
idata
Employee
1,221 Views

Hi everybody,

 

help needed

 

My problem is the toolkit installation. I have the following message stream after the .sh running

 

CMake Warning at /home/vladimir/opencv-3.1.0/cmake/OpenCVConfig.cmake:166 (message):

 

Found OpenCV Windows Pack but it has no binaries compatible with your

 

configuration.

 

You should manually point CMake variable OpenCV_DIR to your build of OpenCV

 

library.

 

Call Stack (most recent call first):

 

cmake/Dependencies.cmake:99 (find_package)

 

CMakeLists.txt:46 (include)

 

CMake Error at cmake/Dependencies.cmake:99 (find_package):

 

Found package configuration file:

 

/home/vladimir/opencv-3.1.0/cmake/OpenCVConfig.cmake

 

but it set OpenCV_FOUND to FALSE so package "OpenCV" is considered to be

 

NOT FOUND.

 

Call Stack (most recent call first):

 

CMakeLists.txt:46 (include)

 

-- Configuring incomplete, errors occurred!

 

See also "/opt/movidius/caffe/build/CMakeFiles/CMakeOutput.log".

 

See also "/opt/movidius/caffe/build/CMakeFiles/CMakeError.log".

 

Installation failed. Error on line 128
0 Kudos
idata
Employee
1,221 Views

@vvk Looks like you may have had a previous version of OpenCV installed and it is causing a conflict. Try going to the /opt/movidius/caffe/build directory, and deleting the CMakeCache.txt then try running the setup.sh script again.

0 Kudos
idata
Employee
1,221 Views

Thanks @Tome_at_Intel ! Unfortunately it doesn't work.

 

Again:

 

CMake Warning at /home/vladimir/opencv-3.1.0/cmake/OpenCVConfig.cmake:166 (message):

 

Found OpenCV Windows Pack but it has no binaries compatible with your

 

configuration.

 

You should manually point CMake variable OpenCV_DIR to your build of OpenCV

 

library.

 

Call Stack (most recent call first):

 

cmake/Dependencies.cmake:99 (find_package)

 

CMakeLists.txt:46 (include)

 

CMake Error at cmake/Dependencies.cmake:99 (find_package):

 

Found package configuration file:

 

/home/vladimir/opencv-3.1.0/cmake/OpenCVConfig.cmake

 

but it set OpenCV_FOUND to FALSE so package "OpenCV" is considered to be

 

NOT FOUND.

 

Call Stack (most recent call first):

 

CMakeLists.txt:46 (include)

 

-- Configuring incomplete, errors occurred!

 

See also "/opt/movidius/caffe/build/CMakeFiles/CMakeOutput.log".

 

See also "/opt/movidius/caffe/build/CMakeFiles/CMakeError.log".

 

Installation failed. Error on line 128

 

May be it make sense to delete my OpenCV app before?

0 Kudos
idata
Employee
1,221 Views

@vvk You can try removing OpenCV from where you built it, then installing the SDK, then building OpenCV 3.1 again. Let me know if this fixes your problem.

0 Kudos
idata
Employee
1,221 Views

I removed all apps from my computer and now the ToolKit is installed. But my next step is unsuccessful again. During the dlnets.sh script running I got:

 

--2017-09-15 14:29:10-- https://dl.dropboxusercontent.com/u/38822310/mean.binaryproto

 

Resolving dl.dropboxusercontent.com (dl.dropboxusercontent.com)… 162.125.66.6, 2620:100:6022:6::a27d:4206

 

Connecting to dl.dropboxusercontent.com (dl.dropboxusercontent.com)|162.125.66.6|:443… connected.

 

HTTP request sent, awaiting response… 404 Not Found

 

2017-09-15 14:29:10 ERROR 404: Not Found.

 

Traceback (most recent call last):

 

File "generate_means.py", line 7, in

 

mean = caffe.io.blobproto_to_array(a)[0]

 

File "/opt/movidius/caffe/python/caffe/io.py", line 34, in blobproto_to_array

 

return data.reshape(blob.shape.dim)

 

ValueError: cannot reshape array of size 0 into shape ()

 

What does it mean? How it will impact to use the downloaded models?
0 Kudos
idata
Employee
1,221 Views

@vvk The error you're getting is due to broken (not existing) link. Please refer to this post https://forums.intel.com/s/question/0D50P00004NM00JSAT Hopefully this will solve your problem.

0 Kudos
Reply