Update mhr_recognize_datasets.py
Browse files
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 == "
|
| 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):
|