Skip to content

Commit

Permalink
add back memory_optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquesqiao committed Mar 28, 2018
1 parent 70f13e7 commit 61ee82e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fluid/SE-ResNeXt-152/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def train():
regularization=fluid.regularizer.L2Decay(1e-4))
opts = optimizer.minimize(avg_cost)

# fluid.memory_optimize(fluid.default_main_program())
fluid.memory_optimize(fluid.default_main_program())

place = fluid.CUDAPlace(0)
# place = fluid.CPUPlace()
Expand Down

0 comments on commit 61ee82e

Please sign in to comment.