{"action":"created","issue":{"url":"https://api.github.com/repos/fchollet/keras/issues/1975","repository_url":"https://api.github.com/repos/fchollet/keras","labels_url":"https://api.github.com/repos/fchollet/keras/issues/1975/labels{/name}","comments_url":"https://api.github.com/repos/fchollet/keras/issues/1975/comments","events_url":"https://api.github.com/repos/fchollet/keras/issues/1975/events","html_url":"https://github.com/fchollet/keras/issues/1975","id":140968322,"number":1975,"title":"How to build a parallel CNN using the same MLP in top with keras?","user":{"login":"giovanniluccasilva","id":16227868,"avatar_url":"https://avatars.githubusercontent.com/u/16227868?v=3","gravatar_id":"","url":"https://api.github.com/users/giovanniluccasilva","html_url":"https://github.com/giovanniluccasilva","followers_url":"https://api.github.com/users/giovanniluccasilva/followers","following_url":"https://api.github.com/users/giovanniluccasilva/following{/other_user}","gists_url":"https://api.github.com/users/giovanniluccasilva/gists{/gist_id}","starred_url":"https://api.github.com/users/giovanniluccasilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giovanniluccasilva/subscriptions","organizations_url":"https://api.github.com/users/giovanniluccasilva/orgs","repos_url":"https://api.github.com/users/giovanniluccasilva/repos","events_url":"https://api.github.com/users/giovanniluccasilva/events{/privacy}","received_events_url":"https://api.github.com/users/giovanniluccasilva/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-15T13:13:41Z","updated_at":"2016-03-15T13:15:34Z","closed_at":null,"body":"Somethings like this:\r\n\r\nmodel = Sequential()\r\n\r\nmodel.add(Convolution2D(nb_filters1, nb_conv, nb_conv, border_mode='valid', input_shape=(1, img_rows, img_cols)))\r\nmodel.add(Activation('relu'))\r\nmodel.add(MaxPooling2D(pool_size=(nb_pool, nb_pool)))\r\nmodel.add(Convolution2D(nb_filters2, nb_conv, nb_conv))\r\nmodel.add(Activation('relu'))\r\nmodel.add(MaxPooling2D(pool_size=(nb_pool, nb_pool)))\r\nmodel.add(Dropout(0.25))\r\n\r\nmodel2 = Sequential()\r\n\r\nmodel2.add(Convolution2D(nb_filters1, nb_conv, nb_conv, border_mode='valid', input_shape=(1, img_rows, img_cols)))\r\nmodel2.add(Activation('relu'))\r\nmodel2.add(MaxPooling2D(pool_size=(nb_pool, nb_pool)))\r\nmodel2.add(Convolution2D(nb_filters2, nb_conv, nb_conv))\r\nmodel2.add(Activation('relu'))\r\nmodel2.add(MaxPooling2D(pool_size=(nb_pool, nb_pool)))\r\nmodel2.add(Dropout(0.25))\r\n\r\nmodel/model2.add(Flatten())\r\nmodel/model2.add(Dense(512))\r\nmodel/model2.add(Activation('softmax'))\r\n\r\n\r\nAnybody can help me?"},"comment":{"url":"https://api.github.com/repos/fchollet/keras/issues/comments/196812184","html_url":"https://github.com/fchollet/keras/issues/1975#issuecomment-196812184","issue_url":"https://api.github.com/repos/fchollet/keras/issues/1975","id":196812184,"user":{"login":"giovanniluccasilva","id":16227868,"avatar_url":"https://avatars.githubusercontent.com/u/16227868?v=3","gravatar_id":"","url":"https://api.github.com/users/giovanniluccasilva","html_url":"https://github.com/giovanniluccasilva","followers_url":"https://api.github.com/users/giovanniluccasilva/followers","following_url":"https://api.github.com/users/giovanniluccasilva/following{/other_user}","gists_url":"https://api.github.com/users/giovanniluccasilva/gists{/gist_id}","starred_url":"https://api.github.com/users/giovanniluccasilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giovanniluccasilva/subscriptions","organizations_url":"https://api.github.com/users/giovanniluccasilva/orgs","repos_url":"https://api.github.com/users/giovanniluccasilva/repos","events_url":"https://api.github.com/users/giovanniluccasilva/events{/privacy}","received_events_url":"https://api.github.com/users/giovanniluccasilva/received_events","type":"User","site_admin":false},"created_at":"2016-03-15T13:15:34Z","updated_at":"2016-03-15T13:15:34Z","body":"Please make sure that the boxes below are checked before you submit your issue. Thank you!\r\n\r\n[+] Check that you are up-to-date with the master branch of Keras. You can update with:\r\npip install git+git://github.com/fchollet/keras.git --upgrade --no-deps\r\n\r\n[+] If running on Theano, check that you are up-to-date with the master branch of Theano. You can update with:\r\npip install git+git://github.com/Theano/Theano.git --upgrade --no-deps\r\n\r\n[?] Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short). --> My model is pretty simple and the question is about general possibility of pretraining Embedding layer :)"}}