miojizzy commited on
Commit
122f090
·
1 Parent(s): 8f60ca0

Update mhr_recognize_datasets.py

Browse files
Files changed (1) hide show
  1. mhr_recognize_datasets.py +1 -1
mhr_recognize_datasets.py CHANGED
@@ -62,7 +62,7 @@ class MHRRecognizeDatasets(datasets.GeneratorBasedBuilder):
62
 
63
  def _generate_examples(self, image_path, label_path):
64
  print(image_path, label_path)
65
- if self.config.name == "whole_image":
66
  # Read csv with image labels
67
  label_csv = read_csv(label_path)
68
  for i, path in enumerate(file_path):
 
62
 
63
  def _generate_examples(self, image_path, label_path):
64
  print(image_path, label_path)
65
+ if self.config.name == "whole":
66
  # Read csv with image labels
67
  label_csv = read_csv(label_path)
68
  for i, path in enumerate(file_path):