Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
092a5461
Commit
092a5461
authored
Aug 02, 2018
by
Raymond Yuan
Browse files
more minor updates
parent
41b8e351
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
samples/outreach/blogs/segmentation_blogpost/image_segmentation.ipynb
...each/blogs/segmentation_blogpost/image_segmentation.ipynb
+2
-2
No files found.
samples/outreach/blogs/segmentation_blogpost/image_segmentation.ipynb
View file @
092a5461
...
@@ -1068,7 +1068,7 @@
...
@@ -1068,7 +1068,7 @@
"outputs": [],
"outputs": [],
"source": [
"source": [
"save_model_path = '/tmp/weights.hdf5'\n",
"save_model_path = '/tmp/weights.hdf5'\n",
"cp = tf.keras.callbacks.ModelCheckpoint(filepath=save_model_path, monitor='val_dice_loss',
mode='max',
save_best_only=True)"
"cp = tf.keras.callbacks.ModelCheckpoint(filepath=save_model_path, monitor='val_dice_loss', save_best_only=True
, verbose=1
)"
]
]
},
},
{
{
...
@@ -1119,7 +1119,7 @@
...
@@ -1119,7 +1119,7 @@
},
},
"outputs": [],
"outputs": [],
"source": [
"source": [
"dice =
=
history.history['dice_loss']\n",
"dice = history.history['dice_loss']\n",
"val_dice = history.history['val_dice_loss']\n",
"val_dice = history.history['val_dice_loss']\n",
"\n",
"\n",
"loss = history.history['loss']\n",
"loss = history.history['loss']\n",
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment