__init__.py 2.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # Copyright (c) OpenMMLab. All rights reserved.
  2. from .augment_wrappers import AutoAugment, RandAugment
  3. from .colorspace import (AutoContrast, Brightness, Color, ColorTransform,
  4. Contrast, Equalize, Invert, Posterize, Sharpness,
  5. Solarize, SolarizeAdd)
  6. from .formatting import ImageToTensor, PackDetInputs, ToTensor, Transpose
  7. from .geometric import (GeomTransform, Rotate, ShearX, ShearY, TranslateX,
  8. TranslateY)
  9. from .instaboost import InstaBoost
  10. from .loading import (FilterAnnotations, InferencerLoader, LoadAnnotations,
  11. LoadEmptyAnnotations, LoadImageFromNDArray,
  12. LoadMultiChannelImageFromFiles, LoadPanopticAnnotations,
  13. LoadProposals)
  14. from .transforms import (Albu, CachedMixUp, CachedMosaic, CopyPaste, CutOut,
  15. Expand, FixShapeResize, MinIoURandomCrop, MixUp,
  16. Mosaic, Pad, PhotoMetricDistortion, RandomAffine,
  17. RandomCenterCropPad, RandomCrop, RandomErasing,
  18. RandomFlip, RandomShift, Resize, SegRescale,
  19. YOLOXHSVRandomAug)
  20. from .wrappers import MultiBranch, ProposalBroadcaster, RandomOrder
  21. __all__ = [
  22. 'PackDetInputs', 'ToTensor', 'ImageToTensor', 'Transpose',
  23. 'LoadImageFromNDArray', 'LoadAnnotations', 'LoadPanopticAnnotations',
  24. 'LoadMultiChannelImageFromFiles', 'LoadProposals', 'Resize', 'RandomFlip',
  25. 'RandomCrop', 'SegRescale', 'MinIoURandomCrop', 'Expand',
  26. 'PhotoMetricDistortion', 'Albu', 'InstaBoost', 'RandomCenterCropPad',
  27. 'AutoAugment', 'CutOut', 'ShearX', 'ShearY', 'Rotate', 'Color', 'Equalize',
  28. 'Brightness', 'Contrast', 'TranslateX', 'TranslateY', 'RandomShift',
  29. 'Mosaic', 'MixUp', 'RandomAffine', 'YOLOXHSVRandomAug', 'CopyPaste',
  30. 'FilterAnnotations', 'Pad', 'GeomTransform', 'ColorTransform',
  31. 'RandAugment', 'Sharpness', 'Solarize', 'SolarizeAdd', 'Posterize',
  32. 'AutoContrast', 'Invert', 'MultiBranch', 'RandomErasing',
  33. 'LoadEmptyAnnotations', 'RandomOrder', 'CachedMosaic', 'CachedMixUp',
  34. 'FixShapeResize', 'ProposalBroadcaster', 'InferencerLoader'
  35. ]