Merge branch 'main' of https://huggingface.co/datasets/KuAvLab/EMT
Browse files
emt.py
CHANGED
@@ -246,6 +246,7 @@ class EMT(datasets.GeneratorBasedBuilder):
|
|
246 |
annotation_dict = {}
|
247 |
for _, row in df.iterrows():
|
248 |
img_path = row["file_path"].split("/")[-2] + "/" + row["file_path"].split("/")[-1]
|
|
|
249 |
if img_path not in annotation_dict:
|
250 |
annotation_dict[img_path] = []
|
251 |
annotation_dict[img_path].append(
|
|
|
246 |
annotation_dict = {}
|
247 |
for _, row in df.iterrows():
|
248 |
img_path = row["file_path"].split("/")[-2] + "/" + row["file_path"].split("/")[-1]
|
249 |
+
print("img_path: ",img_path)
|
250 |
if img_path not in annotation_dict:
|
251 |
annotation_dict[img_path] = []
|
252 |
annotation_dict[img_path].append(
|