Skip to content
Snippets Groups Projects
Commit 503b56ec authored by Olegs NIKISINS's avatar Olegs NIKISINS
Browse files

Removed data_format_config from load methods in BATL HLDI

parent fbace8c5
No related branches found
No related tags found
1 merge request!59Added HLDI for the BATL database, added optional data normalization in FaceCropAlign
Pipeline #
...@@ -55,7 +55,6 @@ class BatlPadFile(PadFile): ...@@ -55,7 +55,6 @@ class BatlPadFile(PadFile):
self.stream_type = stream_type self.stream_type = stream_type
self.max_frames = max_frames self.max_frames = max_frames
self.reference_stream_type = reference_stream_type # "color" self.reference_stream_type = reference_stream_type # "color"
self.data_format_config = load_data_config(pkg_resources.resource_filename('batl.utils', 'config/idiap_hdf5_data_config.json'))
self.warp_to_reference = warp_to_reference # True self.warp_to_reference = warp_to_reference # True
self.convert_to_rgb = convert_to_rgb # False self.convert_to_rgb = convert_to_rgb # False
self.crop = crop # None self.crop = crop # None
...@@ -67,7 +66,6 @@ class BatlPadFile(PadFile): ...@@ -67,7 +66,6 @@ class BatlPadFile(PadFile):
extension=extension, extension=extension,
modality=self.stream_type, # TODO: this parameter is currently missing in bob.db.batl, add it there modality=self.stream_type, # TODO: this parameter is currently missing in bob.db.batl, add it there
reference_stream_type=self.reference_stream_type, reference_stream_type=self.reference_stream_type,
data_format_config=self.data_format_config,
warp_to_reference=self.warp_to_reference, warp_to_reference=self.warp_to_reference,
convert_to_rgb=self.convert_to_rgb, convert_to_rgb=self.convert_to_rgb,
crop=self.crop, crop=self.crop,
...@@ -247,7 +245,6 @@ class BatlPadDatabase(PadDatabase): ...@@ -247,7 +245,6 @@ class BatlPadDatabase(PadDatabase):
extension=self.original_extension, extension=self.original_extension,
modality="color", # TODO: this parameter is currently missing in bob.db.batl, add it there modality="color", # TODO: this parameter is currently missing in bob.db.batl, add it there
reference_stream_type="color", reference_stream_type="color",
data_format_config=load_data_config(pkg_resources.resource_filename('batl.utils', 'config/idiap_hdf5_data_config.json')),
warp_to_reference=False, warp_to_reference=False,
convert_to_rgb=False, convert_to_rgb=False,
crop=None, crop=None,
......
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