Created
January 3, 2019 19:52
-
-
Save DiegoAgher/c53fa2c6ca861d3ad0327741c317e1fa to your computer and use it in GitHub Desktop.
mnist sequence
This file contains 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
seq_length = 9 | |
random_chars = np.random.randint(0, len(x_train)-1, seq_length) | |
image_seq = np.concatenate([x_train[j] for j in random_chars], axis=1) | |
seq_label = np.array([y_train[j] for j in random_chars]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment