Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unpooling in theano #3843

Closed
KlaymenGC opened this issue Jan 7, 2016 · 4 comments
Closed

Unpooling in theano #3843

KlaymenGC opened this issue Jan 7, 2016 · 4 comments

Comments

@KlaymenGC
Copy link

Hello,

I'm quite new to theano and Python and now I need some help on implementing a method of unpooling like in this paper: http://www.matthewzeiler.com/pubs/iccv2011/iccv2011.pdf
The main idea is, instead of simply repeating, this method saves the location of the pooled values, then inserts the pooled values in the appropriate locations in the unpooling maps, with the remaining
elements being set to zero.

Any thoughts will be greatly appreciated!

@TiRune
Copy link

TiRune commented Jan 7, 2016

Don't know if this is a Theano library issue, but Lasagne has an inverse layer. If you google around you can probably find a few implementations of unpooling layers with Theano :)

@KlaymenGC
Copy link
Author

@TiRune thank you for your reply, but so far I haven't found one of the method I've mentioned using Theano, I'm still trying to modify downsample.py

@TiRune
Copy link

TiRune commented Jan 7, 2016

You kinda just use the gradient for this right? Look here:
https://github.com/Lasagne/Lasagne/blob/770ff0855469a5a4a0e2b41cc5970282fc75bc9f/lasagne/layers/special.py
Think that InverseLayer is what you need? :)

@nouiz
Copy link
Member

nouiz commented Jan 7, 2016

There is a related issue here:

#2022

On Thu, Jan 7, 2016 at 5:56 AM, TiRune notifications@github.com wrote:

You kinda just use the gradient for this right? Look here:

https://github.com/Lasagne/Lasagne/blob/770ff0855469a5a4a0e2b41cc5970282fc75bc9f/lasagne/layers/special.py
Think that InverseLayer is what you need? :)


Reply to this email directly or view it on GitHub
#3843 (comment).

@lamblin lamblin closed this as completed Jun 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants