Guest User

Untitled

a guest
Jun 23rd, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. sample = datagen.flow(X_train, y_train, batch_size=batch_size, subset='training')
  2.  
  3. fig = plt.figure(figsize=(17,9))
  4. gs = GridSpec(1, 5)
  5. pos = 0
  6. for i in range(0, 5):
  7. a = fig.add_subplot(gs[0, pos])
  8. plt.imshow(sample[0][0][0])
  9. pos += 1
  10. plt.show()
Add Comment
Please, Sign In to add comment