Skip to content
Snippets Groups Projects
Commit f66141d8 authored by Yannick DAYER's avatar Yannick DAYER
Browse files

Fix mixed up URL for CSVDataset replaymobile-img

parent d75d78f5
No related branches found
No related tags found
1 merge request!106Vulnerability framework - CSV datasets
Pipeline #51350 failed
......@@ -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",
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment