From ef9b9bc6647837a7c5a27e1846e1f51b2be2226a Mon Sep 17 00:00:00 2001 From: Vasilis Valatsos Date: Sat, 25 Nov 2023 00:28:16 +0100 Subject: [PATCH] Updated agent loading for single-agent loading of model --- entities/player.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entities/player.py b/entities/player.py index a9d601c..3fc0360 100644 --- a/entities/player.py +++ b/entities/player.py @@ -169,7 +169,7 @@ class Player(pygame.sprite.Sprite): try: self.agent.load_models( - actr_chkpt=f"player_{self.player_id}_actor", crtc_chkpt=f"player_{self.player_id}_critic") + actr_chkpt=f"player_actor", crtc_chkpt=f"player_critic") print("Models loaded ...\n") except FileNotFoundError: