Skip to content

Commit

Permalink
Fix logging with multiple seeds (#142)
Browse files Browse the repository at this point in the history
fix the issue brought up by #106
  • Loading branch information
snasiriany authored Sep 10, 2021
1 parent 6a13e1b commit e15a945
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rlkit/core/batch_rl_algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def __init__(
self.num_train_loops_per_epoch = num_train_loops_per_epoch
self.num_expl_steps_per_train_loop = num_expl_steps_per_train_loop
self.min_num_steps_before_training = min_num_steps_before_training
gt.reset_root()

def _train(self):
if self.min_num_steps_before_training > 0:
Expand Down

0 comments on commit e15a945

Please sign in to comment.