Update cell_benchmark.py
Browse files- cell_benchmark.py +3 -3
cell_benchmark.py
CHANGED
@@ -48,7 +48,7 @@ class Cellsegmentation(datasets.GeneratorBasedBuilder):
|
|
48 |
name=datasets.Split.TRAIN,
|
49 |
gen_kwargs={
|
50 |
"files" : dl_manager.iter_files([data_files["train"]]),
|
51 |
-
"
|
52 |
"split": "training",
|
53 |
},
|
54 |
),
|
@@ -56,7 +56,7 @@ class Cellsegmentation(datasets.GeneratorBasedBuilder):
|
|
56 |
name=datasets.Split.VALIDATION,
|
57 |
gen_kwargs={
|
58 |
"files" : dl_manager.iter_files([data_files["val"]]),
|
59 |
-
"
|
60 |
"split": "validation",
|
61 |
},
|
62 |
),
|
@@ -64,7 +64,7 @@ class Cellsegmentation(datasets.GeneratorBasedBuilder):
|
|
64 |
name=datasets.Split.TEST,
|
65 |
gen_kwargs={
|
66 |
"files" : dl_manager.iter_files([data_files["test"]]),
|
67 |
-
"
|
68 |
"split": "test",
|
69 |
}
|
70 |
)
|
|
|
48 |
name=datasets.Split.TRAIN,
|
49 |
gen_kwargs={
|
50 |
"files" : dl_manager.iter_files([data_files["train"]]),
|
51 |
+
"masks_dir": masks_dir,
|
52 |
"split": "training",
|
53 |
},
|
54 |
),
|
|
|
56 |
name=datasets.Split.VALIDATION,
|
57 |
gen_kwargs={
|
58 |
"files" : dl_manager.iter_files([data_files["val"]]),
|
59 |
+
"masks_dir": masks_dir,
|
60 |
"split": "validation",
|
61 |
},
|
62 |
),
|
|
|
64 |
name=datasets.Split.TEST,
|
65 |
gen_kwargs={
|
66 |
"files" : dl_manager.iter_files([data_files["test"]]),
|
67 |
+
"masks_dir": masks_dir,
|
68 |
"split": "test",
|
69 |
}
|
70 |
)
|