MCPcopy Create free account
hub / github.com/AIRMEC/HECTOR / get_lr

Function get_lr

utils.py:176–178  ·  view source on GitHub ↗
(optimizer)

Source from the content-addressed store, hash-verified

174 print(f'Updating C-index at epoch {self.best_epoch_CI} -> {self.best_CI_score:.6f}')
175
176def get_lr(optimizer):
177 for param_group in optimizer.param_groups:
178 return param_group["lr"]
179
180def print_model(model):
181 print(model)

Callers 1

train_one_epochFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected