TensorFlow目标检测安装错误TensorFlow/模型/研究/

TensorFlow目标检测安装错误TensorFlow/模型/研究/,tensorflow,installation,object-detection,Tensorflow,Installation,Object Detection,正如标题所述,我在安装TensorFlow对象检测时遇到问题。 我的系统: lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 17.04 Release: 17.04 Codename: zesty 和建筑: uname -i x86_64 这些就是我所采取的步骤。 首先,我验证了我的python安装: python-Vpython2.7.13 和我

正如标题所述,我在安装TensorFlow对象检测时遇到问题。
我的系统:

lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 17.04
Release:    17.04
Codename:   zesty
和建筑:

uname -i
x86_64
这些就是我所采取的步骤。
首先,我验证了我的python安装:
python-V
python2.7.13
和我的pip安装:
pip-V
pip9.0.1 from/usr/lib/python2.7/dist-packages(python2.7)

之后,我将url设置为最新的tensorflow版本

export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linu/cpu/tensorflow-1.4.0-cp27-none-linux_x86_64.whl
然后我安装了tensorflow

sudo pip install tensorflow
在此之后,我验证了安装:

python


import tensorflow as tf
hello = tf.constant('Hello, TensorFlow!')
sess = tf.Session()
print(sess.run(hello))
你好,TensorFlow作为响应

现在麻烦来了

我试着遵循这个指南:

跑步:

这些命令都成功执行了

不过,下一步给了我一些问题。
本指南没有说明什么是目录
tensorflow/models/research/
(如果是自动创建的,或者应该由用户创建,在这种情况下,在哪里?
所以我在谷歌上搜索了一下,找到了这个: 声明我应该创建它。。。但这样做会使下一个命令从新创建的目录执行

protoc object_detection/protos/*.proto --python_out=.
失败,出现错误
object\u detection/protos/*。proto:没有这样的文件或目录


我在
tester@tester-vm:~/Documents$
因此完整目录路径变为
tester@tester-vm:~/Documents/tensorflow/models/research$



我猜我无论如何都不应该自己创建目录,但我希望能得到一些提示

假设您签出了模型repo(
git克隆https://github.com/tensorflow/models.git
),tensorflow/models/research/
目录是本回购协议中的
research
目录。基本上,这个目录:

假设您签出了模型repo(
git clone)https://github.com/tensorflow/models.git
),tensorflow/models/research/
目录是本回购协议中的
research
目录。基本上,这个目录:

这正是我错过的。安装说明从来没有说要克隆git repo,但ofc必须这样做。。。谢谢!这正是我错过的。安装说明从来没有说要克隆git repo,但ofc必须这样做。。。谢谢!
protoc object_detection/protos/*.proto --python_out=.