Skip to content

774663576/tf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

retrain.py is an example script that shows how one can adapt a pretrained network for other classification problems. A detailed overview of this script can be found at: https://codelabs.developers.google.com/codelabs/tensorflow-for-poets/#0

The script also shows how one can train layers with quantized weights and activations instead of taking a pre-trained floating point model and then quantizing weights and activations. The output graphdef produced by this script is compatible with the TensorFlow Lite Optimizing Converter and can be converted to TFLite format.

retrain.py --bottleneck_dir bottleneck --how_many_training_steps 200 --model_dir model/ --output_graph output_graph.pb --output_labels output_labels.txt --image_dir flower_photos

About

基于深度学习的人物识别

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published