Skip to content

Commit b9b38e8

Browse files
committed
updated code for model 2 classes preds
1 parent ab18251 commit b9b38e8

File tree

2 files changed

+381
-389
lines changed

2 files changed

+381
-389
lines changed

source/1_data_prep.ipynb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
},
8282
{
8383
"cell_type": "code",
84-
"execution_count": 6,
84+
"execution_count": 5,
8585
"id": "1cb6cc97-1893-4648-bee9-f2128e214c52",
8686
"metadata": {
8787
"tags": []
@@ -97,16 +97,16 @@
9797
"lymphocyte_half_box_size = 4.5 # the size of half of the bbox around the lymphocyte dot in um\n",
9898
"#NOTE: reduced this to 5.0 as the eval script (it was 11.0)\n",
9999
"monocytes_half_box_size = 5.0 # the size of half of the bbox around the monocytes dot in um\n",
100-
"min_spacing = 0.24199951445730394 # NOTE: changed this!\n",
100+
"min_spacing = 0.25 # NOTE: in the eval code they use 0.24199951445730394\n",
101101
"#spacing is the zoom level of the image, in micro-meters per pixel (was rounded to 0.25)\n",
102102
"\n",
103103
"# convert the dot annotations (in mm) to polygon bounding boxes\n",
104-
"dot2polygon(xml_path, lymphocyte_half_box_size, monocytes_half_box_size, min_spacing, output_path)"
104+
"#dot2polygon(xml_path, lymphocyte_half_box_size, monocytes_half_box_size, min_spacing, output_path)"
105105
]
106106
},
107107
{
108108
"cell_type": "code",
109-
"execution_count": 7,
109+
"execution_count": 6,
110110
"id": "4ab2cd84-a475-4433-94b6-c1d259e1af07",
111111
"metadata": {},
112112
"outputs": [
@@ -308,7 +308,7 @@
308308
},
309309
{
310310
"cell_type": "code",
311-
"execution_count": 8,
311+
"execution_count": 7,
312312
"id": "a8fc5aaf-c068-4b8f-bf37-91a609a234d5",
313313
"metadata": {},
314314
"outputs": [],
@@ -353,7 +353,7 @@
353353
},
354354
{
355355
"cell_type": "code",
356-
"execution_count": 10,
356+
"execution_count": 8,
357357
"id": "45e85653-a4b7-4977-a143-b15bad959828",
358358
"metadata": {},
359359
"outputs": [

source/2_training.ipynb

Lines changed: 375 additions & 383 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)