keras 中的空间金字塔池化层
Spatial pyramid pooling layers for keras, based on https://arxiv.org/abs/1406.4729 . This code requires Keras version 2.0 or greater.
(Image credit: Spatial Pyramid Pooling in Deep Convolutional Networks for Visual Recognition, K. He, X. Zhang, S. Ren, J. Sun)
Three types of pooling layers are currently available:
For example, this trains a network on images of both 32x32 and 64x64 size:
……RoiPoolingConv: like RoiPooling, but maintains spatial information.
Thank you to @jlhbaseball15 for his contribution
暂无开放 Issues,或尚未同步最近议题。