- Enforce Python 3.5+ and TF1.15+.
- Add ModelLoadFormat setting to switch between (un)compressed model loading.
- Support for RaggedTensor inputs/outputs is backported from TF2 SavedModels to the deprecated hub.Module class (Use of tf.compat.v1.ragged.placeholder() in a module_fn is broken for TF2.3 and requires TF2.2 or TF2.4).
- Bug fixes.
- Add SavedModel.LoadOptions to hub.KerasLayer API to pass to load_v2.
- Improved error messaging.
- Documentation improvements.
- Bug fixes.
- Implemented make_nearest_neighbour_index tool.
- Added text FeatureColumn, hub.text_embedding_column_v2, for TF 2.x.
- CORD-19 embedding colab.
- Documentation improvements.
- Bug fixes.
- Added support for HubModule v1 in KerasLayer with default tags/signatures.
- Added support for the KerasLayer to specify tags, signature, as_dict, and output_key arguments.
- Miscellaneous fixes to
hub.KerasLayer
- Documentation update for TensorFlow 2.
- Use
hub.load()
andhub.KerasLayer
with TF2 (also works in 1.15). - For TF1,
hub.Module
and it's associated APIs remain available.
- Use
- Added two examples for exporting of Hub/TF2 modules.
- Switched to
dense_features_v2
if a high enough TF version is installed. - Added
tools/make_image_classifier
for use with TF2.
- Fixes in
hub.KerasLayer
related with regularizers, config serialization and usage withtf.estimator
. - Updates to feature columns to be compatible with feature columns V2 apis and
add
hub.sparse_text_embedding_column
for bag of words features. - Made
hub.Module
usable withintf.compat.v1.wrap_function
.
hub.KerasLayer
(for Hub/TF2 modules) can be used in graph mode and can be converted to/from a Keras config.- In TF1.x,
hub.Module
can be used inside a defun (helps with TPU). - References to TensorFlow Estimator correctly pick up its v1 API.
- Initial support for Tensorflow 2.0
- Tensorflow Hub Library API for Tensorflow 2.0
- Tensorflow Hub Keras API for Tensorflow 2.0
- Enable using Tensorflow Hub library against Tensorflow 2.0 run-time.
- Add support for caching modules on GCS.
- Add
ModuleSpec.export(export_path, checkpoint_path)
helper for module creation from a separately trained checkpoint. - Modules now have a key-value store of attached protocol messages for domain- or library-specific auxiliary data.
- Image modules can have input shapes with variable height and width;
hub.get_expected_image_size()
comes from an attached ImageModuleInfo message. - Add
with hub.eval_function_for_module("...") as f: out = f(in)
. - New experimental function
hub.create_module_spec_from_saved_model()
. - Added property
hub.Module.variables
. - Bazel workspace dependency on protobuf library updated to version 3.6.0.
- Added progress bar for module downloads when interactive.
- Numerous minor fixes and updates from the master branch.
- Removed TensorFlow version checking.
- Initial TensorFlow Hub release.
- tf-nightly>=1.7.0.dev20180308 || tensorflow>=1.7.0rc0