1
0
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:
Itai Caspi
2017-12-30 15:18:09 +02:00
committed by Itai Caspi
parent b435c6d2d7
commit eeb3ec5497
4 changed files with 8 additions and 0 deletions

View File

@@ -47,6 +47,8 @@ class PolicyOptimizationAgent(Agent):
self.entropy = Signal('Entropy')
self.signals.append(self.entropy)
self.reset_game(do_not_reset_env=True)
def log_to_screen(self, phase):
# log to screen
if self.current_episode > 0: