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

fix mobilenet model time print #4867

Merged
merged 1 commit into from
Sep 22, 2020

Conversation

luotao1
Copy link
Contributor

@luotao1 luotao1 commented Sep 22, 2020

根据近期共识的,新的性能统计规范修改了mobilenet model:

  1. batch_time = reader time + exe.run time
  2. 求log_interval步的平均时间

本模型有四个时间,batch_cost,net_time,backward_time,reader_time,这四个时间的计算都是正确的,只是没有取平均。因此,本PR对这四个时间再求log_interval步的平均

Copy link
Contributor

@wanghuancoder wanghuancoder left a comment

Choose a reason for hiding this comment

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

LGTM

@luotao1 luotao1 merged commit e07327e into PaddlePaddle:develop Sep 22, 2020
@luotao1 luotao1 deleted the mobilenet_benchmark branch September 22, 2020 12:37
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.

None yet

3 participants