From ff00c454d509a33ce61d324494b689dc1bb2014e Mon Sep 17 00:00:00 2001 From: Laurent COLBOIS <lcolbois@.idiap.ch> Date: Wed, 12 May 2021 12:18:07 +0200 Subject: [PATCH] Remove useless argument in legacy baselines call to make_cropper --- bob/bio/face/config/baseline/gabor_graph.py | 1 - bob/bio/face/config/baseline/lda.py | 1 - bob/bio/face/config/baseline/lgbphs.py | 1 - 3 files changed, 3 deletions(-) diff --git a/bob/bio/face/config/baseline/gabor_graph.py b/bob/bio/face/config/baseline/gabor_graph.py index 777f4ab1..17a005c8 100644 --- a/bob/bio/face/config/baseline/gabor_graph.py +++ b/bob/bio/face/config/baseline/gabor_graph.py @@ -81,7 +81,6 @@ def load(annotation_type, fixed_positions=None): # Cropping face_cropper, transform_extra_arguments = make_cropper( cropped_image_size=cropped_image_size, - annotation_type=annotation_type, cropped_positions=cropped_positions, fixed_positions=fixed_positions, color_channel="gray", diff --git a/bob/bio/face/config/baseline/lda.py b/bob/bio/face/config/baseline/lda.py index ee8877b2..a6ee3de8 100644 --- a/bob/bio/face/config/baseline/lda.py +++ b/bob/bio/face/config/baseline/lda.py @@ -37,7 +37,6 @@ def load(annotation_type, fixed_positions=None): # Cropping face_cropper, transform_extra_arguments = make_cropper( cropped_image_size=cropped_image_size, - annotation_type=annotation_type, cropped_positions=cropped_positions, fixed_positions=fixed_positions, color_channel="gray", diff --git a/bob/bio/face/config/baseline/lgbphs.py b/bob/bio/face/config/baseline/lgbphs.py index 353bb054..2c7256f6 100644 --- a/bob/bio/face/config/baseline/lgbphs.py +++ b/bob/bio/face/config/baseline/lgbphs.py @@ -71,7 +71,6 @@ def load(annotation_type, fixed_positions=None): # Cropping face_cropper, transform_extra_arguments = make_cropper( cropped_image_size=cropped_image_size, - annotation_type=annotation_type, cropped_positions=cropped_positions, fixed_positions=fixed_positions, color_channel="gray", -- GitLab