Skip to content

Commit 38c16cc

Browse files
authored
Fixing the wrong predictions in transfer_learning.ipynb
1 parent 75b2672 commit 38c16cc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

site/en/tutorials/images/transfer_learning.ipynb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,6 @@
10511051
"predictions = model.predict_on_batch(image_batch).flatten()\n",
10521052
"\n",
10531053
"# Apply a sigmoid since our model returns logits\n",
1054-
"predictions = tf.nn.sigmoid(predictions)\n",
10551054
"predictions = tf.where(predictions < 0.5, 0, 1)\n",
10561055
"\n",
10571056
"print('Predictions:\\n', predictions.numpy())\n",

0 commit comments

Comments
 (0)