Skip to content

Commit

Permalink
Merge pull request tensorflow#1545 from mindos/master
Browse files Browse the repository at this point in the history
Fixed error message for inception/imagenet.
  • Loading branch information
nealwu authored Jun 12, 2017
2 parents d4ae8d1 + 5ecced3 commit c998779
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit c998779

Please sign in to comment.