liveBook · Manning

RoI pooling

RoI pooling converts variable-sized regions of interest into fixed-size representations for uniform processing by subsequent neural-network layers.

How 2 Manning books explain it

Math and Architectures of Deep Learning

A pooling operation that converts variable-sized proposed regions into a fixed-size representation for downstream detection layers.

How it is used
Extracts shared convolutional features for region proposals before object classification and bounding-box regression.
How deep it goes
Explains coordinate mapping from image regions to feature maps and illustrates fixed-size max-pooled outputs.
Examples
Uses a 256 × 256 RoI mapped through a factor-16 backbone and a 2 × 2 pooled-output diagram.
What you can do after
Apply it via torchvision.ops.roi_pool in a Fast R-CNN RoI head for classification and localization.

Read how Math and Architectures of Deep Learning explains RoI pooling →

Inside Deep Learning: Math, Algorithms, Models

A pooling procedure that extracts fixed-size representations from variable-sized proposed regions so later layers can process them uniformly.

How it is used
Processes proposed feature-map regions uniformly before object classification in Faster R-CNN.
How deep it goes
Explains the pipeline and PyTorch layers, but stops short of implementing Faster R-CNN from scratch.
Examples
Uses stop-sign detection and a 7×7 AdaptiveMaxPool2d classification head.
What you can do after
Apply it via PyTorch using AdaptiveMaxPool2d, flattening, and fully connected prediction layers.

Read how Inside Deep Learning: Math, Algorithms, Models explains RoI pooling →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.