Self Car
- 4 Devlogs
- 14 Total hours
This is a program that allows to train cars, so with limited perception of the track, cars would be ablo to ride it using neural learning!
This is a program that allows to train cars, so with limited perception of the track, cars would be ablo to ride it using neural learning!
Now you can save models and choose from the 14 best ones. They are saved in models folder and you can even send them to your friends (send whole folder). You can also load saved models with “L” and save with “S”, to choose between different models use arrow keys.
Now DIF_MODE - if you would turn on this option two segments on inner circle will stick out so now its harder to ride a car.
Neural network is really good now. It is a race car. Changes:
learns how to drive instead of remembering trackA lot of changes has been made - firs of all is reward system - all these dim green lines are checkpoints, for crossing them neural network get a reward.
Then of course I implementer AI itself. Now it spawn a 100 cars and chooses the best each generation.
Also cars receive a benefit when they ride each lap faster. So riding faster is also a plus.
I increased size of cars to make them a bit more realistic.
There is a video of already trained generations which shows what a generation looks like. They all disappear because I set so max amount of laps they can go is three, so new generation is created, because old one wouldnt crash.
There are a lot of thing to add still, like better physics, model saving and training for variety of tracks not only for one.
In this devlog I prepared everything to start teaching machines how to ride a car - the car was prepared for them. What has been done: