diff --git a/tools/train.py b/tools/train.py index 83a9196ab2e7b7e3151abada9eddd3bce2c9e8d6..716b7b8a62b1f43199e98580aacdce9991fe6255 100755 --- a/tools/train.py +++ b/tools/train.py @@ -172,7 +172,6 @@ def run(FLAGS, cfg, place): model.apply_collective_grads() else: loss.backward() - optimizer.minimize(loss) optimizer.step() curr_lr = optimizer.get_lr() lr.step()