Skip to content

Commit

Permalink
Update transfer_learning.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
tilakrayal authored Jun 25, 2024
1 parent 38c16cc commit c68e3e9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion site/en/tutorials/images/transfer_learning.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,6 @@
"# Retrieve a batch of images from the test set\n",
"image_batch, label_batch = test_dataset.as_numpy_iterator().next()\n",
"predictions = model.predict_on_batch(image_batch).flatten()\n",
"\n",
"# Apply a sigmoid since our model returns logits\n",
"predictions = tf.where(predictions < 0.5, 0, 1)\n",
"\n",
Expand Down

0 comments on commit c68e3e9

Please sign in to comment.