You are browsing as a guest. Sign up (or log in) to start making projects!

Self Driving Car Simulation

  • 1 Devlogs
  • 9 Total hours

Training a car with Neural Network & Deep Learning

Ship #1 Changes requested

I made a self driving car simulation, for learning SARS algo of reinforcement learning. The model is trained and stored locally and dashboard and stats in Streamlit. This is made from scratch. Challenge were ideating and picking one solution switched from DQN vs SARS to SARS only, the control GUI option werent working, the code was ambiguious alll that thing had to be resolved,

I learnt how to make project using Ai and human code mix, that is a great mix to look for, the architecture documentation and researching was a great win.

  • 1 devlog
  • 9h
Try project → See source code →
Open comments for this post

8h 40m 36s logged

Ideation & Initial Code Generation - What began just as school project, didnt thought to be too harsh, even using Ai to assist.
I had this idea to build Self driving car simulation, in which I researched and found we can use reinforcement algoritmns and chose Streamlit for Frotend, then finalised the plan

Tech Stack : - Python
I used Gymnassium - Highway env for Highway Environment, SAARS and DQN for learning and training model. The model is trained using State - Action - Reward system, with control of location thrust, speed lane and more.

There was no novelty just to write it, then I chose streamlit for the visualization of training but turned out to be my biggest mistake, started scaffolding the project, building helper function and script for training, start datbase and Q learning table.

Everything was good, then streamlit code for frontend the challenge I faced was, errors and not able to control environment and controls.

then shifted to native python shell, and optimized gui controls, code shortening, documentations for quick start, control and journals. These are the major parts I did. Almost had 40 + commits unlimited brain storming, decision making still model needs improvement, but I think its NERDEST.

What started as simple prompt journey taught several things, git merge conflicts to logical headache what to do now, at the end everything works fine button everything working and code is structured without AI slop.

If you are reading till now, leave a feedback for me to improve, I know its just a start but small steps count. Whoever is reading this, GOD BLESS YOU.

0
0
10

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…