Five Stages Down

Convolutional ArchitecturesMedium+20 XP+20

Five Stages Down

A VGG-style backbone is built from five stages. Each stage is

  • a few 3×33 \times 33×3 convolutions with "same" padding, so the grid size is unchanged, then
  • one 2×22 \times 22×2 max-pool with stride 2.

The input is a 256×256×3256 \times 256 \times 3256×256×3 photograph. Stage 1 uses 32 filters, and the filter count doubles at every following stage — but it is capped at 256. Any stage that would go past 256 filters uses 256 instead.

After stage 5, how many numbers does the feature block contain?

Give the exact whole number (height ×\times× width ×\times× depth).

64

Every block is the same shape: a few 3×3 convs, then a pool. Filters double each time the grid halves. Purple is conv, amber is pool.

Hints

Solve it to unlock the solution

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