Chris Oswald
commited on
Commit
·
d36e322
1
Parent(s):
32f516b
minor text edits
Browse files
tutorials/UNet_SPIDER.ipynb
CHANGED
|
@@ -875,7 +875,7 @@
|
|
| 875 |
"id": "p0I9pEIySjw0"
|
| 876 |
},
|
| 877 |
"source": [
|
| 878 |
-
"Unfortunately, the Colab session timed out after only 9 epochs of training...(
|
| 879 |
]
|
| 880 |
},
|
| 881 |
{
|
|
@@ -929,7 +929,7 @@
|
|
| 929 |
"id": "Kjd7WpIoS5hQ"
|
| 930 |
},
|
| 931 |
"source": [
|
| 932 |
-
"We could use the held-out test set to calculate metrics like mean Intersection-over-Union (mIOU). However, since
|
| 933 |
"\n",
|
| 934 |
"We'll create a function called `predict` that takes an element from our SPIDER test dataset and returns the predicted mask, original image, and actual mask:"
|
| 935 |
]
|
|
|
|
| 875 |
"id": "p0I9pEIySjw0"
|
| 876 |
},
|
| 877 |
"source": [
|
| 878 |
+
"Unfortunately, the Colab session timed out after only 9 epochs of training on TPU...(although that's better than the previous record of 4 epochs on V100 GPU). That's okay--let's see how much our model learned in that time by predicting new masks for the held-out test images."
|
| 879 |
]
|
| 880 |
},
|
| 881 |
{
|
|
|
|
| 929 |
"id": "Kjd7WpIoS5hQ"
|
| 930 |
},
|
| 931 |
"source": [
|
| 932 |
+
"We could use the held-out test set to calculate metrics like mean Intersection-over-Union (mIOU). However, since our training time has been limited, let's instead assess the model's performance qualitatively by visualizing the predicted masks.\n",
|
| 933 |
"\n",
|
| 934 |
"We'll create a function called `predict` that takes an element from our SPIDER test dataset and returns the predicted mask, original image, and actual mask:"
|
| 935 |
]
|