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
31b930ae
Commit
31b930ae
authored
Dec 08, 2020
by
Tiago de Freitas Pereira
Committed by
Amir MOHAMMADI
Mar 03, 2021
Browse files
[ci] Adding artifacts
CSV update
parent
e2d8ab7c
Changes
2
Hide whitespace changes
Inline
Side-by-side
MANIFEST.in
View file @
31b930ae
...
...
@@ -4,3 +4,5 @@ recursive-include bob *.txt *.hdf5
recursive-include bob *.sql3
recursive-include bob/pad/base/test/data scores-* *.sql3 *.wav
recursive-include bob/pad/base/test/data/example_filelist *.lst
recursive-include bob/pad/base/test/ *.csv
recursive-include bob/pad/base/test/ *.tar.gz
bob/pad/base/database/csv_dataset.py
View file @
31b930ae
...
...
@@ -61,7 +61,7 @@ class CSVToSampleLoader(CSVBaseSampleLoader):
kwargs
=
dict
([[
str
(
h
).
lower
(),
r
]
for
h
,
r
in
zip
(
header
[
2
:],
row
[
2
:])])
if
self
.
metadata_loader
is
not
None
:
metadata
=
self
.
metadata_loader
(
row
,
header
=
header
,
is_bonafide
=
is_bonafide
)
metadata
=
self
.
metadata_loader
(
row
,
header
=
header
)
kwargs
.
update
(
metadata
)
return
DelayedSample
(
...
...
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