Commit 31470bd9 authored by Daniel Angelov's avatar Daniel Angelov Committed by Neal Wu
Browse files

Change deprecated all_variables to global_variables (#2399)

parent 91fbd5c5
......@@ -604,7 +604,7 @@ class SSDMetaArch(model.DetectionModel):
the model graph.
"""
variables_to_restore = {}
for variable in tf.all_variables():
for variable in tf.global_variables():
if variable.op.name.startswith(self._extract_features_scope):
var_name = variable.op.name
if not from_detection_checkpoint:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment