Jump to content

Convolutional neural network: Difference between revisions

no edit summary
No edit summary
Line 42: Line 42:
Given an image, we have two convolution layers <math>k_{feature}</math> and <math>k_{gate}</math>.<br>
Given an image, we have two convolution layers <math>k_{feature}</math> and <math>k_{gate}</math>.<br>
The output is <math>O = \phi(k_{feature}(I)) \odot \sigma(k_{gate}(I))</math>
The output is <math>O = \phi(k_{feature}(I)) \odot \sigma(k_{gate}(I))</math>
==Pooling==
===Unpooling===
During max pooling, remember the indices where you pulled from in "switch variables".<br>
Then when unpooling, save the max value into those indices. Other indices get values of 0.
[[File:unpooling_deeppainter_2016.png]]