IMAGE_SIZE=224
ARCHITECTURE="mobilenet_0.50_${IMAGE_SIZE}"
source mytensforflowdirectory/bin/activate
tensorboard --logdir tf_files/training_summaries &
python -m scripts.retrain --image_dir ./training_data/ --how_many_training_steps 500 --model_dir=./tf_files/models --architecture="${ARCHITECTURE}" --output_graph=tf_files/retrained_graph.pb --output_labels=tf_files/retrained_labels.txt
python -m scripts.label_image --graph=tf_files/retrained_graph.pb --image=testing_data/fairway8.jpg
Had to use converseen to convert png to jpg
- scikit-learn
- matconvnet
- matlab python hooks