{"action":"opened","issue":{"url":"https://api.github.com/repos/keras-team/keras/issues/11713","repository_url":"https://api.github.com/repos/keras-team/keras","labels_url":"https://api.github.com/repos/keras-team/keras/issues/11713/labels{/name}","comments_url":"https://api.github.com/repos/keras-team/keras/issues/11713/comments","events_url":"https://api.github.com/repos/keras-team/keras/issues/11713/events","html_url":"https://github.com/keras-team/keras/issues/11713","id":383780303,"node_id":"MDU6SXNzdWUzODM3ODAzMDM=","number":11713,"title":"Connecting a LSTM to ConvLSTM2D's output","user":{"login":"korrahman","id":45286655,"node_id":"MDQ6VXNlcjQ1Mjg2NjU1","avatar_url":"https://avatars2.githubusercontent.com/u/45286655?v=4","gravatar_id":"","url":"https://api.github.com/users/korrahman","html_url":"https://github.com/korrahman","followers_url":"https://api.github.com/users/korrahman/followers","following_url":"https://api.github.com/users/korrahman/following{/other_user}","gists_url":"https://api.github.com/users/korrahman/gists{/gist_id}","starred_url":"https://api.github.com/users/korrahman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/korrahman/subscriptions","organizations_url":"https://api.github.com/users/korrahman/orgs","repos_url":"https://api.github.com/users/korrahman/repos","events_url":"https://api.github.com/users/korrahman/events{/privacy}","received_events_url":"https://api.github.com/users/korrahman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-23T10:55:59Z","updated_at":"2018-11-23T10:55:59Z","closed_at":null,"author_association":"NONE","body":"Hey there!\r\nI need to connect output of ConvLSTM2D to a LSTM!\r\nThe output of ConvLSTM2D is (samples, time, output_row, output_col, filters) when \"return_sequences\" is 'True'.\r\nI’m confused here how this 5-D input can be feed to a LSTM! As you know if I want to reshape, 'samples' and 'time' should not be changed and 'output_row' 'output_col' 'filters'  should be change to a vector(1-D).\r\nAm I right? How to do that?\r\nI will be thankful if any help!\r\n\r\n> > #creating our model\r\n> myInput = layers.Input(shape=(3,30,3,1))\r\n> conv1 = layers.TimeDistributed(layers.Conv2D(16, 3, activation='relu', padding='same', strides=2, data_format = 'channels_first'))(myInput)\r\n> BN1 = layers.TimeDistributed(layers.BatchNormalization())(conv1)\r\n> conv2 = layers.TimeDistributed(layers.Conv2D(16, 3, activation='relu', padding='same', strides=2, data_format = 'channels_first'))(BN1)\r\n> BN2 = layers.TimeDistributed(BatchNormalization())(conv2)\r\n> \r\n> convlstm1 = layers.ConvLSTM2D(filters=3, kernel_size=3, padding='same',data_format='channels_last', return_sequences=True)(BN2)\r\n> res1 = keras.layers.Add()([convlstm1, BN2])\r\n> \r\n> convlstm2 = layers.ConvLSTM2D(filters=3, kernel_size=3, padding='same', return_sequences=True)(res1)\r\n> res2 = keras.layers.Add()([convlstm2, res1])\r\n> \r\n> convlstm3 = layers.ConvLSTM2D(filters=3, kernel_size=3, padding='same', return_sequences=True)(res2)\r\n> res3 = keras.layers.Add()([convlstm3, res2])\r\n![capture](https://user-images.githubusercontent.com/45286655/48940085-affc9b80-ef2b-11e8-8660-6e94f4a6a496.PNG)\r\n\r\n"}}
{"actor":{"display_login":"korrahman"}}