diff --git a/slim/slim_walkthrough.ipynb b/slim/slim_walkthrough.ipynb index be96d01f24..125590e938 100644 --- a/slim/slim_walkthrough.ipynb +++ b/slim/slim_walkthrough.ipynb @@ -849,7 +849,7 @@ " names = imagenet.create_readable_names_for_imagenet_labels()\n", " for i in range(5):\n", " index = sorted_inds[i]\n", - " print('Probability %0.2f%% => [%s]' % (probabilities[index]*100, names[index]))" + " print('Probability %0.2f%% => [%s]' % (probabilities[index] * 100, names[index]))" ] }, { @@ -944,7 +944,7 @@ " for i in range(5):\n", " index = sorted_inds[i]\n", " # Shift the index of a class name by one. \n", - " print('Probability %0.2f%% => [%s]' % (probabilities[index]*100, names[index+1]))" + " print('Probability %0.2f%% => [%s]' % (probabilities[index] * 100, names[index+1]))" ] }, {