July 2018
Intermediate to advanced
474 pages
13h 37m
English
This section walks through the steps to increase the frequency and augmentation of our nine sample images.
from Augmentor import Pipelineaugmentor = Pipeline('/home/asherif844/sparkNotebooks/Ch03/MNIST/images')
augmentor.rotate(probability=0.9, max_left_rotation=25, max_right_rotation=25)
for i in range(1,3): augmentor.sample(10)
Read now
Unlock full access