Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.bio.face
Commits
f66141d8
Commit
f66141d8
authored
Jun 09, 2021
by
Yannick DAYER
Browse files
Fix mixed up URL for CSVDataset replaymobile-img
parent
d75d78f5
Pipeline
#51350
failed with stage
in 171 minutes and 36 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/bio/face/database/replaymobile.py
View file @
f66141d8
...
...
@@ -246,13 +246,16 @@ class ReplayMobileBioDatabase(CSVDataset):
):
if
protocol_definition_path
is
None
:
# Downloading database description files if it is not specified
name
=
"bio-face-replaymobile-img-3a584a97.tar.gz"
urls
=
[
f
"https://www.idiap.ch/software/bob/data/bob/bob.bio.face/
{
name
}
"
,
f
"http://www.idiap.ch/software/bob/data/bob/bob.bio.face/
{
name
}
"
,
proto_def_
name
=
"bio-face-replaymobile-img-3a584a97.tar.gz"
proto_def_
urls
=
[
f
"https://www.idiap.ch/software/bob/data/bob/bob.bio.face/
{
proto_def_
name
}
"
,
f
"http://www.idiap.ch/software/bob/data/bob/bob.bio.face/
{
proto_def_
name
}
"
,
]
protocol_definition_path
=
get_file
(
filename
=
name
,
urls
=
urls
,
cache_subdir
=
"datasets"
,
file_hash
=
"3a584a97"
filename
=
proto_def_name
,
urls
=
proto_def_urls
,
cache_subdir
=
"datasets"
,
file_hash
=
"3a584a97"
,
)
if
data_path
is
None
:
...
...
@@ -265,14 +268,14 @@ class ReplayMobileBioDatabase(CSVDataset):
)
if
annotations_path
is
None
:
name
=
"annotations-replaymobile-mtcnn-9cd6e452.tar.xz"
[
f
"https://www.idiap.ch/software/bob/data/bob/bob.pad.face/
{
name
}
"
,
f
"http://www.idiap.ch/software/bob/data/bob/bob.pad.face/
{
name
}
"
,
annot_
name
=
"annotations-replaymobile-mtcnn-9cd6e452.tar.xz"
annot_urls
=
[
f
"https://www.idiap.ch/software/bob/data/bob/bob.pad.face/
{
annot_
name
}
"
,
f
"http://www.idiap.ch/software/bob/data/bob/bob.pad.face/
{
annot_
name
}
"
,
]
annotations_path
=
get_file
(
filename
=
name
,
urls
=
urls
,
filename
=
annot_
name
,
urls
=
annot_
urls
,
cache_subdir
=
"annotations"
,
file_hash
=
"9cd6e452"
,
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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