Murad Mebrahtu commited on
Commit
73e3647
·
2 Parent(s): 47ab814 bd2971d

Merge branch 'main' of https://huggingface.co/datasets/KuAvLab/EMT

Browse files
Files changed (1) hide show
  1. emt.py +1 -0
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(