Jump to content

Convolutional neural network: Difference between revisions

Line 45: Line 45:
==Pooling==
==Pooling==
===Unpooling===
===Unpooling===
[[File:unpooling_deeppainter_2016.png|thumb|500px|Max unpooling in Deeppainter]]
[[File:unpooling_deeppainter_2016.png|thumb|500px|Max unpooling in [https://arxiv.org/abs/1711.08763 DeepPainter]]]


During max pooling, remember the indices where you pulled from in "switch variables".<br>
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.
Then when unpooling, save the max value into those indices. Other indices get values of 0.