Skip to content
Snippets Groups Projects
Commit 559ccd8c authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira
Browse files

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

[Fix] Legacy helpers with fixed annotations

See merge request !97
parents 23010aa2 307d974b
No related branches found
No related tags found
1 merge request!97[Fix] Legacy helpers with fixed annotations
Pipeline #47724 failed
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment