Skip to main content

Keras MixNets: Mixed Depthwise Convolutional Kernels

Keras Implementation of MixNets from the paper MixNets: : Mixed Depthwise Convolution Kernels.

Code ported from the official codebase https://github.com/tensorflow/tpu/blob/master/models/official/mnasnet/mixnet

Mixed Depthwise Convolutional Kernel

From the above paper, a Mixed Convolution is a group of convolutions with varying filter sizes. The paper suggests that [3x3, 5x5, 7x7] can be used safely without any loss in performance (and possible increase in performance), while a 9x9 or 11x11 may degrade performance if used without proper architecture search.

Usage

Due to the use of Model Subclassing, the keras model built *cannot be deserialized using load_model. You must build the model each time. tf.keras supports writing Layers which have additional Layers within them, but as Keras itself does not support it yet, these models cannot be deserialized using load_model.

from keras_mixnets import MixNetSmall  # Medium and Large can also be used

model = MixNetSmall((224, 224, 3), include_top=True)

Weights

Weights for these models have not been ported yet from Tensorflow.

Requirements

  • Tensorflow 1.14+ (Not 2.x)
  • Keras 2.2.4+

Metadata

Release files for keras-mixnets 0.1.0

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

Built distribution (wheel)

Table of built distributions (wheels) for keras-mixnets 0.1.0
File Interpreter ABI Platform
keras_mixnets-0.1.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Release files / keras_mixnets-0.1.0-py2.py3-none-any.whl

Download URL keras_mixnets-0.1.0-py2.py3-none-any.whl
Size 14.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
9b67bd31a56a4a8b95da151f1e2791dc07ebc801231eb63fe3f4c6b95e8d3518
BLAKE2b-256 checksum
How to use checksums
51e4d653aad41c7b10cdeb0dd762d584cc8b5cdacbe71f4796e060661eac6518
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.3.2 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.2

Security for keras-mixnets 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file No provenance

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