From 678c422894c61425cdc409defb7e8cfac00477b4 Mon Sep 17 00:00:00 2001 From: Brandon Amos Date: Sun, 10 Jul 2016 07:31:00 -0400 Subject: [PATCH] Improve LFW --lfwPairs error message. --- evaluation/lfw.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/evaluation/lfw.py b/evaluation/lfw.py index e02f041..bcc2153 100755 --- a/evaluation/lfw.py +++ b/evaluation/lfw.py @@ -52,9 +52,14 @@ def main(): args = parser.parse_args() if not os.path.isfile(args.lfwPairs): - print("Error: LFW pairs (--lfwPairs) file not found.") - print("Download from http://vis-www.cs.umass.edu/lfw/pairs.txt.") - print("Default location:", pairsDefault) + print(""" +Error in LFW evaluation code. (Source: /evaluation/lfw.py) + +The LFW evaluation requires a file containing pairs of faces to evaluate. +Download this file from http://vis-www.cs.umass.edu/lfw/pairs.txt +and place it in the default location ({}) +or pass it as --lfwPairs. +""".format(pairsDefault)) sys.exit(-1) print("Loading embeddings.")