Skip to content

Commit

Permalink
Update param_scheduler.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vfdev-5 committed Jun 28, 2023
1 parent dc22b99 commit bfdfa50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ignite/handlers/param_scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -1520,7 +1520,7 @@ class ReduceLROnPlateauScheduler(ParamScheduler):
scheduler = ReduceLROnPlateauScheduler(
default_optimizer,
metric_name="metric-name", mode="max",
metric_name="accuracy", mode="max",
factor=0.5, patience=1, threshold_mode='abs',
threshold=1, trainer=trainer
)
Expand Down

0 comments on commit bfdfa50

Please sign in to comment.