disable LR plot to suppress warning message
This commit is contained in:
parent
24c5a941f0
commit
72d5b58b9a
2
train.py
2
train.py
|
|
@ -108,7 +108,7 @@ def train(hyp):
|
|||
# Scheduler https://arxiv.org/pdf/1812.01187.pdf
|
||||
lf = lambda x: (((1 + math.cos(x * math.pi / epochs)) / 2) ** 1.0) * 0.9 + 0.1 # cosine
|
||||
scheduler = lr_scheduler.LambdaLR(optimizer, lr_lambda=lf)
|
||||
plot_lr_scheduler(optimizer, scheduler, epochs, save_dir=log_dir)
|
||||
# plot_lr_scheduler(optimizer, scheduler, epochs, save_dir=log_dir)
|
||||
|
||||
# Load Model
|
||||
google_utils.attempt_download(weights)
|
||||
|
|
|
|||
Loading…
Reference in New Issue