mirror of
https://github.com/gryf/coach.git
synced 2025-12-17 19:20:19 +01:00
fixed the LSTM middleware initialization
This commit is contained in:
@@ -37,6 +37,8 @@ class DDPGAgent(ActorCriticAgent):
|
||||
self.q_values = Signal("Q")
|
||||
self.signals.append(self.q_values)
|
||||
|
||||
self.reset_game(do_not_reset_env=True)
|
||||
|
||||
def learn_from_batch(self, batch):
|
||||
current_states, next_states, actions, rewards, game_overs, _ = self.extract_batch(batch)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user