-
-
Save uiur/ece9986429167ee0cc30edf87a43211d to your computer and use it in GitHub Desktop.
stack images
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
size = (10, 10) | |
imgs = imgs[:size[0] * size[1]].reshape(size[0], size[1], 28, 28) | |
result = np.vstack(tuple([np.hstack(tuple(img)) for img in imgs])) | |
imsave('a.png', result) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment