-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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://github.com/tensorflow/hub/tree/master/tensorflow_hub/tools/make_image_classifier) | ||
[`make_image_classifier`](https://www.tensorflow.org/hub/tutorials/tf2_image_retraining) | ||
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/hub/blob/master/examples/colab/tf2_image_retraining.ipynb) | ||
[tf2_image_retraining.ipynb](https://colab.research.google.com/github/tensorflow/docs/blob/master/site/en/hub/tutorials/tf2_image_retraining.ipynb) | ||
explains the basic technique behind that tool: transfer learning with TF Hub. |