Creating image variations for training data

We create image variations and further train our network model on top of them to increase the generalization power of the CNN. It is crucial to train our CNN with as many image variations as possible so as to increase the accuracy. We basically obtain more samples of the same image by flipping or rotating them. In this recipe, we will transform and create samples of images using a concrete implementation of ImageTransform in DL4J.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset