MCPcopy Create free account
hub / github.com/SLDGroup/EMCAD / step

Method step

utils/misc.py:110–112  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

108 self.lr_decay = lr_decay
109
110 def step(self):
111 for idx, p in enumerate(self.param_groups):
112 p['lr'] = self.init_lr_groups[idx] * (1 - self.curr_iter / self.max_iter) ** self.lr_decay
113
114
115# just a try, not recommend to use

Callers 3

trainFunction · 0.80
train_polyp.pyFile · 0.80
trainer_synapseFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected