Skip to content

Commit

Permalink
Update sb3_imitation.py - fix quality
Browse files Browse the repository at this point in the history
Fix quality.
  • Loading branch information
Ivan-267 authored Jul 11, 2024
1 parent 9cd545c commit c343cb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/sb3_imitation.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def close_env():
policy_kwargs=policy_kwargs,
verbose=2,
tensorboard_log=f"logs/{args.experiment_name}",
device="cpu"
device="cpu",
# seed=args.seed // Not currently supported as stable_baselines_wrapper.py seed() method is not yet implemented.
)

Expand All @@ -191,7 +191,7 @@ def close_env():
rng=rng,
policy=learner.policy,
custom_logger=logger,
device="cpu"
device="cpu",
)
print("Starting Imitation Learning Training using BC:")
bc_trainer.train(n_epochs=args.bc_epochs)
Expand Down

0 comments on commit c343cb6

Please sign in to comment.