From 5ecced399b0d78e32ff952d01d217a1098d17201 Mon Sep 17 00:00:00 2001 From: Mindos Cheng Date: Mon, 12 Jun 2017 00:22:05 +0800 Subject: [PATCH] Fixed error message for inception/imagenet. --- inception/inception/data/preprocess_imagenet_validation_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inception/inception/data/preprocess_imagenet_validation_data.py b/inception/inception/data/preprocess_imagenet_validation_data.py index 8308277a07..ae1576fff3 100755 --- a/inception/inception/data/preprocess_imagenet_validation_data.py +++ b/inception/inception/data/preprocess_imagenet_validation_data.py @@ -76,7 +76,7 @@ basename = 'ILSVRC2012_val_000%.5d.JPEG' % (i + 1) original_filename = os.path.join(data_dir, basename) if not os.path.exists(original_filename): - print('Failed to find: ' % original_filename) + print('Failed to find: %s' % original_filename) sys.exit(-1) new_filename = os.path.join(data_dir, labels[i], basename) os.rename(original_filename, new_filename)