mirror of
https://github.com/gryf/coach.git
synced 2025-12-17 19:20:19 +01:00
bug fixes for OPE (#311)
This commit is contained in:
@@ -697,7 +697,7 @@ class Agent(AgentInterface):
|
||||
|
||||
# we either go sequentially through the entire replay buffer in the batch RL mode,
|
||||
# or sample randomly for the basic RL case.
|
||||
training_schedule = self.call_memory('get_shuffled_data_generator', batch_size) if \
|
||||
training_schedule = self.call_memory('get_shuffled_training_data_generator', batch_size) if \
|
||||
self.ap.is_batch_rl_training else [self.call_memory('sample', batch_size) for _ in
|
||||
range(self.ap.algorithm.num_consecutive_training_steps)]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user