Skip to content

Commit

Permalink
Fix conditional statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan-267 authored Dec 1, 2023
1 parent bebf23c commit 835a2e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/stable_baselines3_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def func(progress_remaining: float) -> float:


if args.resume_model_path is None:
learning_rate = 0.0003 if args.inference else linear_schedule(0.0003)
learning_rate = 0.0003 if not args.linear_lr_schedule else linear_schedule(0.0003)
model: PPO = PPO("MultiInputPolicy",
env,
ent_coef=0.0001,
Expand Down

0 comments on commit 835a2e8

Please sign in to comment.