{"action":"created","issue":{"url":"https://api.github.com/repos/bojone/Capsule/issues/1","repository_url":"https://api.github.com/repos/bojone/Capsule","labels_url":"https://api.github.com/repos/bojone/Capsule/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/bojone/Capsule/issues/1/comments","events_url":"https://api.github.com/repos/bojone/Capsule/issues/1/events","html_url":"https://github.com/bojone/Capsule/issues/1","id":291129348,"number":1,"title":"keras 2.1.2 theano 0.9 gpu error","user":{"login":"jcjview","id":6952037,"avatar_url":"https://avatars2.githubusercontent.com/u/6952037?v=4","gravatar_id":"","url":"https://api.github.com/users/jcjview","html_url":"https://github.com/jcjview","followers_url":"https://api.github.com/users/jcjview/followers","following_url":"https://api.github.com/users/jcjview/following{/other_user}","gists_url":"https://api.github.com/users/jcjview/gists{/gist_id}","starred_url":"https://api.github.com/users/jcjview/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcjview/subscriptions","organizations_url":"https://api.github.com/users/jcjview/orgs","repos_url":"https://api.github.com/users/jcjview/repos","events_url":"https://api.github.com/users/jcjview/events{/privacy}","received_events_url":"https://api.github.com/users/jcjview/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-01-24T08:57:27Z","updated_at":"2018-02-06T12:08:12Z","closed_at":null,"author_association":"NONE","body":"\r\n\r\nTraceback (most recent call last):                                                                        \r\n  File \"capsule_test.py\", line 46, in <module>                                                            \r\n    capsule = Capsule(10, 16, 3, True)(cnn)                                                               \r\n  File \"/home/.../anaconda3/lib/python3.6/site-packages/keras/engine/topology.py\", line 603, in __call\r\n__                                                                                                        \r\n    output = self.call(inputs, **kwargs)                                                                  \r\n  File \"/data/.../study/Capsule/Capsule_Keras.py\", line 60, in call                                   \r\n    c = K.softmax(b)                                                                                      \r\n  File \"/home/.../anaconda3/lib/python3.6/site-packages/keras/backend/theano_backend.py\", line 1552, i\r\nn softmax                                                                                                 \r\n    return T.nnet.softmax(x)                                                                              \r\n  File \"/home/.../anaconda3/lib/python3.6/site-packages/theano/tensor/nnet/nnet.py\", line 809, in soft\r\nmax                                                                                                       \r\n    return softmax_op(c)                                                                                  \r\n  File \"/home/.../anaconda3/lib/python3.6/site-packages/theano/gof/op.py\", line 615, in __call__      \r\n    node = self.make_node(*inputs, **kwargs)                                                              \r\n  File \"/home/.../anaconda3/lib/python3.6/site-packages/theano/tensor/nnet/nnet.py\", line 431, in make\r\n_node                                                                                                     \r\n    x.type)                                                                                               \r\nValueError: x must be 1-d or 2-d tensor of floats. Got TensorType(float32, 3D) \r\n\r\n\r\nI try tensorflow backend , no error."},"comment":{"url":"https://api.github.com/repos/bojone/Capsule/issues/comments/363403355","html_url":"https://github.com/bojone/Capsule/issues/1#issuecomment-363403355","issue_url":"https://api.github.com/repos/bojone/Capsule/issues/1","id":363403355,"user":{"login":"ymcui","id":16095339,"avatar_url":"https://avatars1.githubusercontent.com/u/16095339?v=4","gravatar_id":"","url":"https://api.github.com/users/ymcui","html_url":"https://github.com/ymcui","followers_url":"https://api.github.com/users/ymcui/followers","following_url":"https://api.github.com/users/ymcui/following{/other_user}","gists_url":"https://api.github.com/users/ymcui/gists{/gist_id}","starred_url":"https://api.github.com/users/ymcui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ymcui/subscriptions","organizations_url":"https://api.github.com/users/ymcui/orgs","repos_url":"https://api.github.com/users/ymcui/repos","events_url":"https://api.github.com/users/ymcui/events{/privacy}","received_events_url":"https://api.github.com/users/ymcui/received_events","type":"User","site_admin":false},"created_at":"2018-02-06T12:08:12Z","updated_at":"2018-02-06T12:08:12Z","author_association":"NONE","body":"You're welcome :)"}}
{"actor":{"display_login":"ymcui"}}