Skip to content

Commit 104f3de

Browse files
committed
updated to new dynamic_print panoptica branch
1 parent c8d2b24 commit 104f3de

3 files changed

Lines changed: 30 additions & 18 deletions

File tree

panoptica/example_spine_matched_instance.ipynb

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
{
1818
"cell_type": "code",
19-
"execution_count": 7,
19+
"execution_count": 1,
2020
"metadata": {},
2121
"outputs": [
2222
{
@@ -54,7 +54,7 @@
5454
},
5555
{
5656
"cell_type": "code",
57-
"execution_count": 8,
57+
"execution_count": 2,
5858
"metadata": {},
5959
"outputs": [],
6060
"source": [
@@ -84,7 +84,7 @@
8484
},
8585
{
8686
"cell_type": "code",
87-
"execution_count": 9,
87+
"execution_count": 3,
8888
"metadata": {},
8989
"outputs": [
9090
{
@@ -96,7 +96,7 @@
9696
" 106, 107, 108, 202, 203, 204, 205, 206, 207, 208], dtype=uint8))"
9797
]
9898
},
99-
"execution_count": 9,
99+
"execution_count": 3,
100100
"metadata": {},
101101
"output_type": "execute_result"
102102
}
@@ -118,7 +118,7 @@
118118
},
119119
{
120120
"cell_type": "code",
121-
"execution_count": 10,
121+
"execution_count": 4,
122122
"metadata": {},
123123
"outputs": [
124124
{
@@ -192,7 +192,7 @@
192192
"text": [
193193
"Panoptic: Start Evaluation\n",
194194
"-- Got MatchedInstancePair, will evaluate instances\n",
195-
"-- evaluate took 2.3251700401306152 seconds to execute.\n"
195+
"-- evaluate took 2.0301928520202637 seconds to execute.\n"
196196
]
197197
}
198198
],
@@ -218,21 +218,27 @@
218218
},
219219
{
220220
"cell_type": "code",
221-
"execution_count": 11,
221+
"execution_count": 5,
222222
"metadata": {},
223223
"outputs": [
224224
{
225225
"name": "stdout",
226226
"output_type": "stream",
227227
"text": [
228+
"\n",
229+
"+++ MATCHING +++\n",
228230
"Number of instances in reference (num_ref_instances): 22\n",
229231
"Number of instances in prediction (num_pred_instances): 22\n",
230232
"True Positives (tp): 22\n",
231233
"False Positives (fp): 0\n",
232234
"False Negatives (fn): 0\n",
233-
"Recognition Quality (rq): 1.0\n",
235+
"Recognition Quality / F1-Score (rq): 1.0\n",
236+
"\n",
237+
"+++ GLOBAL +++\n",
234238
"Global Binary Dice (global_bin_dsc): 0.9744370224078394\n",
235239
"Global Binary Centerline Dice (global_bin_cldsc): 0.9637064011802574\n",
240+
"\n",
241+
"+++ INSTANCE +++\n",
236242
"Segmentation Quality IoU (sq): 0.8328184295330796 +- 0.15186064004517466\n",
237243
"Panoptic Quality IoU (pq): 0.8328184295330796\n",
238244
"Segmentation Quality Dsc (sq_dsc): 0.900292616009954 +- 0.10253566174957332\n",
@@ -249,7 +255,7 @@
249255
},
250256
{
251257
"cell_type": "code",
252-
"execution_count": 12,
258+
"execution_count": 6,
253259
"metadata": {},
254260
"outputs": [
255261
{
@@ -273,7 +279,7 @@
273279
},
274280
{
275281
"cell_type": "code",
276-
"execution_count": 13,
282+
"execution_count": 7,
277283
"metadata": {},
278284
"outputs": [
279285
{

panoptica/example_spine_semantic.ipynb

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@
180180
"-- Got SemanticPair, will approximate instances\n",
181181
"-- Got UnmatchedInstancePair, will match instances\n",
182182
"-- Got MatchedInstancePair, will evaluate instances\n",
183-
"-- evaluate took 6.207059383392334 seconds to execute.\n"
183+
"-- evaluate took 4.104548931121826 seconds to execute.\n"
184184
]
185185
}
186186
],
@@ -213,14 +213,20 @@
213213
"name": "stdout",
214214
"output_type": "stream",
215215
"text": [
216+
"\n",
217+
"+++ MATCHING +++\n",
216218
"Number of instances in reference (num_ref_instances): 87\n",
217219
"Number of instances in prediction (num_pred_instances): 89\n",
218220
"True Positives (tp): 73\n",
219221
"False Positives (fp): 16\n",
220222
"False Negatives (fn): 14\n",
221-
"Recognition Quality (rq): 0.8295454545454546\n",
223+
"Recognition Quality / F1-Score (rq): 0.8295454545454546\n",
224+
"\n",
225+
"+++ GLOBAL +++\n",
222226
"Global Binary Dice (global_bin_dsc): 0.9731641527805414\n",
223227
"Global Binary Centerline Dice (global_bin_cldsc): 0.9623567366028574\n",
228+
"\n",
229+
"+++ INSTANCE +++\n",
224230
"Segmentation Quality IoU (sq): 0.7940127477906024 +- 0.11547745015679488\n",
225231
"Panoptic Quality IoU (pq): 0.6586696657808406\n",
226232
"Segmentation Quality Dsc (sq_dsc): 0.8802182546605446 +- 0.07728416427007168\n",

panoptica/example_spine_unmatched_instance.ipynb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
},
5555
{
5656
"cell_type": "code",
57-
"execution_count": 2,
57+
"execution_count": null,
5858
"metadata": {},
5959
"outputs": [],
6060
"source": [
@@ -83,7 +83,7 @@
8383
},
8484
{
8585
"cell_type": "code",
86-
"execution_count": 3,
86+
"execution_count": null,
8787
"metadata": {},
8888
"outputs": [
8989
{
@@ -117,7 +117,7 @@
117117
},
118118
{
119119
"cell_type": "code",
120-
"execution_count": 4,
120+
"execution_count": null,
121121
"metadata": {},
122122
"outputs": [
123123
{
@@ -216,7 +216,7 @@
216216
},
217217
{
218218
"cell_type": "code",
219-
"execution_count": 5,
219+
"execution_count": null,
220220
"metadata": {},
221221
"outputs": [
222222
{
@@ -247,7 +247,7 @@
247247
},
248248
{
249249
"cell_type": "code",
250-
"execution_count": 6,
250+
"execution_count": null,
251251
"metadata": {},
252252
"outputs": [
253253
{
@@ -271,7 +271,7 @@
271271
},
272272
{
273273
"cell_type": "code",
274-
"execution_count": 7,
274+
"execution_count": null,
275275
"metadata": {},
276276
"outputs": [
277277
{

0 commit comments

Comments
 (0)