Upload erukaLabels.py
Browse files- erukaLabels.py +2 -1
erukaLabels.py
CHANGED
|
@@ -118,7 +118,8 @@ class Funsd(datasets.GeneratorBasedBuilder):
|
|
| 118 |
tokens = []
|
| 119 |
bboxes = []
|
| 120 |
ner_tags = []
|
| 121 |
-
|
|
|
|
| 122 |
|
| 123 |
file_path = os.path.join(ann_dir, file)
|
| 124 |
print(file_path)
|
|
|
|
| 118 |
tokens = []
|
| 119 |
bboxes = []
|
| 120 |
ner_tags = []
|
| 121 |
+
if file == ".DS_Store":
|
| 122 |
+
continue
|
| 123 |
|
| 124 |
file_path = os.path.join(ann_dir, file)
|
| 125 |
print(file_path)
|