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

Can't record replay #109

Closed LWY2012 closed 4 months ago

LWY2012 commented 4 months ago

When I try to turn "interface_kwargs": {"save_replays": false} in config.json to true,the worker doesn't control car and throw out [WinError 10061].

My OpenPlanet version is 1.26.25 My tmrl version is 0.6.0

Thanks!

BlackPeonyFish commented 4 months ago

Oh my god, your error is also: "ConnectionRefusedError: [WinError 10061] No connection could be made because the target computer actively refused it."? I tried to record yesterday and tried to upload the training results to weights and bias, and this problem occurred. Every time I ran it, the computer would only run one training run and then jump out of error 10061. I think it might be because my computer GPU is not powerful enough, so I considered using the school's high-computing laboratory, but these are just my guesses.

yannbouteiller commented 4 months ago

Hello,

Sorry about that, this is because we still need to get the new plugin for replay recording signed by OpenPlanet. At the moment it is only available to club members, who can activate it by enabling the developper mode in the OpenPlanet menu.

This plugin is using deprecated calls at the moment. I'll update it and ask OpenPlanet to sign it shortly.

LWY2012 commented 4 months ago

thank you very much!

yannbouteiller commented 4 months ago

Submitted a new version to OpenPlanet, this should get signed soon, please hold on :)

LWY2012 commented 4 months ago

How long about?

yannbouteiller commented 4 months ago

This is fixed.

Just delete/rename TmrlData, execute python -m tmrl --install, and you should be good :)