Skip to content

Instantly share code, notes, and snippets.

@stramek

stramek/retrain Secret

Created February 15, 2018 10:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stramek/398892b157acf2929d6d5e4eb84bba45 to your computer and use it in GitHub Desktop.
Save stramek/398892b157acf2929d6d5e4eb84bba45 to your computer and use it in GitHub Desktop.
python tensorflow/examples/image_retraining/retrain.py
— image_dir ~/path/to/folder/of/images/
— learning_rate=0.0005
— testing_percentage=15
— validation_percentage=15
— train_batch_size=32
— validation_batch_size=-1
— flip_left_right True
— random_scale=10
— -random_brightness=10
— eval_step_interval=100
— how_many_training_steps=1000
— architecture mobilenet_0.25_128
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment