MCPcopy Create free account
hub / github.com/NVIDIA/semantic-segmentation / poly_schd

Function poly_schd

loss/optimizer.py:67–68  ·  view source on GitHub ↗
(epoch)

Source from the content-addressed store, hash-verified

65 raise ValueError('Not a valid optimizer')
66
67 def poly_schd(epoch):
68 return math.pow(1 - epoch / args.max_epoch, args.poly_exp)
69
70 def poly2_schd(epoch):
71 if epoch < args.poly_step:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected