You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Multiple players means multiple processes, so the only way i know is leave game and re-join the game is through controllers, but it will costs 3-4 seconds, which is too slow for reinforcement learning training.
The reset function code are as follows:
def _restart(self): if (len(self._players) == 1 and len(self._players[0].race) == 1 and len(self._maps) == 1): # Need to support restart for fast-restart of mini-games. self._controllers[0].restart() else: if len(self._controllers) > 1: self._parallel.run(c.leave for c in self._controllers) self._create_join()
How to quickly restart? Anybody knows?
The text was updated successfully, but these errors were encountered:
Multiple players means multiple processes, so the only way i know is leave game and re-join the game is through controllers, but it will costs 3-4 seconds, which is too slow for reinforcement learning training.
The reset function code are as follows:
def _restart(self): if (len(self._players) == 1 and len(self._players[0].race) == 1 and len(self._maps) == 1): # Need to support restart for fast-restart of mini-games. self._controllers[0].restart() else: if len(self._controllers) > 1: self._parallel.run(c.leave for c in self._controllers) self._create_join()
How to quickly restart? Anybody knows?
The text was updated successfully, but these errors were encountered: