trackmania-rl/tmrl

Change MAP for incremental learning

Closed this issue · 3 comments

Hi!

In the scope of a school project, alongside with my team we woud like to use your library to create an AI that drives in TrackMania. We were wondering if it was possible to change the map on which the AI is driving. In fact, we managed to get it run on different map, although it keeps reseting after a couple of second.

Therefore, is there a way to setup new maps for training/testing? If yes, where should we look at?

Thanks!

Hi Thomas, sure there is a way of doing so ;)

Just follow the instructions in the Getting started guide here.

(Closing as this is not an issue, please use discussions for this type of questions)

(The reason why it restarts on other maps is because you have not built a reward function for these maps, thus the rtgym environment believes your car is running loose away from the track)

Thank you for your reply and your instructions. This is much clearer!