Feature

Shape (h, w, c)

Anchors num

Feature_stride

RPN_ANCHOR _SCALES

自定义 RPN_ANCHOR_SCALES

P2

256 * 256 * 256

256 * 256 * 3 = 196.608

4

32

16

P3

128 * 128 * 256

128 * 128 * 3 = 49.152

8

64

32

P4

64 * 64 * 256

64 * 64 * 3 = 12.288

16

128

64

P5

32 * 32 * 256

32 * 32 * 3 = 3072

32

256

128

P6

16 * 16 * 256

16 * 16 * 3 = 768

64

512

256

总计

261.888