Fixed error

This commit is contained in:
Vasilis Valatsos 2023-12-02 18:58:24 +01:00
parent bebc660060
commit 7ca5063592

View file

@ -63,9 +63,10 @@ class Player(pygame.sprite.Sprite):
no_load=False):
self.get_current_state()
self.num_features ==
self.num_features = len(self.state_features)
self.agent = Agent(
input_dims=len(self.state_features),
input_dims=self.num_features,
n_actions=len(self._input.possible_actions),
gamma=gamma,
alpha=alpha,