- Clone the project
- Navigate into the folder and do
pip install -e tmrl-drive
-
Download the Config for LIDAR from here - https://drive.google.com/drive/u/0/folders/13rOxPTLcmqcZmrx9iUgpOW2UQQJJtYDb
-
Use the TMRL track editor to create your desired track.
-
Next, use
python -m tmrl --record-reward
to generated the reward file. This step tracks the global points that you travel in the track, and helps the model penalize itself if it doesnt reach all the points. -
Run these 3 commands in each terminal
python -m tmrl --server
python -m tmrl --train
python -m tmrl --worker
The
server
is responsible for consolidating model weights, and passing it to the trainer, whiletrainer
is responsible for actually training it.worker
is responsible for interacting with the game.
Training will take anywhere between 1-3 days on RTX 3070.
- Download the Config for LIDAR from above,
- Paste the weights found in the folder in your home/weights folder.
- Run
python -m tmrl --test