jherng commited on
Commit
1d87c23
1 Parent(s): 89add62

Update xd-violence.py

Browse files
Files changed (1) hide show
  1. xd-violence.py +3 -1
xd-violence.py CHANGED
@@ -298,10 +298,12 @@ class XDViolence(datasets.GeneratorBasedBuilder):
298
  ]
299
 
300
  id2frame_annotation[id] = frame_annotation
301
-
 
302
  file_list["frame_annotations"] = file_list["id"].apply(
303
  lambda x: id2frame_annotation[x]
304
  )
 
305
 
306
  return file_list.to_dict("records")
307
 
 
298
  ]
299
 
300
  id2frame_annotation[id] = frame_annotation
301
+ print(id2frame_annotation)
302
+ print(file_list.head())
303
  file_list["frame_annotations"] = file_list["id"].apply(
304
  lambda x: id2frame_annotation[x]
305
  )
306
+ print(file_list.head())
307
 
308
  return file_list.to_dict("records")
309