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
31470bd9
Commit
31470bd9
authored
Sep 18, 2017
by
Daniel Angelov
Committed by
Neal Wu
Sep 18, 2017
Browse files
Change deprecated all_variables to global_variables (#2399)
parent
91fbd5c5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
object_detection/meta_architectures/ssd_meta_arch.py
object_detection/meta_architectures/ssd_meta_arch.py
+1
-1
No files found.
object_detection/meta_architectures/ssd_meta_arch.py
View file @
31470bd9
...
@@ -604,7 +604,7 @@ class SSDMetaArch(model.DetectionModel):
...
@@ -604,7 +604,7 @@ class SSDMetaArch(model.DetectionModel):
the model graph.
the model graph.
"""
"""
variables_to_restore
=
{}
variables_to_restore
=
{}
for
variable
in
tf
.
a
l
l_variables
():
for
variable
in
tf
.
glob
al_variables
():
if
variable
.
op
.
name
.
startswith
(
self
.
_extract_features_scope
):
if
variable
.
op
.
name
.
startswith
(
self
.
_extract_features_scope
):
var_name
=
variable
.
op
.
name
var_name
=
variable
.
op
.
name
if
not
from_detection_checkpoint
:
if
not
from_detection_checkpoint
:
...
...
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