- 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-rewardto 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 --serverpython -m tmrl --trainpython -m tmrl --worker
The
serveris responsible for consolidating model weights, and passing it to the trainer, whiletraineris responsible for actually training it.workeris 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