Skip to main content

The Pyramid Pooling Module for Keras.

Project description

Keras Pyramid Pooling Module

Build Status PackageVersion PythonVersion Stable Format License

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)

see example.ipynb for a rough example of the layer in use on a simple image input.

References

[1] H. Zhao, J. Shi, X. Qi, X. Wang, and J. Jia. Pyramid scene parsing network. CVPR, 2017.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

keras_pyramid_pooling_module-1.1.5.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

keras_pyramid_pooling_module-1.1.5-py2.py3-none-any.whl (6.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file keras_pyramid_pooling_module-1.1.5.tar.gz.

File metadata

  • Download URL: keras_pyramid_pooling_module-1.1.5.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/38.4.0 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.5.2

File hashes

Hashes for keras_pyramid_pooling_module-1.1.5.tar.gz
Algorithm Hash digest
SHA256 4e36648f7cde7cc60673be6f9fbd8e44c6a1643bac60d1ca209a69cee2b48ade
MD5 cefa2668e6c7b527c4bd2a06c0d9fa4b
BLAKE2b-256 543badddb900cbd987a993040118e2f3453b390bf74610c608281fca13125d38

See more details on using hashes here.

File details

Details for the file keras_pyramid_pooling_module-1.1.5-py2.py3-none-any.whl.

File metadata

  • Download URL: keras_pyramid_pooling_module-1.1.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/38.4.0 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.5.2

File hashes

Hashes for keras_pyramid_pooling_module-1.1.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2889373d459e6c87feb3bc4f89f6ac69c1a0670938ba06eb937d837419e735a1
MD5 502e4bdb46bfe9c34469f4d75e46a227
BLAKE2b-256 d671dba2983a79665fc9dea622c8223c9be4ffcffe4143808b2bfc35408f3a78

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page