{"action":"created","issue":{"url":"https://api.github.com/repos/fchollet/keras/issues/1320","repository_url":"https://api.github.com/repos/fchollet/keras","labels_url":"https://api.github.com/repos/fchollet/keras/issues/1320/labels{/name}","comments_url":"https://api.github.com/repos/fchollet/keras/issues/1320/comments","events_url":"https://api.github.com/repos/fchollet/keras/issues/1320/events","html_url":"https://github.com/fchollet/keras/issues/1320","id":123310814,"number":1320,"title":"Multiple outputs, same hidden structure","user":{"login":"santi-pdp","id":7583502,"avatar_url":"https://avatars.githubusercontent.com/u/7583502?v=3","gravatar_id":"","url":"https://api.github.com/users/santi-pdp","html_url":"https://github.com/santi-pdp","followers_url":"https://api.github.com/users/santi-pdp/followers","following_url":"https://api.github.com/users/santi-pdp/following{/other_user}","gists_url":"https://api.github.com/users/santi-pdp/gists{/gist_id}","starred_url":"https://api.github.com/users/santi-pdp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/santi-pdp/subscriptions","organizations_url":"https://api.github.com/users/santi-pdp/orgs","repos_url":"https://api.github.com/users/santi-pdp/repos","events_url":"https://api.github.com/users/santi-pdp/events{/privacy}","received_events_url":"https://api.github.com/users/santi-pdp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-21T16:27:03Z","updated_at":"2016-03-14T18:14:59Z","closed_at":"2016-03-05T20:08:44Z","body":"Hello people,\r\n\r\nI have been working with a regression problem with LSTMs in which I predict a vector of output coefficients from an input sequence. What I want to do is to build multiple output layers on top of the same hidden structure, so that I will be training the different layers depending on the input sequence (inputs always have the same dimension). To sum up, when I backprop one output layer all other output layers will remain static. Is there any way to freeze the N-1 output layers and only fit a batch of data into the Nth layer, iterating the process for many batches and the N layers? Can I have any clue please?\r\n\r\nThank you"},"comment":{"url":"https://api.github.com/repos/fchollet/keras/issues/comments/196450722","html_url":"https://github.com/fchollet/keras/issues/1320#issuecomment-196450722","issue_url":"https://api.github.com/repos/fchollet/keras/issues/1320","id":196450722,"user":{"login":"snakeztc","id":1688939,"avatar_url":"https://avatars.githubusercontent.com/u/1688939?v=3","gravatar_id":"","url":"https://api.github.com/users/snakeztc","html_url":"https://github.com/snakeztc","followers_url":"https://api.github.com/users/snakeztc/followers","following_url":"https://api.github.com/users/snakeztc/following{/other_user}","gists_url":"https://api.github.com/users/snakeztc/gists{/gist_id}","starred_url":"https://api.github.com/users/snakeztc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snakeztc/subscriptions","organizations_url":"https://api.github.com/users/snakeztc/orgs","repos_url":"https://api.github.com/users/snakeztc/repos","events_url":"https://api.github.com/users/snakeztc/events{/privacy}","received_events_url":"https://api.github.com/users/snakeztc/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T18:14:58Z","updated_at":"2016-03-14T18:14:58Z","body":"Hi, @santi-pdp I have the exact the same question as you do. Which model (sequential or graph) did you finally pick? Do you have a good solution of freezing the the rest of output and only back-propagate 1 output? Thank you!"}}