5,321
edits
Line 135: | Line 135: | ||
==Pooling== | ==Pooling== | ||
[[File:unpooling_deeppainter_2016.png|thumb|500px|Max unpooling in [https://arxiv.org/abs/1711.08763 DeepPainter]]] | |||
Pooling is one method of reducing and increasing the resolution of your feature maps. | Pooling is one method of reducing and increasing the resolution of your feature maps. | ||
You can also use bilinear upsampling or downsampling. | You can also use bilinear upsampling or downsampling. | ||
Line 145: | Line 148: | ||
===Unpooling=== | ===Unpooling=== | ||
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. |