{"action":"closed","issue":{"url":"https://api.github.com/repos/fchollet/keras/issues/621","labels_url":"https://api.github.com/repos/fchollet/keras/issues/621/labels{/name}","comments_url":"https://api.github.com/repos/fchollet/keras/issues/621/comments","events_url":"https://api.github.com/repos/fchollet/keras/issues/621/events","html_url":"https://github.com/fchollet/keras/issues/621","id":104201658,"number":621,"title":"Extracting embeddings from layers","user":{"login":"anjishnu","id":2019824,"avatar_url":"https://avatars.githubusercontent.com/u/2019824?v=3","gravatar_id":"","url":"https://api.github.com/users/anjishnu","html_url":"https://github.com/anjishnu","followers_url":"https://api.github.com/users/anjishnu/followers","following_url":"https://api.github.com/users/anjishnu/following{/other_user}","gists_url":"https://api.github.com/users/anjishnu/gists{/gist_id}","starred_url":"https://api.github.com/users/anjishnu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anjishnu/subscriptions","organizations_url":"https://api.github.com/users/anjishnu/orgs","repos_url":"https://api.github.com/users/anjishnu/repos","events_url":"https://api.github.com/users/anjishnu/events{/privacy}","received_events_url":"https://api.github.com/users/anjishnu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-01T07:12:25Z","updated_at":"2015-09-02T15:15:59Z","closed_at":"2015-09-02T15:15:59Z","body":"Embeddings obtained from training a discriminative NN towards a specific task can be extremely useful on related tasks (e.g. Transfer learning). We can extract a lot of potentially useful embeddings by looking at the weights of a layer of the model. By looking at the documentation http://keras.io/models/ it doesn't seem like Keras supports the abstraction of extracting weight values from individual layers. Seems like it would be relatively easy to implement. "}}