From 66ae9cad6e02c6a76752ff6f8794a871b5f5fa0f Mon Sep 17 00:00:00 2001
From: Amir MOHAMMADI <amir.mohammadi@idiap.ch>
Date: Thu, 6 Jun 2019 17:26:44 +0200
Subject: [PATCH] Save one best evaluation checkpoint by default
---
bob/learn/tensorflow/script/eval.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bob/learn/tensorflow/script/eval.py b/bob/learn/tensorflow/script/eval.py
index 99bd4e54..ff87192d 100644
--- a/bob/learn/tensorflow/script/eval.py
+++ b/bob/learn/tensorflow/script/eval.py
@@ -167,7 +167,7 @@ def append_evaluated_file(path, evaluations):
'-K',
type=click.INT,
cls=ResourceOption,
- default=0,
+ default=1,
show_default=True,
help='If more than 0, will keep the best N models in the evaluation folder'
)
--
GitLab