alkzar90 commited on
Commit
0747b14
1 Parent(s): fff2423

Fix indentation error

Browse files
Files changed (1) hide show
  1. cell_benchmark.py +9 -9
cell_benchmark.py CHANGED
@@ -67,15 +67,15 @@ class Cellsegmentation(datasets.GeneratorBasedBuilder):
67
  return splits
68
 
69
 
70
- def _generate_examples(self, files, masks, split):
71
- mask_path = os.path.basename(masks)
72
- for i, path in enumereate(files):
73
- file_name = os.path.basename(path)
74
- yield i, {
75
- "image": path,
76
- "masks": mask_path + "mask_" + file_name.replace("jpg", "png"),
77
- "path": path,
78
- }
79
 
80
 
81
 
 
67
  return splits
68
 
69
 
70
+ def _generate_examples(self, files, masks, split):
71
+ mask_path = os.path.basename(masks)
72
+ for i, path in enumereate(files):
73
+ file_name = os.path.basename(path)
74
+ yield i, {
75
+ "image": path,
76
+ "masks": mask_path + "mask_" + file_name.replace("jpg", "png"),
77
+ "path": path,
78
+ }
79
 
80
 
81