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

Update xd-violence.py

Browse files
Files changed (1) hide show
  1. xd-violence.py +1 -1
xd-violence.py CHANGED
@@ -265,7 +265,7 @@ class XDViolence(datasets.GeneratorBasedBuilder):
265
  *file_list["id"].apply(XDViolence._extract_labels)
266
  )
267
 
268
- if not frame_annotation_path: # test set
269
  print(frame_annotation_path)
270
  id2frame_annotation = {}
271
 
 
265
  *file_list["id"].apply(XDViolence._extract_labels)
266
  )
267
 
268
+ if frame_annotation_path: # test set
269
  print(frame_annotation_path)
270
  id2frame_annotation = {}
271