{"action":"created","issue":{"url":"https://api.github.com/repos/fchollet/keras/issues/431","repository_url":"https://api.github.com/repos/fchollet/keras","labels_url":"https://api.github.com/repos/fchollet/keras/issues/431/labels{/name}","comments_url":"https://api.github.com/repos/fchollet/keras/issues/431/comments","events_url":"https://api.github.com/repos/fchollet/keras/issues/431/events","html_url":"https://github.com/fchollet/keras/issues/431","id":96806915,"number":431,"title":"Visualizing weights and convolutions","user":{"login":"guy4261","id":1596283,"avatar_url":"https://avatars.githubusercontent.com/u/1596283?v=3","gravatar_id":"","url":"https://api.github.com/users/guy4261","html_url":"https://github.com/guy4261","followers_url":"https://api.github.com/users/guy4261/followers","following_url":"https://api.github.com/users/guy4261/following{/other_user}","gists_url":"https://api.github.com/users/guy4261/gists{/gist_id}","starred_url":"https://api.github.com/users/guy4261/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guy4261/subscriptions","organizations_url":"https://api.github.com/users/guy4261/orgs","repos_url":"https://api.github.com/users/guy4261/repos","events_url":"https://api.github.com/users/guy4261/events{/privacy}","received_events_url":"https://api.github.com/users/guy4261/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":25,"created_at":"2015-07-23T12:54:49Z","updated_at":"2016-08-22T02:36:44Z","closed_at":"2015-08-16T20:29:34Z","body":"Hi,\r\nLooking at this Torch tutorial:\r\nhttp://code.madbits.com/wiki/doku.php?id=tutorial_basics\r\n\r\nA Spatial Convolution layer is generated, and its weights are visualized,\r\nthen Lena's image is forwarded through the layer and the resulting images are visualized.\r\n\r\nIt would be nice if Keras would support the visualization of both things (aka include the visualization in its tutorials)."},"comment":{"url":"https://api.github.com/repos/fchollet/keras/issues/comments/241302992","html_url":"https://github.com/fchollet/keras/issues/431#issuecomment-241302992","issue_url":"https://api.github.com/repos/fchollet/keras/issues/431","id":241302992,"user":{"login":"tangjie77wd","id":13283353,"avatar_url":"https://avatars.githubusercontent.com/u/13283353?v=3","gravatar_id":"","url":"https://api.github.com/users/tangjie77wd","html_url":"https://github.com/tangjie77wd","followers_url":"https://api.github.com/users/tangjie77wd/followers","following_url":"https://api.github.com/users/tangjie77wd/following{/other_user}","gists_url":"https://api.github.com/users/tangjie77wd/gists{/gist_id}","starred_url":"https://api.github.com/users/tangjie77wd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tangjie77wd/subscriptions","organizations_url":"https://api.github.com/users/tangjie77wd/orgs","repos_url":"https://api.github.com/users/tangjie77wd/repos","events_url":"https://api.github.com/users/tangjie77wd/events{/privacy}","received_events_url":"https://api.github.com/users/tangjie77wd/received_events","type":"User","site_admin":false},"created_at":"2016-08-22T02:36:44Z","updated_at":"2016-08-22T02:36:44Z","body":"However,as you know,i wanna get the feature of data after Flatten layer finally,so when i run like below:\r\nf = K.function([K.learning_phase(), origin_model.layers[0].input], [origin_model.layers[13].output])\r\nfeature=f(data)\r\nIt shows error as the following shows:\r\n\r\n  File \"E:/Keras_Code/luobin_cnn-svm8.18.py\", line 79, in <module>\r\n    feature=f(data)\r\n\r\n  File \"C:\\Anaconda2\\lib\\site-packages\\keras\\backend\\theano_backend.py\", line 561, in __call__\r\n    assert type(inputs) in {list, tuple}\r\nAha,'feature=f(data)' cause the error again!I am wandering if the shape of data is conflict with the origin_model.layer[0].input."}}
{"actor":{"display_login":"tangjie77wd"}}