Skip to main content

Keras Pyramid Pooling Module

PackageVersion PythonVersion Stable Format License

A Keras implementation of the Pyramid Pooling Module discussed in Pyramid scene parsing network [1].

layer

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 PyramidPoolingModule.ipynb for a rough example of the layer outputs for a simple RGB image.

See CIFAR10Classifier.ipynb for an example of using the layer in a model to classify images.

References

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

Release files for keras-pyramid-pooling-module 1.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for keras-pyramid-pooling-module 1.1.8
File Size Uploaded
keras_pyramid_pooling_module-1.1.8.tar.gz 5.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for keras-pyramid-pooling-module 1.1.8
File Interpreter ABI Platform
keras_pyramid_pooling_module-1.1.8-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 11.7 kB

Release files / keras_pyramid_pooling_module-1.1.8.tar.gz

Download URL keras_pyramid_pooling_module-1.1.8.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7abc684e39d7ef5de87b8f36481600378b0787ba43b0dfc64ef70349c6689b0f
BLAKE2b-256 checksum
How to use checksums
fc10f3336d67bf1218c80b7bce10c1090dadfa9df50e7cb3b1f3c4b4e28de526
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.5

Release files / keras_pyramid_pooling_module-1.1.8-py2.py3-none-any.whl

Download URL keras_pyramid_pooling_module-1.1.8-py2.py3-none-any.whl
Size 6.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
26f5d9d86e110e43c9b0b6195ca432715dd87f6729647bd54e6a3d5d03a24eda
BLAKE2b-256 checksum
How to use checksums
2db315fdb5d2d695678a1a06a3b77e8d70bc13b7765751207f4e384f73a3347b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.5

Release history Release notifications | RSS feed

This release

1.1.8 This release

2 release files

1.1.7

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page