Skip to content

vanshreddy/Deep-learning-Rocket-league-bot

Repository files navigation

Deep-learning-Rocket-league-bot

A Rocket League Bot which uses data to train a Neural Network to play the Game. I am currently working on training the robot using Reinforcement learning which has been more succesfull in the past. This project is very interesting and I am planning on commiting the data visualization file I used while working.

This project is unique in the way it trains the network. The network takes into the position of the ball(X,Y,Z rotation and the axis), position of the user(X,Y,Z rotation and the axis).Previous projects have failed to account for this.

Trained using 100k data points on cloud. The following clip is a example.Scroll down to replicate the procedure.

Usage

Step 1: Download Replays

In downloadreplays.py enter your API key from https://ballchasing.com/ . Change the number of Replays to download in the variable on top. Configure the config file to download the file.

Step 2: Download the custom Carball package

I have customized the Carball package to process the replay files successfully. So paste the file in your python environment. ( Uploading soon)

Step 4: Process the data using Process Replays folder

Process the data using the newtrainingdata.py. The function is sophisticated so please modify with caution.

Step 5: Customize botnetwork.py

Modify the network based on how the data is distributed.

Step 6: Run trainnetwork.py

Run this file to train the network. Make sure you link the path to data and pre process the data using the file in Process Replays it converts replay data to JSON format

About

Rocket league bot which uses data to train a neural network.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages