Does google automl do image augmentation automatically?

痴心易碎 提交于 2020-02-24 12:26:08

问题


I am using automl from google using a custom dataset. The dataset consists of images collected by me. However, manually labelling the image take some time, so I would like to enlarge the dataset by image augmentation, such as rotation and blurring. Does automl perform augmentation behind the screen automatically?


回答1:


AutoML does few types of data augmentation. This is implementation detail and may change in the future without notice, basic augmentations that are used are:

  • random resizes / crops
  • random flip left right
  • random color and brightness distortions
  • more may be used / added in the future

If doing data augmentation on your side please follow best practices:

  • if you augment image - please put all augmentations of the same image in the same part of the dataset (TRAIN, VALIDATION, TEST) - otherwise the model can overfit without noticing (if almost the same image is in TRAIN and VALIDATION set)
  • do transformations that are meaningful in your context - for example rotations - if in typical use-case you don't get rotated images or objects that are rotated - then training model to detect rotated images may not help your application (for example if you never see people who are upside down in your real application - than training with people who are upside down may not benefit your end model).


来源:https://stackoverflow.com/questions/52177719/does-google-automl-do-image-augmentation-automatically

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!