Skip to content

Commit 6933490

Browse files
update file paths in 2D and 3D example notebooks
1 parent f0ff3a7 commit 6933490

4 files changed

Lines changed: 22 additions & 22 deletions

File tree

notebooks/2D_fine_tune_training_demo.ipynb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
"source": [
2727
"from cellcyclenet import utils\n",
2828
"\n",
29-
"IMAGE_DIR = '../data/test_tiles/' # path to DAPI-stained FOVs\n",
30-
"MASK_DIR = '../data/test_masks/' # path to segmentation masks of FOVs \n",
31-
"LABEL_DIR = '../data/test_labels/' # path to label arrays of FOVs\n",
32-
"OUTPUT_DIR = '../data/test_SNI_label/' # path where labeled single-nucleus images will be saved\n",
29+
"IMAGE_DIR = '../example_data/2d/test_tiles/' # path to DAPI-stained FOVs\n",
30+
"MASK_DIR = '../example_data/2d/test_masks/' # path to segmentation masks of FOVs \n",
31+
"LABEL_DIR = '../example_data/2d/test_labels/' # path to label arrays of FOVs\n",
32+
"OUTPUT_DIR = '../example_data/2d/test_SNI_label/' # path where labeled single-nucleus images will be saved\n",
3333
"\n",
3434
"# generate labeled SNIs #\n",
3535
"'''\n",
@@ -107,7 +107,7 @@
107107
],
108108
"metadata": {
109109
"kernelspec": {
110-
"display_name": "Python 3 (ipykernel)",
110+
"display_name": "ccn_env",
111111
"language": "python",
112112
"name": "python3"
113113
},
@@ -121,7 +121,7 @@
121121
"name": "python",
122122
"nbconvert_exporter": "python",
123123
"pygments_lexer": "ipython3",
124-
"version": "3.12.4"
124+
"version": "3.12.9"
125125
}
126126
},
127127
"nbformat": 4,

notebooks/2D_prediction_demo.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
"source": [
2626
"from cellcyclenet import utils\n",
2727
"\n",
28-
"IMAGE_DIR = '../data/test_tiles/' # path to DAPI-stained FOVs\n",
29-
"MASK_DIR = '../data/test_masks/' # path to segmentation masks of FOVs\n",
30-
"OUTPUT_DIR = '../data/test_SNI/' # path where single-nucleus images will be saved\n",
28+
"IMAGE_DIR = '../example_data/2d/test_tiles/' # path to DAPI-stained FOVs\n",
29+
"MASK_DIR = '../example_data/2d/test_masks/' # path to segmentation masks of FOVs\n",
30+
"OUTPUT_DIR = '../example_data/2d/test_SNI/' # path where single-nucleus images will be saved\n",
3131
"\n",
3232
"# generate unlabeled SNIs #\n",
3333
"'''\n",
@@ -74,7 +74,7 @@
7474
],
7575
"metadata": {
7676
"kernelspec": {
77-
"display_name": "dask-cellpose",
77+
"display_name": "ccn_env",
7878
"language": "python",
7979
"name": "python3"
8080
},
@@ -88,7 +88,7 @@
8888
"name": "python",
8989
"nbconvert_exporter": "python",
9090
"pygments_lexer": "ipython3",
91-
"version": "3.12.2"
91+
"version": "3.12.9"
9292
}
9393
},
9494
"nbformat": 4,

notebooks/3D_fine_tune_training_demo.ipynb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
"source": [
2727
"from cellcyclenet import utils\n",
2828
"\n",
29-
"IMAGE_DIR = '../data/test_tiles/' # path to DAPI-stained FOVs\n",
30-
"MASK_DIR = '../data/test_masks/' # path to segmentation masks of FOVs \n",
31-
"LABEL_DIR = '../data/test_labels/' # path to label arrays of FOVs\n",
32-
"OUTPUT_DIR = '../data/test_SNI_label/' # path where labeled single-nucleus images will be saved\n",
29+
"IMAGE_DIR = '../example_data/3d/test_tiles/' # path to DAPI-stained FOVs\n",
30+
"MASK_DIR = '../example_data/3d/test_masks/' # path to segmentation masks of FOVs \n",
31+
"LABEL_DIR = '../example_data/3d/test_labels/' # path to label arrays of FOVs\n",
32+
"OUTPUT_DIR = '../example_data/3d/test_SNI_label/' # path where labeled single-nucleus images will be saved\n",
3333
"\n",
3434
"# generate labeled SNIs #\n",
3535
"'''\n",
@@ -107,7 +107,7 @@
107107
],
108108
"metadata": {
109109
"kernelspec": {
110-
"display_name": "Python 3 (ipykernel)",
110+
"display_name": "ccn_env",
111111
"language": "python",
112112
"name": "python3"
113113
},
@@ -121,7 +121,7 @@
121121
"name": "python",
122122
"nbconvert_exporter": "python",
123123
"pygments_lexer": "ipython3",
124-
"version": "3.12.4"
124+
"version": "3.12.9"
125125
}
126126
},
127127
"nbformat": 4,

notebooks/3D_prediction_demo.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
"source": [
2626
"from cellcyclenet import utils\n",
2727
"\n",
28-
"IMAGE_DIR = '../data/test_tiles/' # path to DAPI-stained FOVs\n",
29-
"MASK_DIR = '../data/test_masks/' # path to segmentation masks of FOVs\n",
30-
"OUTPUT_DIR = '../data/test_SNI/' # path where single-nucleus images will be saved\n",
28+
"IMAGE_DIR = '../example_data/3d/test_tiles/' # path to DAPI-stained FOVs\n",
29+
"MASK_DIR = '../example_data/3d/test_masks/' # path to segmentation masks of FOVs\n",
30+
"OUTPUT_DIR = '../example_data/3d/test_SNI/' # path where single-nucleus images will be saved\n",
3131
"\n",
3232
"# generate unlabeled SNIs #\n",
3333
"'''\n",
@@ -74,7 +74,7 @@
7474
],
7575
"metadata": {
7676
"kernelspec": {
77-
"display_name": "dask-cellpose",
77+
"display_name": "ccn_env",
7878
"language": "python",
7979
"name": "python3"
8080
},
@@ -88,7 +88,7 @@
8888
"name": "python",
8989
"nbconvert_exporter": "python",
9090
"pygments_lexer": "ipython3",
91-
"version": "3.12.2"
91+
"version": "3.12.9"
9292
}
9393
},
9494
"nbformat": 4,

0 commit comments

Comments
 (0)