- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I installed mncs on my pc correctly. now when I want to run facenet example, got below error to produce graph file in using mvNCCompile command. while tensorflow installed correctly because tested in other codes. please help me to solve this problem. is it because of tensorflow version? or is related to other problems?
making compile
/bin/sh: 7: cd: can't cd to 20170512-110547/facenet_celeb_ncs
Command line: mvNCCompile facenet_celeb_ncs.meta -w facenet_celeb_ncs -s 12 -in input -on output -o facenet_celeb_ncs.graph
mvNCCompile v02.00, Copyright @ Movidius Ltd 2016
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 103, in create_graph
from Controllers.TensorFlowParser import parse_tensor
File "/usr/local/bin/ncsdk/Controllers/TensorFlowParser.py", line 18, in
import tensorflow as tf
ImportError: No module named 'tensorflow'
cp: cannot stat 'facenet_celeb_ncs.graph': No such file or directory
mvncs_version = 1
tensorflow_version = 1.4.0
- Tags:
- Movidius
- Tensorflow
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@hadi Which version of the NCSDK are you using?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Tome_at_Intel version is NCSDK-1.12.00.01
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@hadi It looks like the NCSDK cannot find tensorflow on your system when running the TensorFlow parser. Can you make sure your pythonpath is set by typing in echo $PYTHONPATH
and let me know what you get.
Also try the following command: pip3 show tensorflow
. If you do not have tensorflow installed for python3, please install it using the command pip3 install tensorflow==1.4 --ignore-installed
.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Tome_at_Intel
Dear Tome, need you help again :#
echo $PYTHONPATH
:/opt/movidius/caffe/python
pip3 show tensorflow
Name: tensorflow
Version: 1.7.0
Summary: TensorFlow helps the tensors flow
Home-page: https://www.tensorflow.org/
Author: Google Inc.
Author-email: opensource@google.com
License: Apache 2.0
Location: /usr/local/lib/python3.5/dist-packages
Requires: six, numpy, astor, gast, wheel, tensorboard, grpcio, protobuf, termcolor, absl-py
Required-by:
mvNCCompile facenet_celeb_ncs.meta -w facenet_celeb_ncs -s 12 -in input -on output -o facenet_celeb_ncs.graph
Traceback (most recent call last):
File "/usr/local/bin/mvNCCompile", line 35, in
from Controllers.Scheduler import load_myriad_config, load_network
File "/usr/local/bin/ncsdk/Controllers/Scheduler.py", line 24, in
from Controllers.Optimizer import postParsingOptimizations, selectImplementations, streamEverythingSchedule, fixTensors, eliminateNoOps
File "/usr/local/bin/ncsdk/Controllers/Optimizer.py", line 25, in
from Controllers.Parsers.Parser.Conversion import Conversion
File "/usr/local/bin/ncsdk/Controllers/Parsers/init.py", line 3, in
from .Caffe import CaffeParser
File "/usr/local/bin/ncsdk/Controllers/Parsers/Caffe.py", line 30, in
import caffe
File "/opt/movidius/caffe/python/caffe/init.py", line 1, in
from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver
File "/opt/movidius/caffe/python/caffe/pycaffe.py", line 15, in
import caffe.io
File "/opt/movidius/caffe/python/caffe/io.py", line 2, in
import skimage.io
File "/usr/local/lib/python3.5/dist-packages/skimage/io/init.py", line 7, in
from .manage_plugins import *
File "/usr/local/lib/python3.5/dist-packages/skimage/io/manage_plugins.py", line 28, in
from .collection import imread_collection_wrapper
File "/usr/local/lib/python3.5/dist-packages/skimage/io/collection.py", line 14, in
from ..external.tifffile import TiffFile
File "/usr/local/lib/python3.5/dist-packages/skimage/external/tifffile/init.py", line 1, in
from .tifffile import imsave, imread, imshow, TiffFile, TiffWriter, TiffSequence
File "/usr/local/lib/python3.5/dist-packages/skimage/external/tifffile/tifffile.py", line 293, in
from . import _tifffile
RuntimeError: module compiled against API version 0xc but this version of numpy is 0xa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Sramctc you need to upgrade your numpy version to fix it.
sudo pip install numpy --upgrade
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Tome_at_Intel thanks to answer. I fixed my problem . now I got timeout error when run make all command for inception1. I run mvnc on raspberry pi3.
Myriad error: "mvncStatus. TIMEOUT".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@hadi Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@hadi Are you using a powered USB hub? On my RPi, I get that error sometimes if I don't use a powered USB hub and I am using several USB components.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page