frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

undefined symbol: _ZN6google8protobuf8internal9ArenaImpl10AddCleanupEPvPFvS3_E

in the directory ncappzoo/apps/live-image-classifier ,i try to sudo make mobilenet,it have such error:

Exporting GraphDef file...
(cd model; python3 /home/workspace/code/ncappzoo/tensorflow/mobilenets/../tf_models/models/research/slim/export_inference_graph.py \
    --alsologtostderr \
    --model_name=mobilenet_v1 \
    --batch_size=1 \
    --dataset_name=imagenet \
    --image_size=224 \
    --output_file=mobilenet_v1_1.0_224.pb;)
Traceback (most recent call last):
  File "/home/workspace/code/ncappzoo/tensorflow/mobilenets/../tf_models/models/research/slim/export_inference_graph.py", line 62, in <module>
    from datasets import dataset_factory
  File "/home/workspace/code/ncappzoo/tensorflow/tf_models/models/research/slim/datasets/dataset_factory.py", line 21, in <module>
    from datasets import cifar10
  File "/home/workspace/code/ncappzoo/tensorflow/tf_models/models/research/slim/datasets/cifar10.py", line 30, in <module>
    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 33, in <module>
    from tensorflow.contrib import data
  File "/usr/local/lib/python3.5/dist-packages/tensorflow/contrib/data/__init__.py", line 63, in <module>
    from tensorflow.contrib.data.python.ops.error_ops import ignore_errors
  File "/usr/local/lib/python3.5/dist-packages/tensorflow/contrib/data/python/ops/error_ops.py", line 20, in <module>
    from tensorflow.contrib.data.python.ops import contrib_op_loader  # pylint: disable=unused-import
  File "/usr/local/lib/python3.5/dist-packages/tensorflow/contrib/data/python/ops/contrib_op_loader.py", line 24, in <module>
    resource_loader.get_path_to_datafile("../../_dataset_ops.so"))
  File "/usr/local/lib/python3.5/dist-packages/tensorflow/contrib/util/loader.py", line 56, in load_op_library
    ret = load_library.load_op_library(path)
  File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/load_library.py", line 58, in load_op_library
    lib_handle = py_tf.TF_LoadLibrary(library_filename, status)
  File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/errors_impl.py", line 516, in __exit__
    c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.NotFoundError: /usr/local/lib/python3.5/dist-packages/tensorflow/contrib/data/python/ops/../../_dataset_ops.so: undefined symbol: _ZN6google8protobuf8internal9ArenaImpl10AddCleanupEPvPFvS3_E
Makefile:69: recipe for target 'export' failed
make[1]: *** [export] Error 1
make[1]: Leaving directory '/home/workspace/code/ncappzoo/tensorflow/mobilenets'
Makefile:26: recipe for target 'mobilenet' failed
make: *** [mobilenet] Error 2

another question:
in the directory ncappzoo/apps/live-image-classifier ,i try to sudo make run,it returns the following error:
ImportError: No module named caffe, so i add below code in Makefile:

ifneq ($(findstring movidius, $(PYTHONPATH)), movidius)
           export PYTHONPATH:=/opt/movidius/caffe/python:$(PYTHONPATH)
  endif

it works very well , i don't know if it is a bug for you.

Comments

Sign In or Register to comment.