The Pyramid Pooling Module for Keras.
Project description
Keras Pyramid Pooling Module
A Keras implementation of the Pyramid Pooling Module discussed in Pyramid scene parsing network [1].
Installation
The preferred installation of keras-pyramid-pooling-module
is from pip
:
pip install keras-pyramid-pooling-module
Usage
The module functions as any other convolutional / pooling layer applied to a rank 4 tensor (batch, height, width, channels):
from keras.layers import Input
from keras.models import Model
from keras_pyramid_pooling_module import PyramidPoolingModule
input_ = Input((224, 224, 3))
x = PyramidPoolingModule()(input_)
model = Model(inputs=input_, outputs=x)
References
[1] H. Zhao, J. Shi, X. Qi, X. Wang, and J. Jia. Pyramid scene parsing network. CVPR, 2017.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for keras_pyramid_pooling_module-1.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55a17eeeb181c2bb34aa42cc065a6c350adb694fa881cf78c6e50049bb3d3899 |
|
MD5 | 4543993f2a8d04693eeebb972cfbf2a6 |
|
BLAKE2b-256 | b28ff01ec1df2c0b27bf627cc6f2854cad8ec0db0961a779235cca710cf121b7 |
Close
Hashes for keras_pyramid_pooling_module-1.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bec23522be15be7e7d832f3b58a5e43098f1d95c646268633c23e257ea5a6e7 |
|
MD5 | 090eabc25399fa0e709ad7e3a851ebe0 |
|
BLAKE2b-256 | c2d2305ccd42bbff29558327de7d58a39de2092ece249973330ea8ced7190810 |