Commit 559ccd8c authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira

Merge branch 'fix-legacy-helpers' into 'master'

[Fix] Legacy helpers with fixed annotations

See merge request !97
parents 23010aa2 307d974b
Pipeline #47724 failed with stage
in 6 minutes and 43 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
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment