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
f653bd23
Commit
f653bd23
authored
Jan 09, 2017
by
Christopher Shallue
Browse files
Replace deprecated functions
parent
7fb8b0f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
im2txt/im2txt/ops/image_embedding_test.py
im2txt/im2txt/ops/image_embedding_test.py
+1
-1
No files found.
im2txt/im2txt/ops/image_embedding_test.py
View file @
f653bd23
...
...
@@ -41,7 +41,7 @@ class InceptionV3Test(tf.test.TestCase):
def
_countInceptionParameters
(
self
):
"""Counts the number of parameters in the inception model at top scope."""
counter
=
{}
for
v
in
tf
.
a
l
l_variables
():
for
v
in
tf
.
glob
al_variables
():
name_tokens
=
v
.
op
.
name
.
split
(
"/"
)
if
name_tokens
[
0
]
==
"InceptionV3"
:
name
=
"InceptionV3/"
+
name_tokens
[
1
]
...
...
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