Created
March 8, 2018 10:46
-
-
Save alstat/e13cb240ac9be2d9822fb83e4836f53a to your computer and use it in GitHub Desktop.
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
using Flux: onehotbatch | |
x_vec = [float.(reshape(x_train[:, :, :, i], :)) for i in 1:1000]; | |
X = hcat(x_vec...); | |
Y = onehotbatch(y_train_fine[1:1000], 0:99); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment