- A jupyter notebook p1_image_classifier.ipynb containing the code to train a model on the oxford_flowers102 dataset
- And a python script in the folder p2_image_classifier which can be run in the terminal with input arguments:
- Location of the image of a flower which needs to be predicted
- Location of model being used (in this project's case you can use my trained model from p1_image_classifier.ipynb which I have named model1.h5 and added in the same folder)
- Optional Argument 1:The top k classes which were predicted (default value = 1)
- Optional Argument 2:Location of the JSON file containg class names(flower names) against their indices an example of the input to be used in the terminal: python predict.py ./test_images/orange_dahlia.jpg ./model1.h5 --top_k 5 --category_names label_map.json