Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

[MXNET-103] Added tutorial on types of data augmentations. #10039

Merged
merged 3 commits into from Apr 2, 2018

Conversation

thomelane
Copy link
Contributor

Description

Added tutorial on types of data augmentations (both augmentations that effect position and color).

Checklist

Essentials

N/A, as only added a single markdown file.

Changes

Added tutorial.

Comments

Contains images of each type of augmentation.
Contain asserts on array shapes, to allow future testing.
Intend to follow up with another tutorial on how to use Augmenters.

@thomelane thomelane requested a review from szha as a code owner March 8, 2018 18:54
Copy link
Member

@cjolivier01 cjolivier01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a JIRA

@thomelane
Copy link
Contributor Author

@thomelane thomelane changed the title Added tutorial on types of data augmentations. [MXNET-103] Added tutorial on types of data augmentations. Mar 20, 2018
@piiswrong
Copy link
Contributor

We've moved to Gluon augmenters, see #10155

@thomelane
Copy link
Contributor Author

@piiswrong I'll create a Gluon version of this when the Gluon augmenters are merged and docs have been added. I still think this is a useful reference for the mx.image Augmenters, and this will be put in the Module section of tutorials.

@thomelane
Copy link
Contributor Author

One of the main aims of this tutorial was to visually show the effects of each augmentation, so I expect this is unchanged from the Gluon transforms?

@thomelane
Copy link
Contributor Author

@rahul003 @szha @piiswrong can we get this merged?


# Custom Augmenters

And if you're still hungry for more augmenters, it's easy to perform your own augmentation steps. Just create a function that performs the required steps, and use within the `transform` function of [`mxnet.gluon.data.vision.ImageRecordDataset`](https://mxnet.incubator.apache.org/api/python/gluon/data.html#mxnet.gluon.data.vision.datasets.ImageRecordDataset) or [`ImageFolderDataset`](https://mxnet.incubator.apache.org/api/python/gluon/data.html#mxnet.gluon.data.vision.datasets.ImageFolderDataset). If you're already using Augmenter lists, you can also inherit the `Augmenter` base class, and define your own `__call__` method.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't mix gluon in here

@thomelane
Copy link
Contributor Author

@piiswrong I've removed the Gluon transform reference and moved the custom augmenters section to the FAQ.

Thom Lane and others added 2 commits March 29, 2018 17:47
@indhub indhub merged commit fe6220b into apache:master Apr 2, 2018
lanking520 pushed a commit to lanking520/incubator-mxnet that referenced this pull request Apr 2, 2018
)

* Added tutorial on types of data augmentations. With images to demonstrate effects.

* Removed Gluon references.

Moved custom augmentation to FAQ.

* Added to index.md
rahul003 pushed a commit to rahul003/mxnet that referenced this pull request Jun 4, 2018
)

* Added tutorial on types of data augmentations. With images to demonstrate effects.

* Removed Gluon references.

Moved custom augmentation to FAQ.

* Added to index.md
zheng-da pushed a commit to zheng-da/incubator-mxnet that referenced this pull request Jun 28, 2018
)

* Added tutorial on types of data augmentations. With images to demonstrate effects.

* Removed Gluon references.

Moved custom augmentation to FAQ.

* Added to index.md
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants