Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set lr.persistable=True in image classification #2469

Merged
merged 2 commits into from
Jun 20, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
comment fuse flag
  • Loading branch information
shippingwang committed Jun 20, 2019
commit a60d6953aeb770e3127b09a1475ce4d81fecae18
2 changes: 1 addition & 1 deletion PaddleCV/image_classification/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ def if_exist(var):
build_strategy = fluid.BuildStrategy()
build_strategy.memory_optimize = args.with_mem_opt
build_strategy.enable_inplace = args.with_inplace
build_strategy.fuse_all_reduce_ops=1
#build_strategy.fuse_all_reduce_ops=1

exec_strategy = fluid.ExecutionStrategy()
exec_strategy.num_iteration_per_drop_scope = 10
Expand Down