https://github.com/haimanm3/aws-deepracer-autonomous-racing-model
Developed an AWS DeepRacer model using Python & the PPO algorithm, leveraging TensorFlow to train & fine-tune a deep reinforcement learning model. Designed a custom reward function & optimized hyperparameters to improve policy learning & navigation performance. Utilized AWS infrastructure for scalable training & deployment.
https://github.com/haimanm3/aws-deepracer-autonomous-racing-model
aws-infrastructure deep-learning deployment hyperparameter-tuning machine-learning ppo-algorithm python scalable tensorflow training
Last synced: 3 months ago
JSON representation
Developed an AWS DeepRacer model using Python & the PPO algorithm, leveraging TensorFlow to train & fine-tune a deep reinforcement learning model. Designed a custom reward function & optimized hyperparameters to improve policy learning & navigation performance. Utilized AWS infrastructure for scalable training & deployment.
- Host: GitHub
- URL: https://github.com/haimanm3/aws-deepracer-autonomous-racing-model
- Owner: haimanm3
- Created: 2025-03-19T20:34:35.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-03-28T09:55:22.000Z (3 months ago)
- Last Synced: 2025-03-28T10:47:48.448Z (3 months ago)
- Topics: aws-infrastructure, deep-learning, deployment, hyperparameter-tuning, machine-learning, ppo-algorithm, python, scalable, tensorflow, training
- Homepage:
- Size: 21.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🏎️ AWS DeepRacer Autonomous Racing Model
Developed an AWS DeepRacer model using Python and the Proximal Policy Optimization (PPO) algorithm, leveraging TensorFlow to train and fine-tune a deep reinforcement learning model. Designed a custom reward function and optimized hyperparameters to improve policy learning and navigation performance. Utilized AWS infrastructure for scalable training and deployment.
---



---
## 🚀 Features
- **Custom Reward Function** – Designed to incentivize optimal racing strategies and improve lap times.
- **Hyperparameter Optimization** – Fine-tuned parameters to enhance model convergence and performance.
- **AWS Integration** – Leveraged AWS services for scalable training and deployment of the reinforcement learning model.
- **Simulation and Real-World Deployment** – Trained in a simulated environment with deployment capabilities to the AWS DeepRacer car for real-world testing.---
## 🛠️ Technologies Used
| Component | Technology |
|--------------------------|-------------------------------------------------|
| Programming Language | Python |
| Machine Learning Library | TensorFlow |
| Algorithm | Proximal Policy Optimization (PPO) |
| Cloud Services | AWS SageMaker, AWS RoboMaker, Amazon S3 |
| Deployment | AWS DeepRacer Console |---
## ▶️ How to Use
### Prerequisites
- **AWS Account** – Access to AWS services such as SageMaker, RoboMaker, and the DeepRacer console.
- **AWS DeepRacer Vehicle** – Optional, for deploying and testing the model in a physical environment.### Training the Model
1. **Access AWS DeepRacer Console**: Navigate to the AWS DeepRacer console to create and manage your models.
2. **Define the Reward Function**: Utilize the custom reward function provided in the `notebooks/aws_deepracer_part_2.ipynb` notebook to guide the agent's learning process.
3. **Configure Hyperparameters**: Set the hyperparameters as detailed in the notebook to optimize training performance.
4. **Initiate Training**: Start the training job in the AWS DeepRacer console, monitoring progress and performance metrics.
### Evaluating and Deploying the Model
1. **Evaluate Performance**: After training, assess the model's performance within the simulated environment provided by AWS RoboMaker.
2. **Download the Model**: Once satisfied with the performance, download the trained model files.
3. **Deploy to AWS DeepRacer Vehicle**: Upload the model to the physical AWS DeepRacer car for real-world testing and validation.
---
## 🎥 Demo
[](aws%20deepracer%20part%202/aws%20deepracer%20part%202.mp4)
> Click the image above to watch a short demonstration of the AWS DeepRacer model navigating the track.
## 🙌 Acknowledgments
- **AWS DeepRacer Community** – For resources and support in developing and refining reinforcement learning models.
- **OpenAI** – For advancements in reinforcement learning algorithms, including the development of PPO.
- **TensorFlow** – For providing a robust platform for implementing and training deep learning models.
- **AWS Educate Program** – For access to cloud resources and services that facilitated the development of this project.