Skip to content

Commit 967c8d4

Browse files
committed
fixed typos
1 parent eb1b192 commit 967c8d4

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

notebooks/3D_fine_tune_training_demo.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
" - is_3d: boolean, set to True if your data is 3D; set to False if your data is 2D\n",
4040
"'''\n",
4141
"df = utils.generate_images_labeled(IMAGE_DIR, MASK_DIR, LABEL_DIR, OUTPUT_DIR, return_df=True, num_cores=None, is_3d=True)\n",
42-
"display(df)"
42+
"df"
4343
]
4444
},
4545
{
@@ -98,10 +98,10 @@
9898
"\n",
9999
"# display predictions #\n",
100100
"test_predictions.sort_values(['tile_num', 'obj_num'])\n",
101-
"display(predictions)\n",
101+
"test_predictions\n",
102102
"\n",
103103
"# plot an ROC curve to evaluate model peformance #\n",
104-
"model.plot_ROC(test_predictions['label'], test_predictions['pred'], test_predictions['prob']"
104+
"model.plot_ROC(test_predictions['label'], test_predictions['pred'], test_predictions['prob'])"
105105
]
106106
}
107107
],

notebooks/3D_prediction_demo.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
" - is_3d: boolean, set to True if your data is 3D; set to False if your data is 2D\n",
3838
"'''\n",
3939
"df = utils.generate_images(IMAGE_DIR, MASK_DIR, OUTPUT_DIR, return_df=True, num_cores=None, is_3d=True)\n",
40-
"display(df)"
40+
"df"
4141
]
4242
},
4343
{
@@ -68,7 +68,7 @@
6868
"\n",
6969
"# display predictions #\n",
7070
"predictions.sort_values(['tile_num', 'obj_num'])\n",
71-
"display(predictions)"
71+
"predictions"
7272
]
7373
}
7474
],

0 commit comments

Comments
 (0)