mirror of
https://github.com/gryf/coach.git
synced 2025-12-17 19:20:19 +01:00
integration test changes to reach the train part (#254)
* integration test changes to override heatup to 1000 steps + run each preset for 30 sec (to make sure we reach the train part) * fixes to failing presets uncovered with this change + changes in the golden testing to properly test BatchRL * fix for rainbow dqn * fix to gym_environment (due to a change in Gym 0.12.1) + fix for rainbow DQN + some bug-fix in utils.squeeze_list * fix for NEC agent
This commit is contained in:
@@ -162,7 +162,7 @@ class NECAgent(ValueOptimizationAgent):
|
||||
embedding = self.networks['main'].online_network.predict(
|
||||
self.prepare_batch_for_inference(self.curr_state, 'main'),
|
||||
outputs=self.networks['main'].online_network.state_embedding)
|
||||
self.current_episode_state_embeddings.append(embedding)
|
||||
self.current_episode_state_embeddings.append(embedding.squeeze())
|
||||
|
||||
return super().act()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user