Last active
March 30, 2016 12:21
-
-
Save EnsekiTT/51fe1716f422d703768a57d8dacf3c6d to your computer and use it in GitHub Desktop.
DeepLearningだ!と意気込んだものの手書き数字認識の後に続かなくなった時に読むデータそのものの話 ref: http://qiita.com/EnsekiTT@github/items/66ae1b00a0fefbd036d0
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
| n = 10 | |
| x = Variable(x_test[n:n+1]) | |
| v = model.predictor(x) | |
| plt.imshow(x_test[n:n+1].reshape((28,28)), cmap = cm.Greys_r) | |
| print(np.argmax(v.data)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment