user3319734
user3319734

Reputation: 77

Running TensorFlow demo model on Windows

I have installed tensorflow on Windows 7 using

C:\> pip3 install --upgrade tensorflow

Then to check if it is working fine, I did:

import tensorflow as tf

hello = tf.constant('Hello, TensorFlow!')
sess = tf.Session()
print(sess.run(hello))

It printed "Hello, TensorFlow!"

So everything seems working fine.

But now I am trying to locate "tensorflow/models/"

but there is no such directory. Contents of tensorflow directory at my machine are presented in this image Contents of tensorflow directory are presented in this image

I don't know how to find or install tensorflow/models/, so that I can use already trained models for my problem.

Upvotes: 0

Views: 246

Answers (1)

Milind Deore
Milind Deore

Reputation: 3063

You need to clone tensorflow models for the path you are mentioning

git clone https://github.com/tensorflow/models.git

And locate: tutorials/image/imagenet/classify_image.py

Upvotes: 1

Related Questions