diff --git a/inception/inception/data/preprocess_imagenet_validation_data.py b/inception/inception/data/preprocess_imagenet_validation_data.py index 8308277a079..ae1576fff38 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)