Skip to content

Commit

Permalink
Merge pull request tensorflow#718 from cshallue/master
Browse files Browse the repository at this point in the history
Update GraphKeys.VARIABLES to GraphKeys.GLOBAL_VARIABLES
  • Loading branch information
cshallue authored Dec 6, 2016
2 parents 4bcbe8e + 2c83637 commit a83ef50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion im2txt/im2txt/show_and_tell_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def build_image_embeddings(self):
trainable=self.train_inception,
is_training=self.is_training())
self.inception_variables = tf.get_collection(
tf.GraphKeys.VARIABLES, scope="InceptionV3")
tf.GraphKeys.GLOBAL_VARIABLES, scope="InceptionV3")

# Map inception output into embedding space.
with tf.variable_scope("image_embedding") as scope:
Expand Down

0 comments on commit a83ef50

Please sign in to comment.