Fixed MEDS and MORPH annotations

parent e418418d
Pipeline #47839 failed with stage
in 32 minutes and 34 seconds
......@@ -97,7 +97,9 @@ class MEDSDatabase(CSVDatasetZTNorm):
# Downloading model if not exists
urls = MEDSDatabase.urls()
filename = get_file("meds.tar.gz", urls)
filename = get_file(
"meds.tar.gz", urls, file_hash="3b01354d4c170672ac14120b80dace75"
)
self.annotation_type = "eyes-center"
self.fixed_positions = None
......@@ -122,6 +124,6 @@ class MEDSDatabase(CSVDatasetZTNorm):
@staticmethod
def urls():
return [
"https://www.idiap.ch/software/bob/databases/latest/meds.tar.gz",
"http://www.idiap.ch/software/bob/databases/latest/meds.tar.gz",
"https://www.idiap.ch/software/bob/databases/latest/meds_v2.tar.gz",
"http://www.idiap.ch/software/bob/databases/latest/meds_v2.tar.gz",
]
......@@ -61,7 +61,9 @@ class MorphDatabase(CSVDatasetZTNorm):
# Downloading model if not exists
urls = MorphDatabase.urls()
filename = get_file("morph.tar.gz", urls)
filename = get_file(
"morph.tar.gz", urls, file_hash="9efa1ff13ef6984ebfcf86f1b1f58873"
)
self.annotation_type = "eyes-center"
self.fixed_positions = None
......@@ -86,6 +88,6 @@ class MorphDatabase(CSVDatasetZTNorm):
@staticmethod
def urls():
return [
"https://www.idiap.ch/software/bob/databases/latest/morph.tar.gz",
"http://www.idiap.ch/software/bob/databases/latest/morph.tar.gz",
"https://www.idiap.ch/software/bob/databases/latest/morph_v2.tar.gz",
"http://www.idiap.ch/software/bob/databases/latest/morph_v2.tar.gz",
]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment