Merge pull request #13382 from typhoonzero/fix_fluid_benchmark_resnet_lr

fix fluid_benchmark resnet lr decay
fix-develop-build.sh
Wu Yi 7 years ago committed by GitHub
commit 83035e9d53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -207,7 +207,7 @@ def get_model(args, is_train, main_prog, startup_prog):
total_images = 1281167 / trainer_count
step = int(total_images / args.batch_size + 1)
step = int(total_images / (args.batch_size * args.gpus) + 1)
epochs = [30, 60, 90]
bd = [step * e for e in epochs]
base_lr = args.learning_rate

Loading…
Cancel
Save