Suppose there was a need to automatically classify items as organic waste or recyclable, how could could this be done? One way is to capture an image of the items and classify them for downstream sorting. The notebook within this repo demonstrates how to fine-tune an existing image classifying model using transfer learning. Here, the pre-trained VGG16 Convolution Neural Network (CNN) model from the Keras library is fine-tuned as an example of how to quickly develop such a model.
Within the notebook is a full walkthrough showing how data was loaded, the model building process, training, and performance validation. Additionally, there are visualizations included to assess the dataset, overall model performance, and prediction accuracies.
Below is an example of the images used for training and validation (500 for each class, 1,000 total), and final testing (100 for each class, 200 total).


The model was able to achieve 80% accuracy on the test set, with similarly high and training/validation accuracies and loss, respectively.


