Updated agent loading for single-agent loading of model

This commit is contained in:
Vasilis Valatsos 2023-11-25 00:28:16 +01:00
parent 0bdcc8ca6f
commit ef9b9bc664

View file

@ -169,7 +169,7 @@ class Player(pygame.sprite.Sprite):
try: try:
self.agent.load_models( 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") print("Models loaded ...\n")
except FileNotFoundError: except FileNotFoundError: