"docs/vscode:/vscode.git/clone" did not exist on "b6f5ba9a809fcd2e5b2c440f538c1ccc965a9e59"
Commit 7c42a178 authored by Matt Rickard's avatar Matt Rickard Committed by Neal Wu
Browse files

Remove unused function

Variable summaries and the learning rate are added elsewhere in the
code.  A quick search also shows that this function is never called.
parent 320db209
......@@ -310,15 +310,6 @@ def _configure_optimizer(learning_rate):
raise ValueError('Optimizer [%s] was not recognized', FLAGS.optimizer)
return optimizer
def _add_variables_summaries(learning_rate):
summaries = []
for variable in slim.get_model_variables():
summaries.append(tf.summary.histogram(variable.op.name, variable))
summaries.append(tf.summary.scalar('training/Learning Rate', learning_rate))
return summaries
def _get_init_fn():
"""Returns a function run by the chief worker to warm-start the training.
......
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