Skip to content

Instantly share code, notes, and snippets.

@rohan-paul
Created September 16, 2021 11:27
Show Gist options
  • Select an option

  • Save rohan-paul/b26ab0027b1019cb4667490f455db042 to your computer and use it in GitHub Desktop.

Select an option

Save rohan-paul/b26ab0027b1019cb4667490f455db042 to your computer and use it in GitHub Desktop.
for i in range(5):
plt.figure(figsize=(7,7))
for k in range(20):
noise=np.random.uniform(-1,1,size=[100,noise_shape])
im=generator.predict(noise)
plt.subplot(5, 4, k+1)
plt.imshow(im[k].reshape(64,64,3))
plt.xticks([])
plt.yticks([])
plt.tight_layout()
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment