Skip to content

Instantly share code, notes, and snippets.

@robgon-art
Created September 16, 2021 21:45
Show Gist options
  • Save robgon-art/7d71250b17ce76e1f5256449f7c7e9c2 to your computer and use it in GitHub Desktop.
Save robgon-art/7d71250b17ce76e1f5256449f7c7e9c2 to your computer and use it in GitHub Desktop.
Save images in GANscapes
for i, img in enumerate(all_images):
pil_image = PIL.Image.fromarray(img)
pil_image.save("/content/output/output_" + str(i) + ".png")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment