trackmania-rl / tmrl

Reinforcement Learning for real-time applications - host of the TrackMania Roborace League
https://pypi.org/project/tmrl
MIT License
500 stars 68 forks source link

Wandb not working #77

Closed Jona-Walpert closed 11 months ago

Jona-Walpert commented 11 months ago

Hello, When i start my lidar training I get this message in the trainer terminal window:

"wandb: Error while calling W&B API: run tmrl/tmr/SAC_4_imgs_pretrained was previously created and deleted; try a new run name (Response [409]>) Error while calling WAB API: run tmrl/tmrl/SAC 4 imgs pretrained was previously created and deleted; try a new run name (Response [409]>)"

After 90 seconds it times out and I get back to the normal command line. The car moves but I dont know if it actually improves. It resets every 10s-13s and starts againScreenshot_20231208_105220_Clock.png

Anyone know whats the problem here?

Palamabron commented 11 months ago

Maybe just change the "RUN_NAME" value in TmrlData/config/config.json.

Jona-Walpert commented 11 months ago

Maybe just change the "RUN_NAME" value in TmrlData/config/config.json.

Think it works now. Will wait a little to see if it really works. Thanks

yannbouteiller commented 11 months ago

Maybe just change the "RUN_NAME" value in TmrlData/config/config.json.

Yup.

In 0.6.0, we will set logging to wandb as an option rather than the default behavior of the TrackMania pipeline to avoid this kind of confusion.

For OP: the "RUN_NAME" entry in config.json has already been used in the public wandb project, this is why you needed to change this entry if you want to log your training metrics to the public project. You can also set your own project and wandb credentials in your config.json file if you wish to log your training metrics privately.

(Closing the issue, feel free to use the Discussions section for any questions)