Commit 29236312 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

Fix the function name

parent 5ac8b4dd
Pipeline #20416 failed with stage
in 40 minutes and 37 seconds
......@@ -22,7 +22,7 @@ from import create_directories_safe
logger = logging.getLogger(__name__)
def save_best_n_models(train_dir, save_dir, evaluated_file,
def save_n_best_models(train_dir, save_dir, evaluated_file,
evaluated = read_evaluated_file(evaluated_file)
......@@ -185,7 +185,7 @@ def eval(estimator, eval_input_fn, hooks, run_once, eval_interval_secs, name,
# Save the best N models into the eval directory
save_best_n_models(estimator.model_dir, eval_dir, evaluated_file,
save_n_best_models(estimator.model_dir, eval_dir, evaluated_file,
if run_once:
Supports Markdown
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