models icon indicating copy to clipboard operation
models copied to clipboard

Where is the 'tensorflow/models/' directory?

Open shuuchen opened this issue 9 years ago • 6 comments

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

shuuchen avatar Aug 18 '17 10:08 shuuchen

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

sguada avatar Aug 18 '17 17:08 sguada

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

cipri-tom avatar Oct 05 '17 10:10 cipri-tom

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

dineshresearch avatar Oct 27 '17 20:10 dineshresearch

@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.

cipri-tom avatar Oct 29 '17 13:10 cipri-tom

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 avatar Apr 04 '18 10:04 cristinabustos16

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

shanmugavel28 avatar Aug 01 '18 13:08 shanmugavel28