Files
WeHub Mirror 16d3f15320
ARM CI / build (3.10) (push) Has been cancelled
cffconvert / validate (push) Has been cancelled
Creates a GitHub Issue when a PR Rolled back via Commit to Master / create-issue-on-pr-rollback (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
WeHub snapshot of ee606724a5c2f63bf60704cb3e1b169618993fd9
2026-08-07 16:11:07 +08:00
..

NOTE: This code has moved to https://github.com/tensorflow/hub/tree/master/examples/image_retraining

retrain.py is an example script that shows how one can adapt a pretrained network for other classification problems (including use with TFLite and quantization).

As of TensorFlow 1.7, it is recommended to use a pretrained network from TensorFlow Hub, using the new version of this example found in the location above, as explained in TensorFlow's revised image retraining tutorial.

Older versions of this example (using frozen GraphDefs instead of TensorFlow Hub modules) are available in the release branches of TensorFlow versions up to and including 1.7.