MCPcopy Create free account
hub / github.com/DingLei14/WiCoNet / step

Method step

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

Source from the content-addressed store, hash-verified

73 self.lr_decay = lr_decay
74
75 def step(self):
76 for idx, p in enumerate(self.param_groups):
77 p['lr'] = self.init_lr_groups[idx] * (1 - self.curr_iter / self.max_iter) ** self.lr_decay
78
79
80# just a try, not recommend to use

Callers 3

trainFunction · 0.80
trainFunction · 0.80
trainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected