mirror of
https://github.com/gryf/coach.git
synced 2025-12-17 11:10:20 +01:00
fixed the LSTM middleware initialization
This commit is contained in:
@@ -45,6 +45,8 @@ class PPOAgent(ActorCriticAgent):
|
||||
self.unclipped_grads = Signal('Grads (unclipped)')
|
||||
self.signals.append(self.unclipped_grads)
|
||||
|
||||
self.reset_game(do_not_reset_env=True)
|
||||
|
||||
def fill_advantages(self, batch):
|
||||
current_states, next_states, actions, rewards, game_overs, total_return = self.extract_batch(batch)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user