Skip to content

Annotation type XYZ is not supported.

With recent changes to CSVDataset, running any baseline against multipie database is silently failing with the following message:

bob.bio.face.utils@2023-02-23 13:54:36,596 -- WARNING: Annotation type ('eyes-center', 'left-profile', 'right-profile') is not supported. Input images will be fully scaled.

There are two reasons for this behaviour:

  • The change from list to tuple for the MultipieDatabase.annotation_type variable (now, then)
  • The oversimplified checks in bob.bio.face.utils.py, checking only for list whereas it could potentially be any Iterable and not only list