jazzsaxmafia / show_and_tell.tensorflow

BSD 2-Clause "Simplified" License
291 stars 92 forks source link

Error while reading VGG model in test_tf #10

Open shekharRavi opened 8 years ago

karaanil commented 7 years ago

Change reading VGG segment with below lines

with tf.gfile.Open(vgg_path, 'rb') as f:
    fileContent = f.read()
    graph_def = tf.GraphDef()
    graph_def.ParseFromString(fileContent)