Skip to content

Commit

Permalink
Decrease evaluation steps in BC
Browse files Browse the repository at this point in the history
  • Loading branch information
krzentner authored and mergify-bot committed Oct 16, 2020
1 parent 6da4d52 commit 1485dc8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/garage/torch/algos/bc.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ def train(self, trainer):
if self._eval_env is not None:
log_performance(epoch,
obtain_evaluation_episodes(
self.learner, self._eval_env),
self.learner, self._eval_env,
num_eps=10),
discount=1.0)
losses = self._train_once(trainer, epoch)
with tabular.prefix(self._name + '/'):
Expand Down

0 comments on commit 1485dc8

Please sign in to comment.