Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- img_id = 1991
- dog_generator = train_datagen.flow(train_imgs[img_id:img_id+1], train_labels[img_id:img_id+1],
- batch_size=1)
- dog = [next(dog_generator) for i in range(0,5)]
- fig, ax = plt.subplots(1,5, figsize=(15, 6))
- print('Labels:', [item[1][0] for item in dog])
- l = [ax[i].imshow(dog[i][0][0]) for i in range(0,5)]
Add Comment
Please, Sign In to add comment