keris2020 / hackathon

10 stars 7 forks source link

Learning Rate Scheduler 수정 오류 질문 #81

Open PopoGonry opened 4 years ago

PopoGonry commented 4 years ago

scheduler = ReduceLROnPlateau(optimizer, mode='min', factor=0.1, patience=10, threshold=0.0001, threshold_mode='rel', cooldown=0, min_lr=0, eps=1e-08, verbose=False)

이렇게 수정했는데

Traceback (most recent call last): File "main.py", line 216, in scheduler.step() TypeError: step() missing 1 required positional argument: 'metrics'

이런식으로 오류가 나는데 어떤식으로 해결해야 될까요...??