Commit 478a60ab authored by Amir MOHAMMADI's avatar Amir MOHAMMADI

Merge branch 'fix-annotator-call' into 'master'

[Fix][FaceCrop] Feed annotator with list of images

Closes #40

See merge request !99
parents 559ccd8c 736fdf49
Pipeline #47809 failed with stage
in 45 minutes and 23 seconds
......@@ -346,7 +346,7 @@ class FaceCrop(Base):
and not self.fixed_positions
and self.annotator is not None
annot = self.annotator(image, annotations=annot)
annot = self.annotator([image], annotations=[annot])[0]
if not self.is_annotations_valid(annot):
"The annotator failed and the annot are missing too"
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