diff --git a/bob/bio/face/config/baseline/helpers.py b/bob/bio/face/config/baseline/helpers.py index 9e03d0027a932b1112bfd15bde493fef6a47a126..c0989b1f511cdf5cffadf711efdf5fe3e88a673d 100644 --- a/bob/bio/face/config/baseline/helpers.py +++ b/bob/bio/face/config/baseline/helpers.py @@ -316,7 +316,7 @@ def crop_80x64(annotation_type, fixed_positions=None, color_channel="gray"): ) transform_extra_arguments = ( - None if cropped_positions is None else (("annotations", "annotations"),) + None if (cropped_positions is None or fixed_positions is not None) else (("annotations", "annotations"),) ) return face_cropper, transform_extra_arguments