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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 203ba53ee3f3f468b0a4ef03ca0f08dc8d225c99671b260ec3ef086de6c994be |
|
MD5 | af5cd4d19c16dc1d64db982363406580 |
|
BLAKE2b-256 | 27d5050e8c2e4c2059c1bb8872052cbd2f0816772ace7cac9f8b62a9b61aa4fa |
Close
Hashes for keras_pyramid_pooling_module-1.1.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15149b730446fae520e459d6804faffba9c5a7f42dd308740813e79ea2278d29 |
|
MD5 | b3a0fa529faf31d6d507e15b095a1511 |
|
BLAKE2b-256 | 9a818799cf0b83785f2f1c54fe138603e506b879b094c3f3a7ff330eca620405 |