From 503b56ec23fbc859ec91fcf081f9c7a4fdc600c5 Mon Sep 17 00:00:00 2001 From: Olegs NIKISINS <onikisins@italix03.idiap.ch> Date: Mon, 12 Mar 2018 13:52:31 +0100 Subject: [PATCH] Removed data_format_config from load methods in BATL HLDI --- bob/pad/face/database/batl.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/bob/pad/face/database/batl.py b/bob/pad/face/database/batl.py index f0e735c5..1300d3dd 100644 --- a/bob/pad/face/database/batl.py +++ b/bob/pad/face/database/batl.py @@ -55,7 +55,6 @@ class BatlPadFile(PadFile): self.stream_type = stream_type self.max_frames = max_frames 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.convert_to_rgb = convert_to_rgb # False self.crop = crop # None @@ -67,7 +66,6 @@ class BatlPadFile(PadFile): extension=extension, modality=self.stream_type, # TODO: this parameter is currently missing in bob.db.batl, add it there reference_stream_type=self.reference_stream_type, - data_format_config=self.data_format_config, warp_to_reference=self.warp_to_reference, convert_to_rgb=self.convert_to_rgb, crop=self.crop, @@ -247,7 +245,6 @@ class BatlPadDatabase(PadDatabase): extension=self.original_extension, modality="color", # TODO: this parameter is currently missing in bob.db.batl, add it there 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, convert_to_rgb=False, crop=None, -- GitLab