ros_tensorflow icon indicating copy to clipboard operation
ros_tensorflow copied to clipboard

I need help

Open Alwaysuuu opened this issue 6 years ago • 3 comments

Traceback (most recent call last): File "/home/smile/catkin_ws/src/ros_tensorflow/scripts/ros_tensorflow_detect.py", line 122, in tf.import_graph_def(od_graph_def, name='') File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/importer.py", line 258, in import_graph_def op_def = op_dict[node.op] KeyError: u'TensorArrayV3'

怎么破解啊?

Alwaysuuu avatar Jun 06 '18 10:06 Alwaysuuu

Sorry, there really doesn't appear this "/usr/local/lib/python2.7/dist-packages/tensorflow/" folder in my system. Did you compile "Cython" according to the official tutorial? And you can refer to this issue (https://github.com/tensorflow/models/issues/1603).

cong avatar Jun 07 '18 03:06 cong

@cdlwhm1217096231 I‘m running this code today, and there is no error. How do you build the environment? 今天我在云服务器上运行了这个repo,没有报错,私以为和你配的环境有关...

cong avatar Aug 31 '18 12:08 cong

@cdlwhm1217096231

# 安装依赖项
# Dependencies
sudo apt-get install protobuf-compiler python-pil python-lxml
sudo pip install jupyter
sudo pip install matplotlib

不知道你这些依赖项安装了没有,若果还是报错的话,建议重新开一个新环境部署测试. Have you installed those tools and dependencies? And if there is any error with this repo please deploy in a clean environment.

cong avatar Sep 05 '18 01:09 cong