Skip to content

Conversation

@qingqing01
Copy link
Collaborator

No description provided.


train_exe = fluid.ParallelExecutor(
use_cuda=args.use_gpu, loss_name=loss.name)
if args.parallel:
Copy link
Contributor

@wanghaoshuang wanghaoshuang Apr 23, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可以在判断之前让 train_exe = exe, 然后可以简化下line283~line289
抱歉看错了。

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ParalleExe和Executor的run接口不同,Executor多了program。这样还是不太行~

Copy link
Contributor

@wanghaoshuang wanghaoshuang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@qingqing01 qingqing01 merged commit 5d1dc2f into PaddlePaddle:develop Apr 23, 2018
@qingqing01 qingqing01 deleted the ssd_single_exe branch January 28, 2019 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants