Datasets:
michelecafagna26
commited on
Commit
•
315d061
1
Parent(s):
c1bc82d
Update hl.py
Browse files
hl.py
CHANGED
@@ -108,6 +108,8 @@ class HL(datasets.GeneratorBasedBuilder):
|
|
108 |
def _generate_examples(self, annotation_file_path, images):
|
109 |
|
110 |
idx = 0
|
|
|
|
|
111 |
with open(annotation_file_path, "r") as fp:
|
112 |
metadata = {json.loads(item)['file_name']: json.loads(item) for item in fp}
|
113 |
|
|
|
108 |
def _generate_examples(self, annotation_file_path, images):
|
109 |
|
110 |
idx = 0
|
111 |
+
|
112 |
+
print(annotation_file_path)
|
113 |
with open(annotation_file_path, "r") as fp:
|
114 |
metadata = {json.loads(item)['file_name']: json.loads(item) for item in fp}
|
115 |
|