Update xd-violence.py
Browse files- 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
|
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 |
|