Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
2c83637d
Commit
2c83637d
authored
Dec 06, 2016
by
Christopher Shallue
Browse files
Update GraphKeys.VARIABLES to GraphKeys.GLOBAL_VARIABLES
parent
4bcbe8e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
im2txt/im2txt/show_and_tell_model.py
im2txt/im2txt/show_and_tell_model.py
+1
-1
No files found.
im2txt/im2txt/show_and_tell_model.py
View file @
2c83637d
...
@@ -192,7 +192,7 @@ class ShowAndTellModel(object):
...
@@ -192,7 +192,7 @@ class ShowAndTellModel(object):
trainable
=
self
.
train_inception
,
trainable
=
self
.
train_inception
,
is_training
=
self
.
is_training
())
is_training
=
self
.
is_training
())
self
.
inception_variables
=
tf
.
get_collection
(
self
.
inception_variables
=
tf
.
get_collection
(
tf
.
GraphKeys
.
VARIABLES
,
scope
=
"InceptionV3"
)
tf
.
GraphKeys
.
GLOBAL_
VARIABLES
,
scope
=
"InceptionV3"
)
# Map inception output into embedding space.
# Map inception output into embedding space.
with
tf
.
variable_scope
(
"image_embedding"
)
as
scope
:
with
tf
.
variable_scope
(
"image_embedding"
)
as
scope
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment