enable the log of gradient clipping in training

pull/2/head
Yibing Liu 7 years ago
parent 2c63f3413f
commit 3f608b3b81

@ -118,7 +118,9 @@ def train():
def main():
print_arguments(args)
paddle.init(use_gpu=args.use_gpu, trainer_count=args.trainer_count)
paddle.init(use_gpu=args.use_gpu,
trainer_count=args.trainer_count,
log_clipping=True)
train()

Loading…
Cancel
Save