Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HadoopFileSystem Error related to label_map_util.py #81

Open
aerdengiz opened this issue Apr 9, 2020 · 0 comments
Open

HadoopFileSystem Error related to label_map_util.py #81

aerdengiz opened this issue Apr 9, 2020 · 0 comments

Comments

@aerdengiz
Copy link

Hello, I followed all the instructions for installing Tensorflow, OpenCV etc. as described in readme.MD

Using:
RaspberryPI 4B - latest Buster release, 1GB RAM, 64GB SD - 51.5GB free
Python3 version: 3.7.3
Tensorflow version: 1.14.0
opencv version: 3.4.6
protoc version: 3.6.1

I get the following Error Message:

2020-04-09 10:47:21.109267: E tensorflow/core/platform/hadoop/hadoop_file_system.cc:132] HadoopFileSystem load error: libhdfs.so: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "Object_detection_picamera.py", line 51, in
from utils import label_map_util
File "/home/pi/tensorflow1/models/research/object_detection/utils/label_map_util.py", line 27, in
from object_detection.protos import string_int_label_map_pb2
ImportError: cannot import name 'string_int_label_map_pb2' from 'object_detection.protos' (/home/pi/tensorflow1/models/research/object_detection/protos/init.py)

In addition, everything is created and installed in the base environment, there is no virtual env present, but if I try to import tensorflow in python command line it fails while when I run it with Jupyter notebook it works!

**Python 3.7.3 (default, Dec 20 2019, 18:57:59)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

import tensorflow as tf
2020-04-09 11:03:19.017847: E tensorflow/core/platform/hadoop/hadoop_file_system.cc:132] HadoopFileSystem load error: libhdfs.so: cannot open shared object file: No such file or directory**

Thank you for your help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant