Mask_rcnn: How to use standard data augmentation?

Created on 28 Mar 2018  路  2Comments  路  Source: matterport/Mask_RCNN

Hello everyone,

I saw that in 'load_image_gt' it is possible to add an option for data augmentation and that this one is used in 'data_generator` used in 'inspect_data.ipynb'. Yet in the notebook I can't see where you can use it for data augmentation for training.
It seems that it is automatically called for training, is that right?

Thanks!

Most helpful comment

It used to be automatically called for training. And it did right/left flipping 50% of the time.

But as of earlier today, I pushed an update that makes two changes:

  1. Augmentation is not done automatically anymore. Instead you need to pass the augmentation parameter to train().
  2. The model now uses the imgaug library for augmentation, and that allows a very wide range of possible augmentations.

The commit is here: https://github.com/matterport/Mask_RCNN/commit/c7e3aa7a32a2ff4e265ef9746ca87dd91ed6bfa2

All 2 comments

It used to be automatically called for training. And it did right/left flipping 50% of the time.

But as of earlier today, I pushed an update that makes two changes:

  1. Augmentation is not done automatically anymore. Instead you need to pass the augmentation parameter to train().
  2. The model now uses the imgaug library for augmentation, and that allows a very wide range of possible augmentations.

The commit is here: https://github.com/matterport/Mask_RCNN/commit/c7e3aa7a32a2ff4e265ef9746ca87dd91ed6bfa2

Thank you for your answer!
I didn't see the commit, it looks great!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

apptech-evan-huang picture apptech-evan-huang  路  3Comments

simone-codeluppi picture simone-codeluppi  路  3Comments

ziyigogogo picture ziyigogogo  路  3Comments

wjdhuster2018 picture wjdhuster2018  路  3Comments

PaulChongPeng picture PaulChongPeng  路  4Comments