Every Position, at Every Size

Using Vision ModelsMedium+20 XP+20

Every Position, at Every Size

The first idea anyone has for detection is the obvious one: slide a box over the image and classify every crop it lands on.

You are doing exactly that on one 256×256256 \times 256256×256 image.

settingvalue
window sizes32×3232 \times 3232×32, 64×6464 \times 6464×64, 128×128128 \times 128128×128
stride888 pixels, across and down
first stopflush against the top-left corner
rulea window may never hang over an edge — every stop must lie entirely inside the image

Every stop of every window, at every size, is one run of the classifier.

A two-stage detector works on the same image differently: it proposes 300 candidate regions and classifies only those.

How many times as many classifier runs does the sliding window need as the two-stage detector?

Round your answer to 2 decimal places.

stride
2
stops
9
output
3×3

Stride 2 jumps two pixels, so there are far fewer stops and less overlap.

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.