We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Here
pytorch-gradual-warmup-lr/warmup_scheduler/scheduler.py
Line 44 in 6b5e895
if self.multiplier == 1.0: warmup_lr = [base_lr * (float(self.last_epoch) / self.total_epoch) for base_lr in self.base_lrs] else: warmup_lr = [base_lr * ((self.multiplier - 1.) * self.last_epoch / self.total_epoch + 1.) for base_lr in self.base_lrs]
Otherwise the calculation will always be:
warmup_lr = [base_lr * ((self.multiplier - 1.) * self.last_epoch / self.total_epoch + 1.) for base_lr in self.base_lrs] # <=> warmup_lr = [base_lr * (0 * self.last_epoch / self.total_epoch + 1.) for base_lr in self.base_lrs] # <=> warmup_lr = [base_lr * (1.) for base_lr in self.base_lrs] # <=> warmup_lr = [base_lr for base_lr in self.base_lrs] # <=> warmup_lr = self.base_lrs
The text was updated successfully, but these errors were encountered:
warmup_lr
step_ReduceLROnPlateau
fix ildoonet#18 (warmlr for multiplier=1)
565aae0
good, it works
Sorry, something went wrong.
No branches or pull requests
Here
pytorch-gradual-warmup-lr/warmup_scheduler/scheduler.py
Line 44 in 6b5e895
Otherwise the calculation will always be:
The text was updated successfully, but these errors were encountered: