MCPcopy Create free account
hub / github.com/OpenMeshLab/MeshXL / adjust_learning_rate

Function adjust_learning_rate

engine.py:24–28  ·  view source on GitHub ↗
(args, optimizer, curr_iter, max_iters)

Source from the content-addressed store, hash-verified

22
23
24def adjust_learning_rate(args, optimizer, curr_iter, max_iters):
25 curr_lr = compute_learning_rate(args, curr_iter, max_iters)
26 for param_group in optimizer.param_groups:
27 param_group["lr"] = curr_lr
28 return curr_lr
29
30
31

Callers 1

do_trainFunction · 0.85

Calls 1

compute_learning_rateFunction · 0.85

Tested by

no test coverage detected