{"action":"closed","issue":{"url":"https://api.github.com/repos/fchollet/keras/issues/2816","repository_url":"https://api.github.com/repos/fchollet/keras","labels_url":"https://api.github.com/repos/fchollet/keras/issues/2816/labels{/name}","comments_url":"https://api.github.com/repos/fchollet/keras/issues/2816/comments","events_url":"https://api.github.com/repos/fchollet/keras/issues/2816/events","html_url":"https://github.com/fchollet/keras/issues/2816","id":156872258,"number":2816,"title":"How to use a custom pooling function for a model?","user":{"login":"matthewmok","id":10650116,"avatar_url":"https://avatars.githubusercontent.com/u/10650116?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewmok","html_url":"https://github.com/matthewmok","followers_url":"https://api.github.com/users/matthewmok/followers","following_url":"https://api.github.com/users/matthewmok/following{/other_user}","gists_url":"https://api.github.com/users/matthewmok/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewmok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewmok/subscriptions","organizations_url":"https://api.github.com/users/matthewmok/orgs","repos_url":"https://api.github.com/users/matthewmok/repos","events_url":"https://api.github.com/users/matthewmok/events{/privacy}","received_events_url":"https://api.github.com/users/matthewmok/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-05-25T23:26:15Z","updated_at":"2016-05-31T19:50:07Z","closed_at":"2016-05-31T19:50:07Z","body":"I am new to Keras and trying to implement a convolution neural network for predicting handwritten digits in the MNIST dataset using the theano backend. \r\n\r\nI tried with having a MaxPooling2D layer in my model and it gives a good result. I am planning to try on a pooling method that will give the max value and the min value on the feature map (essentially doing two poolings on the feature map). I realized that Keras uses pool2d function from theano and they don't have a implementation of a min pooling.\r\n\r\nI am wondering is there any way to implement a custom pooling layer in Keras just like using a custom objective function? \r\n\r\nThanks!"}}
{"actor":{"display_login":"matthewmok"}}