Skip to content

Instantly share code, notes, and snippets.

@EnsekiTT
Last active March 30, 2016 12:21
Show Gist options
  • Select an option

  • Save EnsekiTT/51fe1716f422d703768a57d8dacf3c6d to your computer and use it in GitHub Desktop.

Select an option

Save EnsekiTT/51fe1716f422d703768a57d8dacf3c6d to your computer and use it in GitHub Desktop.
DeepLearningだ!と意気込んだものの手書き数字認識の後に続かなくなった時に読むデータそのものの話 ref: http://qiita.com/EnsekiTT@github/items/66ae1b00a0fefbd036d0
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