Updated DB interface

parent 288c6a8f
Pipeline #51451 passed with stage
in 64 minutes and 26 seconds
......@@ -126,11 +126,10 @@ class CasiaAfricaDatabase(CSVDataset):
),
EyesAnnotations(),
),
annotation_type=annotation_type,
fixed_positions=fixed_positions,
)
self.annotation_type = annotation_type
self.fixed_positions = fixed_positions
@staticmethod
def protocols():
# TODO: Until we have (if we have) a function that dumps the protocols, let's use this one.
......
......@@ -90,9 +90,9 @@ class CBSRNirVis2Database(CSVDataset):
),
EyesAnnotations(),
),
annotation_type=annotation_type,
fixed_positions=fixed_positions,
)
self.annotation_type = annotation_type
self.fixed_positions = fixed_positions
@staticmethod
def protocols():
......
......@@ -42,11 +42,10 @@ class FRGCDatabase(CSVDataset):
),
EyesAnnotations(),
),
annotation_type=annotation_type,
fixed_positions=fixed_positions,
)
self.annotation_type = annotation_type
self.fixed_positions = fixed_positions
@staticmethod
def protocols():
# TODO: Until we have (if we have) a function that dumps the protocols, let's use this one.
......
......@@ -115,11 +115,10 @@ class MEDSDatabase(CSVDatasetZTNorm):
),
EyesAnnotations(),
),
annotation_type=annotation_type,
fixed_positions=fixed_positions,
)
self.annotation_type = annotation_type
self.fixed_positions = fixed_positions
@staticmethod
def urls():
return [
......
......@@ -70,9 +70,9 @@ class MobioDatabase(CSVDatasetZTNorm):
),
EyesAnnotations(),
),
annotation_type=annotation_type,
fixed_positions=fixed_positions,
)
self.annotation_type = annotation_type
self.fixed_positions = fixed_positions
@staticmethod
def protocols():
......
......@@ -79,11 +79,10 @@ class MorphDatabase(CSVDatasetZTNorm):
),
EyesAnnotations(),
),
annotation_type=annotation_type,
fixed_positions=fixed_positions,
)
self.annotation_type = annotation_type
self.fixed_positions = fixed_positions
@staticmethod
def urls():
return [
......
......@@ -108,11 +108,10 @@ class MultipieDatabase(CSVDataset):
),
MultiposeAnnotations(),
),
annotation_type=["eyes-center", "left-profile", "right-profile"],
fixed_positions=None,
)
self.annotation_type = ["eyes-center", "left-profile", "right-profile"]
self.fixed_positions = None
@staticmethod
def protocols():
# TODO: Until we have (if we have) a function that dumps the protocols, let's use this one.
......
......@@ -111,11 +111,10 @@ class PolaThermalDatabase(CSVDataset):
),
EyesAnnotations(),
),
annotation_type=annotation_type,
fixed_positions=fixed_positions,
)
self.annotation_type = annotation_type
self.fixed_positions = fixed_positions
@staticmethod
def protocols():
# TODO: Until we have (if we have) a function that dumps the protocols, let's use this one.
......
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