Commit da4bdcd5 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI

delayed annotations

parent b22ac980
...@@ -15,7 +15,7 @@ def _padfile_to_delayed_sample(padfile, database): ...@@ -15,7 +15,7 @@ def _padfile_to_delayed_sample(padfile, database):
subject=str(padfile.client_id), subject=str(padfile.client_id),
attack_type=padfile.attack_type, attack_type=padfile.attack_type,
key=padfile.path, key=padfile.path,
annotations=padfile.annotations, delayed_attributes=dict(annotations=lambda : padfile.annotations),
is_bonafide=padfile.attack_type is None, is_bonafide=padfile.attack_type is None,
) )
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment