This project is part of the assessment in Udacity's AWS Machine Learning Engineer Fundamentals Nanodegree Program.
In this project, AWS SageMaker is used to build an image classification model distinguishing bicycles from motorcycles. The model is deployed on an endpoint, and AWS Lambda functions support preprocessing and postprocessing. The entire workflow is orchestrated using AWS Step Functions for event-driven automation.
-
Data Staging
Prepare and organize the image data for training and validation. -
Model Training and Deployment
Train the image classification model on SageMaker and deploy it as an endpoint. -
Lambdas and Step Function Workflow
Create AWS Lambda functions for preprocessing, invoking the model, and postprocessing. Integrate these with AWS Step Functions to automate the workflow. -
Testing and Evaluation
Test the deployed workflow and evaluate the model's performance. -
Optional Challenge
(Extended or advanced tasks, if any.) -
Cleanup Cloud Resources
Remove all AWS resources to avoid unnecessary charges.
-
Execution Flow of the Step Function:
The state machine orchestrates the sequence of Lambda functions and model inference, handling both successful and unsuccessful inference outcomes. -
Step Function Graphs:
- Graph when inference threshold is met:
The workflow proceeds to success and postprocessing steps. - Graph when inference threshold is not met:
The workflow branches to handle cases where the model's confidence is insufficient.
- Graph when inference threshold is met:
