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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38ac35be1862cb78f9da106e409a0cf2bd1bfb118d4a5c972bb6b8459ffcfd59 |
|
MD5 | 198d4fde2c1cd7eb1b2f6e7d169e59ed |
|
BLAKE2b-256 | 7c44835563356b4abd354f141048320801e703539325344c83697b48e6f6df71 |
Close
Hashes for keras_pyramid_pooling_module-1.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 257dd1d016eb00b88bd39105b09e995606e870cd434207267e86b63f3e8949dc |
|
MD5 | d706d6412e3f92d544f32f74ea5d42ee |
|
BLAKE2b-256 | a499827c77b07296bd05b69e83b6699bacfcd68450a9547576b31cd0f19a95f9 |