WARNING: This code is deprecated.
retrain.py tool from this directory has been replaced by the
tool that gets
installed as a command-line tool
by the PIP package
The new tool uses TensorFlow 2 and supports fine-tuning.
The Colab notebook tf2_image_retraining.ipynb explains the basic technique behind that tool: transfer learning with TF Hub.