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)

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.2.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

keras_pyramid_pooling_module-1.1.2-py2.py3-none-any.whl (5.5 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: keras_pyramid_pooling_module-1.1.2.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/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.15

File hashes

Hashes for keras_pyramid_pooling_module-1.1.2.tar.gz
Algorithm Hash digest
SHA256 429c9f5eb6d007f3c08ecfbe5d215cf8743d5b735a8386eb58f4b374dbc24b5d
MD5 dda94c17d8172eea9a47b96e48bf32b1
BLAKE2b-256 58710d8f53aabed1eb418d18d4863fec6f8517c7a1c9685c37071a7b8f9fc708

See more details on using hashes here.

File details

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

File metadata

  • Download URL: keras_pyramid_pooling_module-1.1.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.5 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/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.15

File hashes

Hashes for keras_pyramid_pooling_module-1.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 640184d3d6a09531476fec198101df960d6d3a24ae7743b62a38d055e4e7a386
MD5 9eb8ca0dcfa8d327835bd4b45ade2a93
BLAKE2b-256 f0f772baaa6dc121c7ece6d55c9de51343dfad4a899e049a5ee851ad23fe2017

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