{"action":"created","issue":{"url":"https://api.github.com/repos/NervanaSystems/neon/issues/112","labels_url":"https://api.github.com/repos/NervanaSystems/neon/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/NervanaSystems/neon/issues/112/comments","events_url":"https://api.github.com/repos/NervanaSystems/neon/issues/112/events","html_url":"https://github.com/NervanaSystems/neon/issues/112","id":108694760,"number":112,"title":"Softmax() is not working on GPU","user":{"login":"sensus-sextus","id":14219554,"avatar_url":"https://avatars.githubusercontent.com/u/14219554?v=3","gravatar_id":"","url":"https://api.github.com/users/sensus-sextus","html_url":"https://github.com/sensus-sextus","followers_url":"https://api.github.com/users/sensus-sextus/followers","following_url":"https://api.github.com/users/sensus-sextus/following{/other_user}","gists_url":"https://api.github.com/users/sensus-sextus/gists{/gist_id}","starred_url":"https://api.github.com/users/sensus-sextus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sensus-sextus/subscriptions","organizations_url":"https://api.github.com/users/sensus-sextus/orgs","repos_url":"https://api.github.com/users/sensus-sextus/repos","events_url":"https://api.github.com/users/sensus-sextus/events{/privacy}","received_events_url":"https://api.github.com/users/sensus-sextus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-28T16:23:51Z","updated_at":"2015-09-28T18:09:35Z","closed_at":"2015-09-28T17:49:09Z","body":"Hello,\r\nI have slightly modified the \"mnist_mlp.py\" example from Neon's distribution.\r\nI'm using softmax as an activation function of the output layer instead of original logistic.\r\nAlso I added fprop to get trained network's predictions on the MNIST standard test set\r\n\r\nThis works well on CPU, and I obtained ~95% classification accuracy on this test.\r\nBut the same example goes wrong on GPU here only 1 example out of 1000 was classified correctly.\r\nMeantime,  after training the network reported only 4.53% of misclassification!\r\n\r\nWe consider this behavior as  a bug, thank you in advance for fixing it.\r\nBest wishes.\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/NervanaSystems/neon/issues/comments/143830416","html_url":"https://github.com/NervanaSystems/neon/issues/112#issuecomment-143830416","issue_url":"https://api.github.com/repos/NervanaSystems/neon/issues/112","id":143830416,"user":{"login":"apark263","id":3529132,"avatar_url":"https://avatars.githubusercontent.com/u/3529132?v=3","gravatar_id":"","url":"https://api.github.com/users/apark263","html_url":"https://github.com/apark263","followers_url":"https://api.github.com/users/apark263/followers","following_url":"https://api.github.com/users/apark263/following{/other_user}","gists_url":"https://api.github.com/users/apark263/gists{/gist_id}","starred_url":"https://api.github.com/users/apark263/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apark263/subscriptions","organizations_url":"https://api.github.com/users/apark263/orgs","repos_url":"https://api.github.com/users/apark263/repos","events_url":"https://api.github.com/users/apark263/events{/privacy}","received_events_url":"https://api.github.com/users/apark263/received_events","type":"User","site_admin":false},"created_at":"2015-09-28T18:09:35Z","updated_at":"2015-09-28T18:09:35Z","body":"if you're using softmax as an output activation, your cost function has to be multiclass cross entropy, not binomial cross entropy.  we don't support softmax -> binomial cross entropy or logistic -> multiclass cross entropy.\r\n\r\n"}}