Skip to content

Commit

Permalink
Fix input in layer name. (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
willgoldby authored Jul 13, 2021
1 parent 2c55b84 commit d03e8fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ml/pc/exercises/image_classification_part1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@
"successive_feature_maps = visualization_model.predict(x)\n",
"\n",
"# These are the names of the layers, so can have them as part of our plot\n",
"layer_names = [layer.name for layer in model.layers]\n",
"layer_names = [layer.name for layer in model.layers[1:]]\n",
"\n",
"# Now let's display our representations\n",
"for layer_name, feature_map in zip(layer_names, successive_feature_maps):\n",
Expand Down

0 comments on commit d03e8fe

Please # to comment.