- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I tried running mobilenets_benchmark.sh in ncappzoo/apps/benchmarkncs under a Ubuntu machine running on 64bit x86. I get the following error:
_ --2017-12-08 12:09:32-- http://download.tensorflow.org/models/mobilenet_v1_1.0_224_2017_06_14.tar.gz
Resolving download.tensorflow.org (download.tensorflow.org)… 74.125.136.128, 2607:f8b0:4002:c00::80
Connecting to download.tensorflow.org (download.tensorflow.org)|74.125.136.128|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 62967930 (60M) [application/x-tar]
Saving to: ‘mobilenet_v1_1.0_224_2017_06_14.tar.gz’
mobilenet_v1_1.0_224_2017_06_14.tar.gz 100%[====================================================================================================>] 60.05M 674KB/s in 83s
2017-12-08 12:10:56 (737 KB/s) - ‘mobilenet_v1_1.0_224_2017_06_14.tar.gz’ saved [62967930/62967930]
Traceback (most recent call last):
File "./save_session.py", line 12, in
from mobilenet_v1 import *
File "/home/ram/Git/ncappzoo/tensorflow/mobilenets/mobilenet_v1.py", line 113, in
slim = tf.contrib.slim
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/util/lazy_loader.py", line 53, in getattr
module = self._load()
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/util/lazy_loader.py", line 42, in _load
module = importlib.import_module(self.name)
File "/usr/lib/python3.5/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/contrib/init.py", line 24, in
from tensorflow.contrib import compiler
ImportError: cannot import name 'compiler'
Makefile:49: recipe for target 'weights' failed
make: *** [weights] Error 1
Traceback (most recent call last):
File "./benchmarkncs.py", line 65, in
with open(join(argv[1],'graph'), mode='rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '../../tensorflow/mobilenets/graph'
Any help is appreciated.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I managed to work around this problem by reinstalling tensorflow:
sudo -H pip3 uninstall tensorflow
sudo -H pip3 install tensorflow
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page