Skip to content

Instantly share code, notes, and snippets.

@itsuncheng
Created July 26, 2020 04:03
Show Gist options
  • Save itsuncheng/4cac0acba1a804ad639d883a8f48e028 to your computer and use it in GitHub Desktop.
Save itsuncheng/4cac0acba1a804ad639d883a8f48e028 to your computer and use it in GitHub Desktop.
for image in range(len(img_list)):
name = "generated_" + str(image) +".jpg"
print(name)
plt.imsave(name, np.transpose(img_list[image],(1,2,0)), format='jpg')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment