Registry / ai-ml / tf-models-nightly

tf-models-nightly

JSON →
library2.21.0.dev20260217pypypiunverified

Nightly builds of TensorFlow Official Models, a collection of state-of-the-art models implemented in TensorFlow. Current version 2.21.0.dev20260217, targeting TF 2.21 nightly. Released daily. Note that research/tutorial/sample models have been removed in recent versions.

pip install tf-models-nightly
INSTALL
IMPORT
SIG · TF-MODELS-NIGHTLY
T
tf-models-nightly
ai-mlpythonv2.21.0.dev20260217
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

OfficialModel
from official import vision
from official.models import ...
The 'official.models' module was removed; official models are now under subpackages like official.vision, official.nlp, etc.

Basic import and model instantiation.

import tensorflow as tf from official import vision # Example: build a ResNet-50 model try: model = vision.modeling.ResNet50() print(model.name) except Exception as e: print(f"Error: {e}")
Debug
Known issues
breakingResearch/tutorial/sample models have been removed from the repository starting from v2.16.0. Code relying on 'official.research' or 'official.tutorials' will break.
fix
Migrate to community-maintained forks or use legacy versions (v2.15.x or earlier).
affects: >=2.16.0
gotchaThe package 'tf-models-nightly' does not install 'tensorflow-text' automatically, but several NLP models require it. If you get an ImportError for TensorFlow Text, install a compatible version separately.
fix
Run 'pip install tf-models-nightly-text' or install 'tensorflow-text' manually matching your TensorFlow version.
affects: all
deprecatedThe old import 'from official.modeling import ...' is deprecated in favor of subpackage imports like 'from official.vision.modeling import ...'. Old imports may break in future releases.
fix
Update imports to use subpackages (e.g., official.vision, official.nlp).
affects: >=2.15.0
Upgrade
Version history
2.21.0.dev20260217latest on PyPI · released Feb 17, 2026
Audit
Dependencies
tensorflowrequiredTF Official Models require TensorFlow as runtime.
tensorflow-textoptionalRequired for NLP models; not installed automatically by tf-models-nightly (use tf-models-nightly-text for automatic install).
Agent activity
31 hits · last 30 days
node
26
OpenAI (training)
1
Resources