Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sample = datagen.flow(X_train, y_train, batch_size=batch_size, subset='training')
- fig = plt.figure(figsize=(17,9))
- gs = GridSpec(1, 5)
- pos = 0
- for i in range(0, 5):
- a = fig.add_subplot(gs[0, pos])
- plt.imshow(sample[0][0][0])
- pos += 1
- plt.show()
Add Comment
Please, Sign In to add comment