Skip to content
Snippets Groups Projects
Commit 9b2c9121 authored by Yannick DAYER's avatar Yannick DAYER Committed by André MAYORAZ
Browse files

[db] Switch to the new URLs of database definition

parent 1370bc12
No related branches found
No related tags found
1 merge request!65refactor for bob.bio.base!300
......@@ -161,7 +161,7 @@ class UtfvpDatabase(CSVDatabase):
filename = get_file(
"utfvp.tar.gz",
urls,
file_hash="526045842fcee46eec3415bfc8ac34d3",
file_hash="c8d3318f",
)
super().__init__(
......@@ -182,30 +182,9 @@ class UtfvpDatabase(CSVDatabase):
score_all_vs_all=True,
)
@staticmethod
def protocols():
# TODO: Until we have (if we have) a function that dumps the protocols, let's use this one.
return [
"nom",
"full",
"1vsall",
"nomLeftRing",
"nomRightRing",
"nomLeftMiddle",
"nomRightMiddle",
"nomLeftIndex",
"nomRightIndex",
"fullLeftRing",
"fullRightRing",
"fullLeftMiddle",
"fullRightMiddle",
"fullLeftIndex",
"fullRightIndex",
]
@staticmethod
def urls():
return [
"https://www.idiap.ch/software/bob/databases/latest/utfvp-557bfdd2.tar.gz",
"http://www.idiap.ch/software/bob/databases/latest/utfvp-557bfdd2.tar.gz",
"https://www.idiap.ch/software/bob/databases/latest/vein/utfvp-c8d3318f.tar.gz",
"http://www.idiap.ch/software/bob/databases/latest/vein/utfvp-c8d3318f.tar.gz",
]
......@@ -56,7 +56,7 @@ class VerafingerContactless(CSVDatabase):
filename = get_file(
"verafinger_contactless.tar.gz",
urls,
file_hash="46045cd006b1cddbf98bdb184d9e3cca",
file_hash="18607d9a",
)
super().__init__(
......@@ -74,14 +74,9 @@ class VerafingerContactless(CSVDatabase):
score_all_vs_all=True,
)
@staticmethod
def protocols():
# TODO: Until we have (if we have) a function that dumps the protocols, let's use this one.
return ["nom"]
@staticmethod
def urls():
return [
"https://www.idiap.ch/software/bob/databases/latest/verafinger_contactless-ee484b3b.tar.gz",
"http://www.idiap.ch/software/bob/databases/latest/verafinger_contactless-ee484b3b.tar.gz",
"https://www.idiap.ch/software/bob/databases/latest/vein/verafinger_contactless-18607d9a.tar.gz",
"http://www.idiap.ch/software/bob/databases/latest/vein/verafinger_contactless-18607d9a.tar.gz",
]
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