Update SLR.py
Browse files
SLR.py
CHANGED
|
@@ -98,7 +98,7 @@ class SLR(datasets.GeneratorBasedBuilder):
|
|
| 98 |
|
| 99 |
def _generate_examples(self, filepath):
|
| 100 |
logger.info("⏳ Generating examples from = %s", filepath)
|
| 101 |
-
ann_dir = os.path.join(filepath, "annotations
|
| 102 |
img_dir = os.path.join(filepath, "images")
|
| 103 |
for guid, file in enumerate(sorted(os.listdir(ann_dir))):
|
| 104 |
words=[]
|
|
|
|
| 98 |
|
| 99 |
def _generate_examples(self, filepath):
|
| 100 |
logger.info("⏳ Generating examples from = %s", filepath)
|
| 101 |
+
ann_dir = os.path.join(filepath, "annotations")
|
| 102 |
img_dir = os.path.join(filepath, "images")
|
| 103 |
for guid, file in enumerate(sorted(os.listdir(ann_dir))):
|
| 104 |
words=[]
|