Commit 307d974b authored by Laurent COLBOIS's avatar Laurent COLBOIS

Fix legacy helpers to correctly handle transform arguments when using fixed annotations

parent 23010aa2
Pipeline #47414 passed with stage
in 43 minutes and 51 seconds
......@@ -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
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment