Skip to content

UB-AICLUB/Event1

Repository files navigation

Self Driving Car

In this project we have added a Neural network and some set up to play with the modules and see how neural networs work.

AI club looks forward to When You fork it to your github and improve upon it

All the basic physics and sensor logic are same as before, we have added some comments in the for more clarity.

How to use

  • upload the brain with 36000 file using (⏫) button to make the car use my trained weights and train them more by updating N>1 in main.js

  • if you like the new best car hit (💾) save and then download with (⏬) button

  • if you dont like the weights you can hit (🗑️) to delete and start from scratch or upload another set of weights

Files to play with

  • In general you can use all the files to create something new.
  • you only need to interact witht the constructors of the classes if you dont want to change any physics parameters. (read comments for more info on this)
  • the files car.js, sensor.js, road.js have classes that create those objects that interact with the world so make changes to see interesting results.
  • The main.js file is where you can try out changing traffic, number of cars and the road.
  • In the constructor of the Car class you can add more layers to the NN and create better shapes etc

This file also had car image that makes animation look better (but also makes rendering a bit slower) which is not included in other branches

check out the other branches like

  • Boilerplate -> only the car game code to use for other project ideas
  • RandomTraffic -> generate new traffic automatically to avoid overfitting

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published