__init__.py 568 B

12345678910111213141516171819202122
  1. from .cub import CUB_Annotations
  2. from .nab import NAB_Annotations
  3. from .cars import CARS_Annotations
  4. from .inat import INAT19_Annotations
  5. from .flowers import FLOWERS_Annotations
  6. from .base import BaseAnnotations
  7. from cvargparse.utils import BaseChoiceType
  8. from functools import partial
  9. class AnnotationType(BaseChoiceType):
  10. CUB200 = CUB_Annotations
  11. NAB = NAB_Annotations
  12. CARS = CARS_Annotations
  13. FLOWERS = FLOWERS_Annotations
  14. INAT19 = INAT19_Annotations
  15. INAT19_MINI = partial(INAT19_Annotations)
  16. INAT19_TEST = partial(INAT19_Annotations)
  17. Default = CUB200