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.
6392 Discussions

[Error 20] Toolkit Error: Input Layer must be in an input_shape construct.

idata
Employee
741 Views

I've downloaded vgg16 caffe model from this website:

 

https://gist.github.com/ksimonyan/211839e770f7b538e2d8#file-readme-md

 

vgg16$ make compile

 

\nmaking prereqs

 

(cd ../../data/ilsvrc12; make)

 

make[1]: Entering directory 'BenchmarkMovidius/examples/data/ilsvrc12'

 

make[1]: Leaving directory 'BenchmarkMovidius/examples/data/ilsvrc12'

 

chmod +x run.py

 

echo "\nmaking prototxt"

 

\nmaking prototxt

 

Prototxt file already exists

 

\nmaking caffemodel

 

caffemodel file already exists

 

\nmaking compile

 

mvNCCompile -w vgg16.caffemodel -s 12 deploy.prototxt

 

mvNCCompile v02.00, Copyright @ Movidius Ltd 2016

 

/home/yuepx1027/anaconda2/envs/py3.6/lib/python3.6/site-packages/skimage/init.py:60: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses

 

import imp

 

[libprotobuf WARNING google/protobuf/io/coded_stream.cc:537] Reading dangerously large protocol message. If the message turns out to be larger than 2147483647 bytes, parsing will be halted for security reasons. To increase the limit (or to disable these warnings), see CodedInputStream::SetTotalBytesLimit() in google/protobuf/io/coded_stream.h.

 

[libprotobuf WARNING google/protobuf/io/coded_stream.cc:78] The total number of bytes read was 553432081

 

[Error 20] Toolkit Error: Input Layer must be in an input_shape construct.

 

Thanks a lot!

0 Kudos
2 Replies
idata
Employee
438 Views

What's the meaning of this Toolkit Error and how can I fix this problem ?

0 Kudos
idata
Employee
438 Views

@AaronYue2017 Please visit https://movidius.github.io/ncsdk/Caffe.html and scroll down to the limitation section for more information. We support a specific input format and you just have to modify this networks input to be compatible.

0 Kudos
Reply