A sample for tensorflow retraining
This is an example on how to use pre-existing TensorFlow models to retrain on your data. In this example, we use Inception which is an image classifier. You can train it on the existing images of different noodles type and then use images in the test directory to get the predictions.
categories
directory. The name of the directories will be the classificationspython retrain.py \
--bottleneck_dir=bottlenecks \
--how_many_training_steps=500 \
--model_dir=inception \
--summaries_dir=training_summaries/basic \
--output_graph=retrained_graph.pb \
--output_labels=retrained_labels.txt \
--image_dir=categories
python label_image.py <insert_file_path_to_predict_here>
See the model and progress in TensorBoard
tensorboard --logdir training_summaries