We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fa8969 commit 3edf518Copy full SHA for 3edf518
src/imitation/algorithms/adversarial/common.py
@@ -499,14 +499,13 @@ def train_gen_with_disc(
499
if learn_kwargs is None:
500
learn_kwargs = {}
501
502
- with self.logger.accumulate_means("gen"):
503
- self.gen_algo.learn(
504
- total_timesteps=total_timesteps,
505
- reset_num_timesteps=False,
506
- callback=self.gen_callback,
507
- **learn_kwargs,
508
- )
509
- self._global_step += 1
+ self.gen_algo.learn(
+ total_timesteps=total_timesteps,
+ reset_num_timesteps=False,
+ callback=self.gen_callback,
+ **learn_kwargs,
+ )
+ self._global_step += 1
510
511
gen_trajs, ep_lens = self.venv_buffering.pop_trajectories()
512
self._check_fixed_horizon(ep_lens)
0 commit comments