diff --git a/examples/image_retraining/README.md b/examples/image_retraining/README.md index 14f54ddc..b25027e8 100644 --- a/examples/image_retraining/README.md +++ b/examples/image_retraining/README.md @@ -1,12 +1,12 @@ WARNING: This code is deprecated. The `retrain.py` tool from this directory has been replaced by the -[`make_image_classifier`](https://www.tensorflow.org/hub/tutorials/tf2_image_retraining) +[`make_image_classifier`](https://github.com/tensorflow/hub/tree/master/tensorflow_hub/tools/make_image_classifier) tool that gets [installed](https://www.tensorflow.org/hub/installation) as a command-line tool by the PIP package `tensorflow-hub[make_image_classifier]`. The new tool uses TensorFlow 2 and supports fine-tuning. The Colab notebook -[tf2_image_retraining.ipynb](https://colab.research.google.com/github/tensorflow/docs/blob/master/site/en/hub/tutorials/tf2_image_retraining.ipynb) +[tf2_image_retraining.ipynb](https://colab.research.google.com/github/tensorflow/hub/blob/master/examples/colab/tf2_image_retraining.ipynb) explains the basic technique behind that tool: transfer learning with TF Hub. diff --git a/tensorflow_hub/__init__.py b/tensorflow_hub/__init__.py index 13b02806..1bccbe29 100644 --- a/tensorflow_hub/__init__.py +++ b/tensorflow_hub/__init__.py @@ -129,25 +129,8 @@ def _ensure_keras_2_importable(): # objects (__all__ defines which symbols you get with # `from tensorflow_hub import *`). __all__ = [ - "LatestModuleExporter", - "register_module_for_export", - "image_embedding_column", - "sparse_text_embedding_column", - "text_embedding_column", - "text_embedding_column_v2", - "attach_image_module_info", - "get_expected_image_size", - "get_num_image_channels", - "ImageModuleInfo", "KerasLayer", - "Module", - "ModuleSpec", - "add_signature", - "attach_message", - "create_module_spec", - "create_module_spec_from_saved_model", "load", - "load_module_spec", "resolve", ]