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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd294e50975d26968c91d7c3024ebd6e8139e4c61f5c2590e964f3b6e1dc9ca9 |
|
MD5 | aba4877ea66596652b323637ea137523 |
|
BLAKE2b-256 | eada380c4c7a591095f707426c084e6e4f33128fa32a8a57d71aaf8837e0e430 |
Close
Hashes for keras_pyramid_pooling_module-1.1.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7da80977a89029a12c64a4117ec98aa78c73465a0c31f702dfb5b60981bb6a1 |
|
MD5 | 8d44243d1ab1a46b7090233eb8ab632f |
|
BLAKE2b-256 | 0b507a46c8e39fd4acb7904d4eb968420e53face5c69ccf5b7d74c2b4ab49f3d |