Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.pad.base
Commits
da4bdcd5
Commit
da4bdcd5
authored
Dec 04, 2020
by
Amir MOHAMMADI
Browse files
delayed annotations
parent
b22ac980
Changes
1
Hide whitespace changes
Inline
Side-by-side
bob/pad/base/pipelines/vanilla_pad/legacy.py
View file @
da4bdcd5
...
...
@@ -15,7 +15,7 @@ def _padfile_to_delayed_sample(padfile, database):
subject
=
str
(
padfile
.
client_id
),
attack_type
=
padfile
.
attack_type
,
key
=
padfile
.
path
,
annotations
=
padfile
.
annotations
,
delayed_attributes
=
dict
(
annotations
=
lambda
:
padfile
.
annotations
)
,
is_bonafide
=
padfile
.
attack_type
is
None
,
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment