efficientnet
EfficientNet model re-implementation. Keras and TensorFlow Keras.
What it is and what it does
EfficientNet is a family of convolutional neural network architectures (B0 through B7) designed to achieve high ImageNet accuracy with significantly fewer parameters and computational cost than competing models. This package provides Keras and TensorFlow Keras implementations with pre-trained weights, allowing you to load a model and use it immediately for image classification, transfer learning, or as a backbone for custom tasks.
The package depends on keras-applications for model utilities and scikit-image for image processing. It supports both standalone Keras and TensorFlow's integrated Keras API. Models can be initialized with ImageNet weights or noisy-student weights; the description notes a major update on 24 July 2019 that unified support across both frameworks, though models trained before that date require version 0.0.4.
Use it for:
- Load a pre-trained EfficientNet model for immediate image classification on new images without retraining.
- Use EfficientNet as a feature extractor backbone for transfer learning on custom image datasets.
- Compare model variants (B0–B7) to balance accuracy and inference speed for deployment constraints.
- Fine-tune a pre-trained EfficientNet on domain-specific images with limited labeled data.
- Benchmark model efficiency: parameter count and FLOPS against other architectures like ResNet.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Keras and TensorFlow Keras implementations of EfficientNet, a family of lightweight convolutional neural networks (B0–B7) with pre-trained ImageNet weights for transfer learning and inference.
Yes, if you need a pre-trained EfficientNet for Keras/TensorFlow and are working with compatible framework versions. The low install friction and permissive license make it straightforward to add. However, the package is dormant (last release September 2020, last commit January 2024), so verify compatibility with your current Keras/TensorFlow versions before committing to production use. For active maintenance and broader framework support, consider alternatives that are actively maintained.
Install
efficientnet on PyPI
pip
pip install efficientnetuv
uv add efficientnetpoetry
poetry add efficientnetInstalling efficientnet
Before you install
Low install friction with only two runtime dependencies (keras-applications and scikit-image). However, the package is dormant—last release was 2020-09-15 and last commit 2024-01-24—so it may not receive updates for newer Keras or TensorFlow versions.
License in practice
Licensed under Apache License 2.0 (permissive), allowing commercial use, modification, and distribution with minimal restrictions.
Quickstart
pip install efficientnet
import efficientnet.keras as efn
model = efn.EfficientNetB0(weights='imagenet')
Requires Keras >= 2.2.0 or TensorFlow >= 1.12.0 to be installed separately; the package itself does not declare these as direct dependencies.
Verify before relying
- Whether the package works with current TensorFlow/Keras versions (last release 2020-09-15, last commit 2024-01-24).
- Whether pre-trained weights are still accessible and up-to-date.
- Compatibility with modern Python versions beyond what 'supports_current' indicates.
Package facts
| License | Apache License 2.0 (permissive) |
| Python support | supports the current Python release (>=3.0.0) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — keras-applications, scikit-image |
| Maintenance | dormant — 2,159 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 138,661/month — #11,322 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: efficientnet-1.1.1-py3-none-any.whl
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
efficientnet-pytorchLoads and runs pretrained EfficientNet image…
permissive · top 15,000 on PyPI
Keras-ApplicationsProvides pre-trained deep learning model…
permissive · top 5,000 on PyPI
tf-keras-nightlyTF-Keras is a pure-TensorFlow implementation of…
permissive · top 5,000 on PyPI
tf-kerasTF-Keras is the pure-TensorFlow implementation…
permissive · top 5,000 on PyPI
keras-hubKerasHub provides Keras 3 implementations of…
permissive · top 15,000 on PyPI
kerasKeras 3 is a multi-backend deep learning…
permissive · top 5,000 on PyPI
pretrainedmodelsProvides a unified interface to load pretrained…
permissive · top 15,000 on PyPI
keras-nightlyA multi-backend deep learning framework that…
permissive · top 15,000 on PyPI
keras-nlpKeras-NLP provides pretrained models and…
permissive · top 15,000 on PyPI
tensorflow-model-optimizationProvides quantization, pruning, and clustering…
permissive · top 15,000 on PyPI