Skip to content

Commit

Permalink
Merge pull request #6 from Superjomn/kolinwei-patch-1
Browse files Browse the repository at this point in the history
update transformer model train
  • Loading branch information
kolinwei committed May 4, 2018
2 parents 8b2a70e + 548c67e commit 2aca4bd
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 2aca4bd

Please sign in to comment.