Skip to content

Commit

Permalink
update transformer model train
Browse files Browse the repository at this point in the history
update ParallelExecutor params
  • Loading branch information
kolinwei committed May 4, 2018
1 parent 8b2a70e commit 548c67e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transformer/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def test(exe):
train_exe = fluid.ParallelExecutor(
use_cuda=TrainTaskConfig.use_gpu,
loss_name=sum_cost.name,
customize_loss_grad=True)
use_default_grad_scale=False)

test_exe = fluid.ParallelExecutor(
use_cuda=TrainTaskConfig.use_gpu,
Expand Down

0 comments on commit 548c67e

Please sign in to comment.