2017-12-26 6 views
0

Kürzlich kaufte ich Movidius Neural Compute Stick und ich begann mit bereitgestellten Tutorial auf der Website. Make install funktioniert ohne irgendein Problem. Doch trotz folgenden genauen Schritte, die ich immer wieder in denselben Fehler bin Fehler während laufen machen Beispiele:Unerwartetes Problem beim Erstellen von Beispielen für movidius neuronaler Compute Stick (ncsdk)

mvNCCompile -w bvlc_googlenet.caffemodel -s 12 deploy.prototxt 
mvNCCompile v02.00, Copyright @ Movidius Ltd 2016 

Failed to include caffe_pb2, things might go wrong! 
Traceback (most recent call last): 
File "/usr/local/bin/mvNCCompile", line 118, in 
create_graph(args.network, args.inputnode, args.outputnode, args.outfile, args.nshaves, args.inputsize, args.weights) 
File "/usr/local/bin/mvNCCompile", line 100, in create_graph 
from Controllers.CaffeParser import parse_caffe 
File "/usr/local/bin/ncsdk/Controllers/CaffeParser.py", line 29, in 
import caffe 
File "/opt/movidius/caffe/python/caffe/init.py", line 4, in 
from .proto.caffe_pb2 import TRAIN, TEST 
File "/opt/movidius/caffe/python/caffe/proto/caffe_pb2.py", line 17, in 
serialized_pb='\n\x0b\x63\x61\x66\x66\x65.proto\x12\x05\x63(...most likely not important here...) 
File "/usr/local/lib/python3.5/dist-packages/google/protobuf/descriptor.py", line 829, in new 
return _message.default_pool.AddSerializedFile(serialized_pb) 
TypeError: expected bytes, str found 
Makefile:80: recipe for target 'compile' failed 
make[4]: *** [compile] Error 1 
make[4]: Leaving directory '/home/sebastian/Development/movidius_workspace/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/sebastian/Development/movidius_workspace/ncsdk/examples/apps/multistick_cpp' 
Makefile:12: recipe for target 'multistick_cpp/.' failed 
make[2]: *** [multistick_cpp/.] Error 2 
make[2]: Leaving directory '/home/sebastian/Development/movidius_workspace/ncsdk/examples/apps' 
Makefile:12: recipe for target 'apps/.' failed 
make[1]: *** [apps/.] Error 2 
make[1]: Leaving directory '/home/sebastian/Development/movidius_workspace/ncsdk/examples' 
Makefile:51: recipe for target 'examples' failed 
make: *** [examples] Error 2 

Meine Konfiguration ist wie folgt:

[email protected]:~$ python --version 
Python 2.7.12 
[email protected]:~$ echo $PYTHONPATH 
:/opt/movidius/caffe/python 
[email protected]:~$ lscpu | grep "Model name" 
Model name: Intel(R) Celeron(R) CPU N2840 @ 2.16GHz 
[email protected]:~$ lsb_release -a 
No LSB modules are available. 
Distributor ID: Ubuntu 
Description: Ubuntu 16.04.3 LTS 
Release: 16.04 
Codename: xenial 

ich Vorschläge zu schätzen wissen würde, was ich brauche, um tue, um erfolgreich Beispiele zu erstellen.

+0

@shellter Dieses Verzeichnis im Baum vorhanden ist. Beachten Sie, dass dies auf eine nicht vorhandene Grafikdatei zeigt. Was nicht wegen eines früheren Fehlers erstellt wurde. – sebap123

+0

Hoppla, habe das nicht nahe genug gelesen. Ich sehe nicht, wie ich hier helfen kann, außer mich über die 'TypeError'-Nachricht zu wundern. Viel Glück! – shellter

Antwort

0

Wir haben keine Probleme während der Installation gefunden. Unsere Konfiguration ist wie folgt:

movidius @ osboxes: ~ $ python --version

Python 2.7.12

movidius @ osboxes: ~ $ echo $ PYTHONPATH

:/opt/movidius/caffe/python

movidius @ osboxes: ~ $ lscpu | grep "Modellname"

Modellname: Intel (R) Core (TM) i5-5300U CPU @ 2.30GHz

movidius @ osboxes: ~ $ lsb_release -a

Keine LSB-Module zur Verfügung. Distributor ID: Ubuntu Beschreibung: Ubuntu 16.04.3 LTS Release: 16.04 Codename: xenial

Könnten Sie bitte tun 'sauber machen' und versuchen Sie es erneut Installation mit 'make install' dann tun 'Beispiele machen'.

Wenn Sie wieder Probleme haben, wenden Sie sich bitte an die folgenden Links.

  1. https://developer.movidius.com/start

  2. https://movidius.github.io/ncsdk/install.html

Verwandte Themen