__init__.py 533 B

1234567891011121314151617181920
  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 cvargparse.utils import BaseChoiceType
  7. from functools import partial
  8. class AnnotationType(BaseChoiceType):
  9. CUB200 = CUB_Annotations
  10. NAB = NAB_Annotations
  11. CARS = CARS_Annotations
  12. FLOWERS = FLOWERS_Annotations
  13. INAT19 = INAT19_Annotations
  14. INAT19_MINI = partial(INAT19_Annotations)
  15. INAT19_TEST = partial(INAT19_Annotations)
  16. Default = CUB200