mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-04-27 01:39:26 +00:00
Fix log off by 1
This commit is contained in:
@@ -52,7 +52,7 @@ class LearnRateScheduler:
|
||||
self.finished = False
|
||||
|
||||
def apply(self, optimizer, step_number):
|
||||
if step_number <= self.end_step:
|
||||
if step_number < self.end_step:
|
||||
return
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user