The model
I used ResNet50 pretrained on ImageNet as a feature extractor, froze its convolutional layers, and trained a new classification head for the 133 breeds. Training images used random crops and horizontal flips; validation and test images used a consistent center crop.
The SageMaker tuning job compared learning rate, batch size, and number of epochs. The final training run used the best validation configuration: a learning rate of 0.000428, a batch size of 32, and three epochs.
Evaluation
80.6% test accuracy and 78.0% validation accuracy in the documented final run.
SageMaker Debugger recorded losses, while Profiler captured system metrics. An overtraining rule was triggered by variation between evaluation batches; the writeup examines that signal alongside the loss over complete epochs.
These results describe the project’s dataset and evaluation setup. They are not a guarantee of accuracy on arbitrary photos or images outside the 133 supported breeds.
Deployment
The trained model was deployed to a SageMaker endpoint that accepted JPEG input and returned a breed prediction. The project included training, hyperparameter tuning, profiling, inference, and cleanup.