Models: Where is the 'tensorflow/models/' directory?

Created on 18 Aug 2017  路  6Comments  路  Source: tensorflow/models

Hi All,

I am trying to install object detection API following https://github.com/tensorflow/models/blob/master/object_detection/g3doc/installation.md

In the Protobuf Compilation part, I should run

# From tensorflow/models/
protoc object_detection/protos/*.proto --python_out=.

in the tensorflow/models/ directory. So where is the directory?

Does it already exist or should I create one by myself?

I am using ubuntu

Most helpful comment

It doesn't come just with 'pip install tensorflow'

Dont forget to do 'git clone https://github.com/tensorflow/models.git' and then you configure it the path as said in the instructions

All 6 comments

You need to create it yourself, it should be where you clone this repo.

and should we put this in the tensorflow installation path ? (in site-packages)

I think I answered my own question, from here: https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/running_locally.md#recommended-directory-structure-for-training-and-evaluation

can you please help me out should i keep it in the ../site_packages/tensorflow/ directory?

@dineshkumaramara1 no, you don't have to keep it there. You can put the tensorflow/models repository wherever you like.

But please check the installation instructions, especially this part.

It doesn't come just with 'pip install tensorflow'

Dont forget to do 'git clone https://github.com/tensorflow/models.git' and then you configure it the path as said in the instructions

@cristinabustos16 thank you , your idea worked for me. a long search ended with your answer. thank you

Was this page helpful?
0 / 5 - 0 ratings