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.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | acdb60b252bd4dccc8ceb71a65ee4c5241ea60f20cc0a3e630104ea7c50b4989 |
|
MD5 | 073f13ca362414a38144d05d9a707051 |
|
BLAKE2b-256 | 6f7a6ca1b28ce9c87499a9ba8df616bf45c72527bf5c8ad6f419f453902f13a3 |
Close
Hashes for keras_pyramid_pooling_module-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f3dfd55fe8b5e9075491bee03d961a20597410741b6c6e37ec7c353018768c2 |
|
MD5 | 4f110f28062f2a029bbcf0330c829a71 |
|
BLAKE2b-256 | 3c102b635727cbabf88d043df90508c022b43514e3627c77d364ab9ceb407d8f |