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.

NCSSDK run AlexNet example error

idata
Employee
660 Views

1. device

 

unbutu 16.04 NCS

 

2.command

 

action@action:~/code/ncs/ncsdk/examples/caffe/AlexNet$ make run

 

3.information

 

`\nmaking prereqs

 

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

 

make[1]: Entering directory '/home/action/code/ncs/ncsdk/examples/data/ilsvrc12'

 

make[1]: Leaving directory '/home/action/code/ncs/ncsdk/examples/data/ilsvrc12'

 

chmod +x run.py

 

\nmaking prototxt

 

Prototxt file already exists

 

\nmaking caffemodel

 

caffemodel file already exists

 

\nmaking compile

 

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

 

/usr/local/bin/ncsdk/Controllers/Parsers/TensorFlowParser/Convolution.py:46: SyntaxWarning: assertion is always true, perhaps remove parentheses?

 

assert(False, "Layer type not supported by Convolution: " + obj.type)

 

/usr/local/bin/ncsdk/Controllers/Parsers/Phases.py:322: SyntaxWarning: assertion is always true, perhaps remove parentheses?

 

assert(len(pred) == 1, "Slice not supported to have >1 predecessors")

 

mvNCCompile v02.00, Copyright @ Intel Corporation 2017

 

Fusing Pad and Convolution2D

 

Fusing BatchNorm and Scale after Convolution

 

Replacing BN with Bias&Scale

 

Fusing Permute and Flatten

 

Fusing Eltwise and Relu

 

Eliminate layers that have been parsed as NoOp

 

Evaluating input and weigths for each hw layer

 

Network Input tensors ['data#24']

 

Network Output tensors ['prob#38']

 

Blob generated

 

\nmaking run

 

./run.py

 

E: [ 0] dispatcherEventSend:820 Write failed -7

 

E: [ 0] dispatcherEventReceive:236 dispatcherEventReceive() Read failed -4

 

E: [ 0] eventReader:254 Failed to receive event, the device may have reset

 

E: [ 0] dispatcherEventSend:811 Write failed -4`

0 Kudos
1 Reply
idata
Employee
332 Views

Hi @yangxiu123321

 

Are you using the Neural Compute Stick (NCS) 1 or 2?

 

Can you provide the output of lsusb?

 

Regards,

 

Jesus
0 Kudos
Reply