- 📖 Table of Contents
- 📍 Overview
- 📦 Features
- 📂 Repository Structure
- ⚙️ Modules
- 🚀 Getting Started
- 🛣 Roadmap
- 🤝 Contributing
- 📄 License
- 👏 Acknowledgments
The roadmap delineated encompasses the structured progression of a machine learning project executed on AWS SageMaker. The journey begins with setting up the SageMaker environment and spans to deploying a machine learning model. The tasks cover a spectrum of essential steps, including data preparation, model creation, script finalization, training, validation, and deployment, showcasing a systematic approach to machine learning projects.
└── Pre_trainmodel_image_analysis/
├── README.md
└── Tensorflow Model in AWS.ipynb
└── Tensorflow Model in AWS.html
└── train.py└── Deploy a Sentiment Analsyis Model/
├── README.md
└── sagemaker project.ipynb
└── index.html
└── predict.py
└── report.html
└── train.pyProject Structure Prepare custom script for Amazon Sagemaker, Train a pytorch an tenserflow model using Amazon Sagemaker, Deploy a pytorch tenserflow model using Amazon Sagemaker.
| File | Summary |
|---|---|
| [Sentiment Analsyis Model](https://github.com/QsingularityAi/AWS-Project/blob/main/sagemaker project.ipynb) | HTTPStatus Exception: 401 |
| File | Summary |
|---|---|
| [Pre_trainmodel_image_analysis]((https://github.com/QsingularityAi/AWS-Project/blob/main/Tensorflow Model in AWS.ipynb) | HTTPStatus Exception: 401 |
Dependencies
Please ensure you have the following dependencies installed on your system:
- ℹ️ pytorch
- ℹ️ numpy
- ℹ️ pandas
- ℹ️ sagemaker
- Clone the AWS-Project repository:
git clone https://github.com/QsingularityAi/AWS-Project- Change to the project directory:
cd AWS-Project- Install the dependencies:
pip install -r requirements.txtjupyter nbconvert --execute notebook.ipynbpytest notebook_test.pyThe hands on project on Using TensorFlow with Amazon Sagemaker is divided into following tasks:
ℹ️ Task 1: Introduction and Notebook Instance: Create a Notebook instance in Sagemaker.ℹ️ Task 2: Task 1: Download the Data: Upload a starter notebook to the Sagemaker Notebook instance,.ℹ️ Task 3: Task 1: Prepare the Dataset:Create Training and Validation sets.ℹ️ Task 4: Create the Model: Create a custom training script.ℹ️ Task 5: Data Generators: In the custom training script, write a function to create data generators for training and validation sets.ℹ️ Task 6: Arguments: Write argument parser to parse the arguments sent by Sagemaker to the custom script.ℹ️ Task 7: Finalizing the Training Script: Create a model instance, Instantiate training and validation generators,Train the model,Export the trained model,ℹ️ Task 8: Upload Dataset to S3: The dataset prepared in Task 3 is uploaded to S3.ℹ️ Task 9: pytorch Estimator: Create a pytorch anf tensorflow Estimator, Specify the entry point, execution role and other necessary arguments, Using the fit method on the Estimator to launch the training job,ℹ️ Task 10: Deploy the Model: Deploy the trained model artifact using the Estimator.ℹ️ Task 11: Inference and Deleting Endpoint: Write a function to preprocess input and get predictions from the deployed model, Deleting the deployed model endpoint.
Contributions are always welcome! Please follow these steps:
- Fork the project repository. This creates a copy of the project on your account that you can modify without affecting the original project.
- Clone the forked repository to your local machine using a Git client like Git or GitHub Desktop.
- Create a new branch with a descriptive name (e.g.,
new-feature-branchorbugfix-issue-123).
git checkout -b new-feature-branch- Make changes to the project's codebase.
- Commit your changes to your local branch with a clear commit message that explains the changes you've made.
git commit -m 'Implemented new feature.'- Push your changes to your forked repository on GitHub using the following command
git push origin new-feature-branch- Create a new pull request to the original project repository. In the pull request, describe the changes you've made and why they're necessary. The project maintainers will review your changes and provide feedback or merge them into the main branch.
This project is licensed under the ℹ️ LICENSE-TYPE License. See the LICENSE-Type file for additional info.
- ℹ️ List any resources, contributors, inspiration, etc.