(self)
| 78 | return decayed_lr |
| 79 | |
| 80 | def cosine_decay(self): |
| 81 | decayed_lr = fluid.layers.cosine_decay( |
| 82 | cfg.SOLVER.LR, self.step_per_epoch, self.decay_epochs) |
| 83 | return decayed_lr |
| 84 | |
| 85 | def get_lr(self, lr_policy): |
| 86 | if lr_policy.lower() == 'poly': |
no outgoing calls
no test coverage detected