Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 092a546

Browse files
committed
more minor updates
1 parent 41b8e35 commit 092a546

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/outreach/blogs/segmentation_blogpost/image_segmentation.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@
10681068
"outputs": [],
10691069
"source": [
10701070
"save_model_path = '/tmp/weights.hdf5'\n",
1071-
"cp = tf.keras.callbacks.ModelCheckpoint(filepath=save_model_path, monitor='val_dice_loss', mode='max', save_best_only=True)"
1071+
"cp = tf.keras.callbacks.ModelCheckpoint(filepath=save_model_path, monitor='val_dice_loss', save_best_only=True, verbose=1)"
10721072
]
10731073
},
10741074
{
@@ -1119,7 +1119,7 @@
11191119
},
11201120
"outputs": [],
11211121
"source": [
1122-
"dice = = history.history['dice_loss']\n",
1122+
"dice = history.history['dice_loss']\n",
11231123
"val_dice = history.history['val_dice_loss']\n",
11241124
"\n",
11251125
"loss = history.history['loss']\n",

0 commit comments

Comments
 (0)