File tree Expand file tree Collapse file tree 2 files changed +2
-19
lines changed
examples/image_retraining Expand file tree Collapse file tree 2 files changed +2
-19
lines changed Original file line number Diff line number Diff line change 11WARNING: This code is deprecated.
22
33The ` retrain.py ` tool from this directory has been replaced by the
4- [ ` make_image_classifier ` ] ( https://www. tensorflow.org /hub/tutorials/tf2_image_retraining )
4+ [ ` make_image_classifier ` ] ( https://github.com/ tensorflow/hub/tree/master/tensorflow_hub/tools/make_image_classifier )
55tool that gets
66[ installed] ( https://www.tensorflow.org/hub/installation ) as a command-line tool
77by the PIP package ` tensorflow-hub[make_image_classifier] ` .
88The new tool uses TensorFlow 2 and supports fine-tuning.
99
1010The Colab notebook
11- [ tf2_image_retraining.ipynb] ( https://colab.research.google.com/github/tensorflow/docs /blob/master/site/en/hub/tutorials /tf2_image_retraining.ipynb )
11+ [ tf2_image_retraining.ipynb] ( https://colab.research.google.com/github/tensorflow/hub /blob/master/examples/colab /tf2_image_retraining.ipynb )
1212explains the basic technique behind that tool: transfer learning with TF Hub.
Original file line number Diff line number Diff line change @@ -129,25 +129,8 @@ def _ensure_keras_2_importable():
129129# objects (__all__ defines which symbols you get with
130130# `from tensorflow_hub import *`).
131131__all__ = [
132- "LatestModuleExporter" ,
133- "register_module_for_export" ,
134- "image_embedding_column" ,
135- "sparse_text_embedding_column" ,
136- "text_embedding_column" ,
137- "text_embedding_column_v2" ,
138- "attach_image_module_info" ,
139- "get_expected_image_size" ,
140- "get_num_image_channels" ,
141- "ImageModuleInfo" ,
142132 "KerasLayer" ,
143- "Module" ,
144- "ModuleSpec" ,
145- "add_signature" ,
146- "attach_message" ,
147- "create_module_spec" ,
148- "create_module_spec_from_saved_model" ,
149133 "load" ,
150- "load_module_spec" ,
151134 "resolve" ,
152135]
153136
You can’t perform that action at this time.
0 commit comments