Update cell_benchmark.py
Browse files- cell_benchmark.py +1 -1
cell_benchmark.py
CHANGED
@@ -75,7 +75,7 @@ class Cellsegmentation(datasets.GeneratorBasedBuilder):
|
|
75 |
|
76 |
|
77 |
def _generate_examples(self, files, masks_dir, split):
|
78 |
-
masks_dir = masks_dir
|
79 |
for i, path in enumerate(files):
|
80 |
file_name = "/mask_" + os.path.basename(path).replace("jpg", "png")
|
81 |
yield i, {
|
|
|
75 |
|
76 |
|
77 |
def _generate_examples(self, files, masks_dir, split):
|
78 |
+
masks_dir = masks_dir[0]
|
79 |
for i, path in enumerate(files):
|
80 |
file_name = "/mask_" + os.path.basename(path).replace("jpg", "png")
|
81 |
yield i, {
|