Skip to content

Instantly share code, notes, and snippets.

@merishnaSuwal
Created October 17, 2020 11:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save merishnaSuwal/ee29f6dadf6e9ec19021469d30330fce to your computer and use it in GitHub Desktop.
Save merishnaSuwal/ee29f6dadf6e9ec19021469d30330fce to your computer and use it in GitHub Desktop.
show_images = 5
# Plot the images from last epoch
data_images = helper.get_batch(glob(os.path.join("./generated_images/epoch_" + str(num_epochs-1) +"/", '*.jpg'))[:show_images], 64, 64, 'RGB')
plt.imshow(helper.images_square_grid(data_images, 'RGB'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment